llvm-6502/lib/Transforms/Utils
Eli Friedman 2adc5b6a17 PR9420; an instruction before an unreachable is guaranteed not to have any
reachable uses, but there still might be uses in dead blocks.  Use the
standard solution of replacing all the uses with undef.  This is
a rare case because it's very sensitive to phase ordering in SimplifyCFG.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127299 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-09 00:48:33 +00:00
..
AddrModeMatcher.cpp Change all self assignments X=X to (void)X, so that we can turn on a 2010-12-23 00:58:24 +00:00
BasicBlockUtils.cpp Re-apply r124518 with fix. Watch out for invalidated iterator. 2011-01-29 04:46:23 +00:00
BasicInliner.cpp
BreakCriticalEdges.cpp Remove code for updating dominance frontiers and some outdated references to 2011-01-18 04:11:31 +00:00
BuildLibCalls.cpp BuildLibCalls: Nuke EmitMemCpy, EmitMemMove and EmitMemSet. They are dead and superseded by IRBuilder. 2010-12-27 00:25:32 +00:00
CloneFunction.cpp Revamp the ValueMapper interfaces in a couple ways: 2011-01-08 08:15:20 +00:00
CloneLoop.cpp Remove code for updating dominance frontiers and some outdated references to 2011-01-18 04:11:31 +00:00
CloneModule.cpp Revamp the ValueMapper interfaces in a couple ways: 2011-01-08 08:15:20 +00:00
CMakeLists.txt Add a new convenience pass for testing InstructionSimplify. Previously 2010-12-20 20:54:37 +00:00
CodeExtractor.cpp
DemoteRegToStack.cpp Change all self assignments X=X to (void)X, so that we can turn on a 2010-12-23 00:58:24 +00:00
InlineFunction.cpp switch the inliner alignment enforcement stuff to use the 2010-12-25 20:42:38 +00:00
InstructionNamer.cpp
LCSSA.cpp split dom frontier handling stuff out to its own DominanceFrontier header, 2011-01-02 22:09:33 +00:00
Local.cpp DenseMap<uintptr_t,...> doesn't allow all values as keys. 2011-03-04 02:48:56 +00:00
LoopSimplify.cpp Rename 'loopsimplify' to 'loop-simplify'. 2011-02-10 23:38:10 +00:00
LoopUnroll.cpp Don't unroll loops whose header block's address is taken. 2011-02-18 04:25:21 +00:00
LowerInvoke.cpp
LowerSwitch.cpp
Makefile
Mem2Reg.cpp Remove outdated references to dominance frontiers. 2011-01-18 03:53:26 +00:00
PromoteMemoryToRegister.cpp Do not use DIFactory. Use DIBuilder. 2011-02-24 18:49:55 +00:00
SimplifyCFG.cpp PR9420; an instruction before an unreachable is guaranteed not to have any 2011-03-09 00:48:33 +00:00
SimplifyInstructions.cpp Speed up instsimplify by about 10-15% by not bothering to retry 2011-01-03 10:50:04 +00:00
SSAUpdater.cpp fix PR9017, a bug where we'd assert when promoting in unreachable 2011-01-24 03:29:07 +00:00
UnifyFunctionExitNodes.cpp
Utils.cpp Add a new convenience pass for testing InstructionSimplify. Previously 2010-12-20 20:54:37 +00:00
ValueMapper.cpp fix PR9015, a crash linking recursive metadata. 2011-01-24 03:18:24 +00:00