- Jan 06, 2011
-
-
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
-
Cameron Zwarich authored
OptimizeInst() so that they can be used on a worklist instruction. llvm-svn: 122945
-
Cameron Zwarich authored
llvm-svn: 122944
-
Cameron Zwarich authored
into a separate function, so that it can be called from a loop using a worklist rather than a loop traversing a whole basic block. llvm-svn: 122943
-
Jakob Stoklund Olesen authored
Simplify RALinScan::DowngradeRegister with TRI::getOverlaps while we are there. llvm-svn: 122940
-
Jakob Stoklund Olesen authored
This pass precomputes CFG block frequency information that can be used by the register allocator to find optimal spill code placement. Given an interference pattern, placeSpills() will compute which basic blocks should have the current variable enter or exit in a register, and which blocks prefer the stack. The algorithm is ready to consume block frequencies from profiling data, but for now it gets by with the static estimates used for spill weights. This is a work in progress and still not hooked up to RegAllocGreedy. llvm-svn: 122938
-
Evan Cheng authored
up freebsd bootloader. However, this doesn't make much sense for Darwin, whose -Os is meant to optimize for size only if it doesn't hurt performance. rdar://8821501 llvm-svn: 122936
-
Evan Cheng authored
the original type of the switch statement key. rdar://8781238 llvm-svn: 122935
-
Bill Wendling authored
works only on MinGW32. On 64-bit, the function to call is "__chkstk". Patch by KS Sreeram! llvm-svn: 122934
-
Bill Wendling authored
beginning of the "main" function. The assembler complains about the invalid suffix for the 'call' instruction. The right instruction is "callq __main". Patch by KS Sreeram! llvm-svn: 122933
-
Cameron Zwarich authored
worklist, the key will need to become std::pair<BasicBlock*, Value*>. llvm-svn: 122932
-
Owen Anderson authored
llvm-svn: 122929
-
Evan Cheng authored
r1025 = s/zext r1024, 4 r1026 = extract_subreg r1025, 4 to: r1026 = copy r1024 llvm-svn: 122925
-
- Jan 05, 2011
-
-
Chris Lattner authored
llvm-svn: 122921
-
Chris Lattner authored
llvm-svn: 122920
-
Jakob Stoklund Olesen authored
calculated. llvm-svn: 122912
-
Jakob Stoklund Olesen authored
llvm-svn: 122911
-
Eric Christopher authored
llvm-svn: 122909
-
Owen Anderson authored
in the predecessor block, leading to an incorrect conclusion for the edge value. Found by inspection. llvm-svn: 122908
-
Owen Anderson authored
hasBlockValue() that was causing iterator invalidations. Many thanks to Dimitry Andric for tracking down those invalidations! llvm-svn: 122906
-
Chris Lattner authored
llvm-svn: 122893
-
Cameron Zwarich authored
llvm-svn: 122891
-
Wesley Peck authored
Commit 122778 broke DWARF debug output when using the MBlaze backend. Fixed by overriding TargetFrameInfo::getFrameIndexOffset to take into account the new frame index information. llvm-svn: 122889
-