- Jan 17, 2008
-
-
Evan Cheng authored
and the spill is its kill. However, if the local allocator has determined the register has not been modified (possible when its value was reloaded), it would not issue a restore. In that case, mark the last use of the virtual register as kill. llvm-svn: 46111
-
Chris Lattner authored
promoted functions. This is important for varargs calls in particular. Thanks to duncan for providing a great testcase. llvm-svn: 46108
-
Evan Cheng authored
llvm-svn: 46104
-
Evan Cheng authored
It's not safe to use the two value CombineTo variant to combine away a dead load. e.g. v1, chain2 = load chain1, loc v2, chain3 = load chain2, loc v3 = add v2, c Now we replace use of v1 with undef, use of chain2 with chain1. ReplaceAllUsesWith() will iterate through uses of the first load and update operands: v1, chain2 = load chain1, loc v2, chain3 = load chain1, loc v3 = add v2, c Now the second load is the same as the first load, SelectionDAG cse will ensure the use of second load is replaced with the first load. v1, chain2 = load chain1, loc v3 = add v1, c Then v1 is replaced with undef and bad things happen. llvm-svn: 46099
-
- Jan 16, 2008
-
-
Duncan Sands authored
it should work, but I have no machine to test it on. Committed because it will at least cause no harm, and maybe someone can test it for me! llvm-svn: 46098
-
Chris Lattner authored
llvm-svn: 46090
-
Dale Johannesen authored
associated function is so marked. llvm-svn: 46088
-
Chris Lattner authored
llvm-svn: 46073
-
Chris Lattner authored
simplification. This fixes automotive-basicmath on PPC. llvm-svn: 46072
-
Chris Lattner authored
pattern to use EmitStackConvert now. llvm-svn: 46066
-
Chris Lattner authored
it to allow it to emit different load and store kinds. llvm-svn: 46065
-
Chris Lattner authored
instead of inlining its body. llvm-svn: 46062
-
Chris Lattner authored
into the ANY_EXTEND/ZERO_EXTEND/SIGN_EXTEND code to simplify it. Unmerge the code for FP_ROUND and FP_EXTEND from each other to make each one simpler. llvm-svn: 46061
-
Chris Lattner authored
llvm-svn: 46060
-
Chris Lattner authored
llvm-svn: 46058
-
Chris Lattner authored
some code. No functionality change. llvm-svn: 46055
-
Chris Lattner authored
make the 'fp return in ST(0)' optimization smart enough to look through token factor nodes. THis allows us to compile testcases like CodeGen/X86/fp-stack-retcopy.ll into: _carg: subl $12, %esp call L_foo$stub fstpl (%esp) fldl (%esp) addl $12, %esp ret instead of: _carg: subl $28, %esp call L_foo$stub fstpl 16(%esp) movsd 16(%esp), %xmm0 movsd %xmm0, 8(%esp) fldl 8(%esp) addl $28, %esp ret Still not optimal, but much better and this is a trivial patch. Fixing the rest requires invasive surgery that is is not llvm 2.2 material. llvm-svn: 46054
-
Chris Lattner authored
look through token factor llvm-svn: 46053
-
Chris Lattner authored
llvm-svn: 46052
-
Chris Lattner authored
a public SDOperand::reachesChainWithoutSideEffects method. No functionality change. llvm-svn: 46050
-
Devang Patel authored
llvm-svn: 46045
-
Ted Kremenek authored
to the tree node. llvm-svn: 46034
-
Devang Patel authored
- Communicate symbol visibility - Communicate code generation model llvm-svn: 46033
-
Chris Lattner authored
llvm-svn: 46032
-
Dale Johannesen authored
llvm-svn: 46030
-
Dale Johannesen authored
ShortenEHDataFor64Bits as a not-very-accurate abstraction to cover all the changes in DwarfWriter. Some cosmetic changes to Darwin assembly code for gcc testsuite compatibility. llvm-svn: 46029
-
- Jan 15, 2008
-
-
Owen Anderson authored
Move some calls to getVRegDef higher in the callgraph, so they don't get executed as frequently in performance sensitive code. llvm-svn: 46027
-
Chris Lattner authored
llvm-svn: 46026
-
Chris Lattner authored
break the byval attr on some other argument. llvm-svn: 46025
-
Anton Korobeynikov authored
llvm-svn: 46024
-
Chris Lattner authored
llvm-svn: 46023
-
Evan Cheng authored
llvm-svn: 46021
-
Chris Lattner authored
llvm-svn: 46020
-
Chris Lattner authored
llvm-svn: 46019
-
Chris Lattner authored
it's a function pointer) not MVT::Other. This fixes builtin_trap lowering on ppc, alpha, ia64 llvm-svn: 46018
-
Chris Lattner authored
Move definition of 'trap' sdnode up from x86 instrinfo to targetselectiondag.td. llvm-svn: 46017
-
Owen Anderson authored
llvm-svn: 46016
-
Chris Lattner authored
llvm-svn: 46015
-
Chris Lattner authored
llvm-svn: 46014
-
Chuck Rose III authored
Add files to windows project files. Also include <algorithm> explicitly so that vstudio build works llvm-svn: 46013
-