- Jan 07, 2011
-
-
Evan Cheng authored
llvm-svn: 123031
-
Benjamin Kramer authored
llvm-svn: 123030
-
Oscar Fuentes authored
instead. llvm-svn: 123028
-
Jay Foad authored
every BranchInst has a fixed number of operands. llvm-svn: 123027
-
Jay Foad authored
llvm-svn: 123026
-
Jay Foad authored
llvm-svn: 123025
-
Evan Cheng authored
Revert r122955. It seems using movups to lower memcpy can cause massive regression (even on Nehalem) in edge cases. I also didn't see any real performance benefit. llvm-svn: 123015
-
David Greene authored
Rename lisp-like functions as suggested by Gabor Greif as loooong time ago. This is both easier to learn and easier to read. llvm-svn: 123001
-
Benjamin Kramer authored
llvm-svn: 122999
-
Bob Wilson authored
llvm-svn: 122997
-
Bob Wilson authored
Also fix an off-by-one in SelectionDAGBuilder that was preventing shuffle vectors from being translated to EXTRACT_SUBVECTOR. Patch by Tim Northover. The test changes are needed to keep those spill-q tests from testing aligned spills and restores. If the only aligned stack objects are spill slots, we no longer realign the stack frame. Prior to this patch, an EXTRACT_SUBVECTOR was legalized by loading from the stack, which created an aligned frame index. Now, however, there is nothing except the spill slot in the stack frame, so I added an aligned alloca. llvm-svn: 122995
-
Bob Wilson authored
llvm-svn: 122994
-
Bob Wilson authored
We were never generating any of these nodes with variable indices, and there was one legalizer function asserting on a non-constant index. If we ever have a need to support variable indices, we can add this back again. llvm-svn: 122993
-
Bill Wendling authored
we have invokes, so there is no functionality change here. llvm-svn: 122990
-
Duncan Sands authored
Nadav Rotem. llvm-svn: 122983
-
Duncan Sands authored
comes back some day. llvm-svn: 122982
-
- Jan 06, 2011
-
-
Eric Christopher authored
typed atomics. This will lower exclusively to libcalls at the moment. llvm-svn: 122979
-
Chris Lattner authored
llvm-svn: 122978
-
Chris Lattner authored
llvm-svn: 122977
-
Devang Patel authored
This fixes PR 8913 crash. llvm-svn: 122971
-
Bob Wilson authored
llvm-svn: 122970
-
Bob Wilson authored
llvm-svn: 122969
-
Bob Wilson authored
llvm-svn: 122968
-
Benjamin Kramer authored
llvm-svn: 122966
-
Abramo Bagnara authored
llvm-svn: 122963
-
Rafael Espindola authored
Patch by Richard Simth. llvm-svn: 122962
-
Benjamin Kramer authored
This happens when we take the (non-constant) length from a malloc. llvm-svn: 122961
-
Benjamin Kramer authored
llvm-svn: 122960
-
Benjamin Kramer authored
InstCombine: If we call llvm.objectsize on a malloc call we can replace it with the size passed to malloc. llvm-svn: 122959
-
Benjamin Kramer authored
llvm-svn: 122958
-
Benjamin Kramer authored
llvm-svn: 122957
-
Evan Cheng authored
The theory is it's still faster than a pair of movq / a quad of movl. This will probably hurt older chips like P4 but should run faster on current and future Intel processors. rdar://8817010 llvm-svn: 122955
-
Chris Lattner authored
llvm-svn: 122954
-
Chris Lattner authored
llvm-svn: 122953
-
Evan Cheng authored
etc. takes an option OptSize. If OptSize is true, it would return the inline limit for functions with attribute OptSize. llvm-svn: 122952
-
Chris Lattner authored
ret i64 ptrtoint (i8* getelementptr ([1000 x i8]* @X, i64 1, i64 sub (i64 0, i64 ptrtoint ([1000 x i8]* @X to i64))) to i64) to "ret i64 1000". This allows us to correctly compute the trip count on a loop in PR8883, which occurs with std::fill on a char array. This allows us to transform it into a memset with a constant size. llvm-svn: 122950
-
Evan Cheng authored
llvm-svn: 122949
-
Michael J. Spencer authored
llvm-svn: 122948
-
Michael J. Spencer authored
llvm-svn: 122947
-
Cameron Zwarich authored
OptimizeInst() so that they can be used on a worklist instruction. llvm-svn: 122945
-