- Mar 18, 2009
-
-
Chris Lattner authored
llvm-svn: 67211
-
Zhou Sheng authored
unused loads or bitcasts. llvm-svn: 67202
-
Zhou Sheng authored
If the instruction has no users, it is also not only used by debug info and should not be deleted. llvm-svn: 67194
-
Chris Lattner authored
it is not APInt clean, but even when it is it needs to be evaluated carefully to determine whether it is actually profitable. This fixes a crash on PR3806 llvm-svn: 67134
-
- Mar 17, 2009
-
-
Chris Lattner authored
llvm-svn: 67089
-
Dale Johannesen authored
llvm-svn: 67064
-
- Mar 13, 2009
-
-
Evan Cheng authored
Fix PR3784: If the source of a phi comes from a bb ended with an invoke, make sure the copy is inserted before the try range (unless it's used as an input to the invoke, then insert it after the last use), not at the end of the bb. Also re-apply r66140 which was disabled as a workaround. llvm-svn: 66976
-
Bill Wendling authored
mode). Running /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/dg.exp ... FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/crash-narrowfunctiontest.ll Failed with signal(SIGBUS) at line 1 while running: bugpoint /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/crash-narrowfunctiontest.ll -bugpoint-crashcalls -silence-passes > /dev/null 0 bugpoint 0x0035dd25 llvm::sys::SetInterruptFunction(void (*)()) + 85 1 bugpoint 0x0035e382 llvm::sys::RemoveFileOnSignal(llvm::sys::Path const&, std::string*) + 706 2 libSystem.B.dylib 0x92f112bb _sigtramp + 43 3 libSystem.B.dylib 0xffffffff _sigtramp + 1829694831 4 bugpoint 0x00021d1c main + 92 5 bugpoint 0x00002106 start + 54 6 bugpoint 0x00000004 start + 18446744073709543220 Stack dump: 0. Program arguments: bugpoint /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/crash-narrowfunctiontest.ll -bugpoint-crashcalls -silence-passes FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/misopt-basictest.ll Failed with signal(SIGBUS) at line 1 while running: bugpoint /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/misopt-basictest.ll -dce -bugpoint-deletecalls -simplifycfg -silence-passes 0 bugpoint 0x0035dd25 llvm::sys::SetInterruptFunction(void (*)()) + 85 1 bugpoint 0x0035e382 llvm::sys::RemoveFileOnSignal(llvm::sys::Path const&, std::string*) + 706 2 libSystem.B.dylib 0x92f112bb _sigtramp + 43 3 libSystem.B.dylib 0xffffffff _sigtramp + 1829694831 4 bugpoint 0x00021d1c main + 92 5 bugpoint 0x00002106 start + 54 6 bugpoint 0x00000006 start + 18446744073709543222 Stack dump: 0. Program arguments: bugpoint /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/misopt-basictest.ll -dce -bugpoint-deletecalls -simplifycfg -silence-passes FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/remove_arguments_test.ll Failed with signal(SIGBUS) at line 1 while running: bugpoint /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/remove_arguments_test.ll -bugpoint-crashcalls -silence-passes 0 bugpoint 0x0035dd25 llvm::sys::SetInterruptFunction(void (*)()) + 85 1 bugpoint 0x0035e382 llvm::sys::RemoveFileOnSignal(llvm::sys::Path const&, std::string*) + 706 2 libSystem.B.dylib 0x92f112bb _sigtramp + 43 3 libSystem.B.dylib 0xffffffff _sigtramp + 1829694831 4 bugpoint 0x00021d1c main + 92 5 bugpoint 0x00002106 start + 54 Stack dump: 0. Program arguments: bugpoint /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/remove_arguments_test.ll -bugpoint-crashcalls -silence-passes --- Reverse-merging (from foreign repository) r66920 into '.': U include/llvm/Support/CallSite.h U include/llvm/Instructions.h U lib/Analysis/IPA/GlobalsModRef.cpp U lib/Analysis/IPA/Andersens.cpp U lib/Bitcode/Writer/BitcodeWriter.cpp U lib/VMCore/Instructions.cpp U lib/VMCore/Verifier.cpp U lib/VMCore/AsmWriter.cpp U lib/Transforms/Utils/LowerInvoke.cpp U lib/Transforms/Scalar/SimplifyCFGPass.cpp U lib/Transforms/IPO/PruneEH.cpp U lib/Transforms/IPO/DeadArgumentElimination.cpp llvm-svn: 66953
-
Dale Johannesen authored
llvm-svn: 66930
-
Gabor Greif authored
changes. For InvokeInst now all arguments begin at op_begin(). The Callee, Cont and Fail are now faster to get by access relative to op_end(). This patch introduces some temporary uglyness in CallSite. Next I'll bring CallInst up to a similar scheme and then the uglyness will magically vanish. This patch also exposes all the reliance of the libraries on InvokeInst's operand ordering. I am thinking of taking care of that too. llvm-svn: 66920
-
Bill Wendling authored
llvm-svn: 66867
-
Bill Wendling authored
llvm-svn: 66866
-
- Mar 12, 2009
-
-
Duncan Sands authored
in the Ada testcase. Reverting this only covers up the real problem, which is a nasty conceptual difficulty in the phi elimination pass: when eliminating phi nodes in landing pads, the register copies need to come before the invoke, not at the end of the basic block which is too late... See PR3784. llvm-svn: 66826
-
- Mar 11, 2009
-
-
Dale Johannesen authored
allocations. Apparently the assumption is there is an instruction (terminator?) following the allocation so I am allowing the same assumption. llvm-svn: 66716
-
- Mar 10, 2009
-
-
Dale Johannesen authored
another instcombine pass if we weren't going to make one without debug info. llvm-svn: 66576
-
John Criswell authored
Also fixed a punctuation error in the header comment. This fixes PR3775. llvm-svn: 66542
-
- Mar 09, 2009
-
-
Dan Gohman authored
if needed. This simplifies the code a little, and is needed for an upcoming refactoring. llvm-svn: 66479
-
Dan Gohman authored
where memory access types are needed. llvm-svn: 66470
-
Dan Gohman authored
llvm-svn: 66469
-
Dan Gohman authored
llvm-svn: 66467
-
Dan Gohman authored
Use VoidTy instead, to be properly conservative. llvm-svn: 66463
-
Dan Gohman authored
of an instruction into a helper function. llvm-svn: 66460
-
Dan Gohman authored
have to be done twice. llvm-svn: 66449
-
Dan Gohman authored
llvm-svn: 66446
-
Dan Gohman authored
before it does any processing. llvm-svn: 66443
-
Chris Lattner authored
hopefully no functionality change. llvm-svn: 66398
-
- Mar 08, 2009
-
-
Chris Lattner authored
a vector type instead of into an integer type. llvm-svn: 66368
-
Chris Lattner authored
memcpy/memmove'd into or out of. This fixes a serious perf issue that Nate ran into. llvm-svn: 66366
-
Chris Lattner authored
instead of a Constant*, which is what the clients of it really want. llvm-svn: 66364
-
Chris Lattner authored
parent between MemCpyInst and MemMoveInst, simplify some code to use it. llvm-svn: 66361
-
- Mar 06, 2009
-
-
Chris Lattner authored
Lennart Augustsson! llvm-svn: 66272
-
Devang Patel authored
llvm-svn: 66262
-
Chris Lattner authored
llvm-svn: 66252
-
Chris Lattner authored
their main routines. This makes the tools print their argc/argv commands if they crash. llvm-svn: 66248
-
Devang Patel authored
llvm-svn: 66245
-
Devang Patel authored
llvm-svn: 66244
-
Dale Johannesen authored
This is needed so debug info doesn't change codegen. llvm-svn: 66235
-
Evan Cheng authored
llvm-svn: 66227
-
- Mar 05, 2009
-
-
Evan Cheng authored
llvm-svn: 66140
-
Dale Johannesen authored
codegen. I convinced myself it was OK to skip all pointer bitcasts here too. llvm-svn: 66122
-