llvm-6502/lib/Transforms/Utils
Duncan Sands 2cfbf018a9 If the phi node was used by an unreachable instruction that ends up using
itself without going via a phi node then we could return false here in
spite of making a change.  Also, tweak the comment because this method
can (and always could) return true without deleting the original phi node.
For example, if the phi node was used by a read-only invoke instruction
which is used by another phi node phi2 which is only used by and only uses
the invoke, then phi2 would be deleted but not the invoke instruction and
not the original phi node.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126129 91177308-0d34-0410-b5e6-96231b3b80d8
2011-02-21 17:32:05 +00:00
..
AddrModeMatcher.cpp
BasicBlockUtils.cpp Re-apply r124518 with fix. Watch out for invalidated iterator. 2011-01-29 04:46:23 +00:00
BasicInliner.cpp
BreakCriticalEdges.cpp
BuildLibCalls.cpp
CloneFunction.cpp
CloneLoop.cpp
CloneModule.cpp
CMakeLists.txt
CodeExtractor.cpp
DemoteRegToStack.cpp
InlineFunction.cpp
InstructionNamer.cpp
LCSSA.cpp
Local.cpp If the phi node was used by an unreachable instruction that ends up using 2011-02-21 17:32:05 +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
PromoteMemoryToRegister.cpp
SimplifyCFG.cpp SimplifyCFG: Track the number of used icmps when turning a icmp chain into a switch. If we used only one icmp, don't turn it into a switch. 2011-02-07 22:37:28 +00:00
SimplifyInstructions.cpp
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
ValueMapper.cpp fix PR9015, a crash linking recursive metadata. 2011-01-24 03:18:24 +00:00