- Jul 09, 2011
-
-
Jakob Stoklund Olesen authored
Spills should be hoisted out of loops, but we don't want to hoist them to dominating blocks at the same loop depth. That could cause the spills to be executed more often. llvm-svn: 134782
-
Lang Hames authored
llvm-svn: 134778
-
Lang Hames authored
Added recognition for signed add/sub/mul with overflow intrinsics to GVN as per Chris and Frits suggestion. llvm-svn: 134777
-
Jakob Stoklund Olesen authored
Try to move spills as early as possible in their basic block. This can help eliminate interferences by shortening the live range being spilled. This fixes PR10221. llvm-svn: 134776
-
Eli Friedman authored
Really force on 64bit for 64-bit targets. Should fix remaining failures on unknown x86/non-x86 targets. llvm-svn: 134773
-
Eli Friedman authored
Revert earlier unnecessary hack. Make sure we correctly force on 64bit and cmov for 64-bit targets. llvm-svn: 134768
-
Evan Cheng authored
llvm-svn: 134764
-
Evan Cheng authored
llvm-svn: 134763
-
Cameron Zwarich authored
llvm-svn: 134762
-
Evan Cheng authored
llvm-svn: 134760
-
Bob Wilson authored
llvm-svn: 134759
-
Jim Grosbach authored
llvm-svn: 134758
-
Evan Cheng authored
llvm-svn: 134757
-
Evan Cheng authored
llvm-svn: 134756
-
Jim Grosbach authored
llvm-svn: 134755
-
Eli Friedman authored
Default 64-bit target features and SSE2 on when a triple specifies x86-64. Clean up all the other hacks which are now unnecessary. llvm-svn: 134753
-
Cameron Zwarich authored
llvm-svn: 134752
-
Bob Wilson authored
According to Intel Application Note 485, this value is used for "Intel Core i7 and Intel Xeon processor". Just include it with the other "corei7-avx" entries. llvm-svn: 134750
-
Bob Wilson authored
This tightens up checking for overflow in alloca sizes, based on feedback from Duncan and John about the change in r132926. llvm-svn: 134749
-
- Jul 08, 2011
-
-
Jim Grosbach authored
The normal tBX instruction is predicable, so there's no reason the pseudos for using it as a return shouldn't be. Gives us some nice code-gen improvements as can be seen by the test changes. In particular, several tests now have to disable if-conversion because it works too well and defeats the test. llvm-svn: 134746
-
Julien Lerouge authored
http://llvm.org/bugs/show_bug.cgi?id=10305 llvm-svn: 134744
-
Cameron Zwarich authored
is to use this for architectures that have a native FMA instruction. llvm-svn: 134742
-
Evan Cheng authored
llvm-svn: 134741
-
Jim Grosbach authored
llvm-svn: 134739
-
Benjamin Kramer authored
Found by valgrind. llvm-svn: 134738
-
Jim Grosbach authored
No functional change. llvm-svn: 134737
-
Jakob Stoklund Olesen authored
RAGreedy::tryAssign will now evict interference from the preferred register even when another register is free. To support this, add the EvictionCost struct that counts how many hints are broken by an eviction. We don't want to break one hint just to satisfy another. Rename canEvict to shouldEvict, and add the first bit of eviction policy that doesn't depend on spill weights: Always make room in the preferred register as long as the evictees can be split and aren't already assigned to their preferred register. Also make the CSR avoidance more accurate. When looking for a cheaper register it is OK to use a new volatile register. Only CSR aliases that have never been used before should be avoided. llvm-svn: 134735
-
Jim Grosbach authored
llvm-svn: 134734
-
Jim Grosbach authored
llvm-svn: 134732
-
Benjamin Kramer authored
llvm-svn: 134730
-
Jim Grosbach authored
llvm-svn: 134729
-
Jim Grosbach authored
Fix a FIXME. llvm-svn: 134727
-
Eli Friedman authored
llvm-svn: 134725
-
Evan Cheng authored
llvm-svn: 134721
-
Benjamin Kramer authored
llvm-svn: 134720
-
Jim Grosbach authored
llvm-svn: 134719
-
Jim Grosbach authored
No functional change. llvm-svn: 134714
-
Jim Grosbach authored
TableGen'erated MC lowering pseudo-expansion. llvm-svn: 134712
-
Evan Cheng authored
llvm-svn: 134709
-
Devang Patel authored
llvm-svn: 134708
-