- Mar 12, 2009
-
-
Owen Anderson authored
llvm-svn: 66780
-
Chris Lattner authored
related transformations out of target-specific dag combine into the ARM backend. These were added by Evan in r37685 with no testcases and only seems to help ARM (e.g. test/CodeGen/ARM/select_xform.ll). Add some simple X86-specific (for now) DAG combines that turn things like cond ? 8 : 0 -> (zext(cond) << 3). This happens frequently with the recently added cp constant select optimization, but is a very general xform. For example, we now compile the second example in const-select.ll to: _test: movsd LCPI2_0, %xmm0 ucomisd 8(%esp), %xmm0 seta %al movzbl %al, %eax movl 4(%esp), %ecx movsbl (%ecx,%eax,4), %eax ret instead of: _test: movl 4(%esp), %eax leal 4(%eax), %ecx movsd LCPI2_0, %xmm0 ucomisd 8(%esp), %xmm0 cmovbe %eax, %ecx movsbl (%ecx), %eax ret This passes multisource and dejagnu. llvm-svn: 66779
-
Chris Lattner authored
llvm-svn: 66778
-
Evan Cheng authored
Enable Chris' value propagation change. It make available known sign, zero, one bits information for values that are live out of basic blocks. The goal is to eliminate unnecessary sext, zext, truncate of values that are live-in to blocks. This does not handle PHI nodes yet. llvm-svn: 66777
-
Evan Cheng authored
On x86, if the only use of a i64 load is a i64 store, generate a pair of double load and store instead. llvm-svn: 66776
-
Chris Lattner authored
llvm-svn: 66775
-
Daniel Dunbar authored
llvm-svn: 66774
-
Chris Lattner authored
llvm-svn: 66773
-
Daniel Dunbar authored
llvm-svn: 66772
-
Bill Wendling authored
llvm-svn: 66770
-
Daniel Dunbar authored
understands. llvm-svn: 66769
-
Zhongxing Xu authored
llvm-svn: 66768
-
Daniel Dunbar authored
- Use OPT_ prefix for ids. - Reference groups and aliases by shortend id (on the theory that this is more readable). - Rename the special option ids to more protected names. llvm-svn: 66767
-
Nick Lewycky authored
llvm-svn: 66766
-
Nick Lewycky authored
Remove the explicit if OS = Darwin test around the setting of -m32/-m64. llvm-svn: 66765
-
Daniel Dunbar authored
-fblocks, and there were some duplicate options scattered in. llvm-svn: 66764
-
Sanjiv Gupta authored
llvm-svn: 66763
-
Daniel Dunbar authored
- Mike, please verify. llvm-svn: 66762
-
Sanjiv Gupta authored
Banksel optimization is now based on the section names of symbols, since the symbols in one section will always be put into one bank. llvm-svn: 66761
-
Zhongxing Xu authored
llvm-svn: 66760
-
Daniel Dunbar authored
llvm-svn: 66759
-
Daniel Dunbar authored
argument matching some Option::ID. llvm-svn: 66758
-
Daniel Dunbar authored
identifier; we will want to use the latter in situations where we just want to check for a match, but not load options unnecessarily. llvm-svn: 66757
-
Daniel Dunbar authored
(will be used to emit "command line argument unused" diagnostics). llvm-svn: 66756
-
Dale Johannesen authored
llvm-svn: 66751
-
Daniel Dunbar authored
llvm-svn: 66750
-
Dale Johannesen authored
from a switch table. Multiple table entries that branch to the same place were being sorted by the pointer value of the ConstantInt*; changed to sort by the actual value of the ConstantInt. llvm-svn: 66749
-
Evan Cheng authored
llvm-svn: 66746
-
Douglas Gregor authored
llvm-svn: 66742
-
Douglas Gregor authored
should fix the largest problem in <rdar://problem/6669847>. llvm-svn: 66741
-
Douglas Gregor authored
class members to the corresponding in-class declaration. Diagnose the erroneous use of 'static' on out-of-line definitions of class members. llvm-svn: 66740
-
Ted Kremenek authored
llvm-svn: 66739
-
Chris Lattner authored
llvm-svn: 66738
-
Daniel Dunbar authored
clang as the preprocessor even when it should. llvm-svn: 66737
-
Gabor Greif authored
llvm-svn: 66736
-
Dan Gohman authored
assembly text output uses an indirect call ("call *") instead of a direct call. llvm-svn: 66735
-
Douglas Gregor authored
Move most of the checking from ActOnCXXMemberDeclarator to other, more general routines. This is a step toward separating the checking logic from Declarators, which in turn is required for template instantiation. llvm-svn: 66734
-
- Mar 11, 2009
-
-
Gabor Greif authored
llvm-svn: 66733
-
Chris Lattner authored
llvm-svn: 66732
-
Rafael Espindola authored
llvm-svn: 66725
-