Commits

Show all
Author Commit Message Labels Comments Date
Chris Lattner
do not generated GEPs into vectors where they don't already exist. We should treat vectors as atomic types, not like arrays.
Tags
svn-r62046
Chris Lattner
Make a couple of cleanups to the instcombine bitcast/gep canonicalization transform based on duncan's comments: 1) improve the comment about %. 2) within our index loop make sure the offset stays within the *type size*, instead of within the *abi size*. This allows us to reason explicitly about landing in tail padding and means that issues like non-zero offsets into [0 x foo] types don't occur anymore.
Nick Lewycky
Use the spiffy new getAlignmentFromAttrs function.
Tags
svn-r62039
Evan Cheng
CheckForPhysRegDependency should not return copy cost. It's not used. No functionality change.
Tags
svn-r62036
Bill Wendling
Fix naming of file.
Tags
svn-r62035
Dan Gohman
Fix the example syntax for named sections.
Tags
svn-r62033
Evan Cheng
This is a dup of pr2659.ll.
Tags
svn-r62029
Bill Wendling
Adding unittests for SmallVector. Test by Talin.
Tags
svn-r62025
Evan Cheng
80 col violation.
Tags
svn-r62024
Devang Patel
Reduce initial small vector sizes.
Devang Patel
Fix thinko. Create parent scope if parent descriptor is *not* null.
Evan Cheng
Duplicated node may produce a non-physical register def.
Tags
svn-r62015
Evan Cheng
Add test case from PR2659.
Evan Cheng
Minor debug output tweak.
Misha Brukman
This has been replaced by llvm/utils/lint/cpp_lint.py, which is more comprehensive and can support more complex style analysis.
Misha Brukman
Removed trailing whitespace.
Devang Patel
Request DwarfWriter. This will be used to handle dbg_* intrinsics.
Chris Lattner
fix typo Duncan noticed.
Chris Lattner
Fix PR3304
Misha Brukman
Removed trailing whitespace from Makefiles.
Mikhail Glushenkov
Support llvmc plugins in out-of-tree projects.
Mikhail Glushenkov
Add a --check-graph option to llvmc.
Dan Gohman
PR2659 was fixed by r61847. Add the testcase as a regression test.
Tags
svn-r61986
Chris Lattner
Implement rdar://6480391, extending of equality icmp's to avoid a truncation. I noticed this in the code compiled for a routine using std::map, which produced this code: %25 = tail call i32 @memcmp(i8* %24, i8* %23, i32 6) nounwind readonly %.lobit.i = lshr i32 %25, 31 ; <i32> [#uses=1] %tmp.i = trunc i32 %.lobit.i to i8 ; <i8> [#uses=1] %toBool = icmp eq i8 %tmp.i, 0 ; <i1> [#uses=1] br i1 %toBool, label %bb3, label %bb4 which compiled to: call L_memcmp$stub shrl $31, %eax testb %al, %al jne LBB1_11 ## with this change, we compile it to: call L_memcmp$stub testl %eax, %eax js LBB1_11 This triggers all the time in common code, with patters like this: %169 = and i32 %ply, 1 ; <i32> [#uses=1] %170 = trunc i32 %169 to i8 ; <i8> [#uses=1] %toBool = icmp ne i8 %170, 0 ; <i1> [#uses=1] %7 = lshr i32 %6, 24 ; <i32> [#us…
Chris Lattner
Remove some old code that looks like a remanant from signed-types days.
Chris Lattner
Fix PR3298, a crash in Jump Threading. Apparently even jump threading can have bugs, who knew? ;-)
Chris Lattner
this doesn't depend on the gcc early inliner anymore.
Chris Lattner
PR3290 is now fixed.
Chris Lattner
Fix part 3/2 of PR3290, making instcombine zap (gep(bitcast)) when possible.
Chris Lattner
this test should not run opt -std-compile-opts, it should run just llc.
  1. Prev
  2. Next