- Jan 07, 2008
-
-
Chris Lattner authored
llvm-svn: 45667
-
- Jan 06, 2008
-
-
Gordon Henriksen authored
fiends. Change Makefile.ocaml to not touch CFLAGS. llvm-svn: 45663
-
Chris Lattner authored
llvm-svn: 45662
-
Chris Lattner authored
llvm-svn: 45661
-
Chris Lattner authored
llvm-svn: 45660
-
Chris Lattner authored
llvm-svn: 45659
-
Duncan Sands authored
direct calls bails out unless caller and callee have essentially equivalent parameter attributes. This is illogical - the callee's attributes should be of no relevance here. Rework the logic, which incidentally fixes a crash when removed arguments have attributes. llvm-svn: 45658
-
Duncan Sands authored
a direct call with cast parameters and cast return value (if any), instcombine was prepared to cast any non-void return value into any other, whether castable or not. Add a new predicate for testing whether casting is valid, and check it both for the return value and (as a cleanup) for the parameters. llvm-svn: 45657
-
Chris Lattner authored
llvm-svn: 45656
-
Duncan Sands authored
llvm-svn: 45655
-
Chris Lattner authored
instead of "ISD::STORE". This allows us to mark target-specific dag nodes as storing (such as ppc byteswap stores). This allows us to remove more explicit isStore flags from the .td files. Finally, add a warning for when a .td file contains an explicit isStore and tblgen is able to infer it. llvm-svn: 45654
-
Chris Lattner authored
llvm-svn: 45653
-
Chris Lattner authored
llvm-svn: 45652
-
Chris Lattner authored
No functionality change. llvm-svn: 45651
-
Chris Lattner authored
intrinsic that writes to memory. llvm-svn: 45650
-
Nick Lewycky authored
llvm-svn: 45649
-
Chris Lattner authored
occured in a pattern, but failed miserably. The new code works for any instruction that has a store in its pattern, including all the x86 mem op mem instructions. The only target-independent code that uses this is branch folding, so this won't change anything in practice. llvm-svn: 45648
-
Chris Lattner authored
rearrange some code to allow inferring instr info from the pattern of the instr, but don't do so yet. llvm-svn: 45647
-
Chris Lattner authored
llvm-svn: 45646
-
Chris Lattner authored
llvm-svn: 45645
-
Chris Lattner authored
llvm-svn: 45644
-
Chris Lattner authored
llvm-svn: 45643
-
Chris Lattner authored
llvm-svn: 45642
-
Chris Lattner authored
llvm-svn: 45641
-
Chris Lattner authored
llvm-svn: 45640
-
Chris Lattner authored
llvm-svn: 45639
-
Bill Wendling authored
llvm-svn: 45638
-
Chris Lattner authored
llvm-svn: 45637
-
- Jan 05, 2008
-
-
Chris Lattner authored
out, DAGISelEmitter can compute it in its ctor, which simplifies some code. Now we can use CodegenDAGPatterns in other parts of tblgen that want access to dag pattern info, woo! llvm-svn: 45636
-
Chris Lattner authored
The only difference in output is that we now print them in alphabetical order instead of reverse alphabetical order. llvm-svn: 45635
-
Chris Lattner authored
llvm-svn: 45634
-
Chris Lattner authored
llvm-svn: 45633
-
Chris Lattner authored
Split the pattern parsing code out from the dag isel emitter into it's own file. No functionality change. llvm-svn: 45632
-
Nate Begeman authored
the target independent legalizer. llvm-svn: 45631
-
Nate Begeman authored
Don't overwrite a variable used by the fallthrough code path in this case. llvm-svn: 45630
-
Chris Lattner authored
llvm-svn: 45629
-
Gordon Henriksen authored
unifying the copied algorithms and saving over 500 LOC. There should be no functionality change, but please test on your favorite x86 target. llvm-svn: 45627
-
Bill Wendling authored
checking that there was a from a global instead of a load from the stub for a global, which is the one that's safe to hoist. Consider this program: volatile char G[100]; int B(char *F, int N) { for (; N > 0; --N) F[N] = G[N]; } In static mode, we shouldn't be hoisting the load from G: $ llc -relocation-model=static -o - a.bc -march=x86 -machine-licm LBB1_1: # bb.preheader leal -1(%eax), %edx testl %edx, %edx movl $1, %edx cmovns %eax, %edx xorl %esi, %esi LBB1_2: # bb movb _G(%eax), %bl movb %bl, (%ecx,%eax) llvm-svn: 45626
-
Chris Lattner authored
llvm-svn: 45625
-
Chris Lattner authored
llvm-svn: 45624
-