1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/include/llvm/Transforms/Utils
Duncan Sands 17a277da6d 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.

llvm-svn: 126129
2011-02-21 17:32:05 +00:00
..
AddrModeMatcher.h
BasicBlockUtils.h
BasicInliner.h
BuildLibCalls.h
Cloning.h
FunctionUtils.h
Local.h If the phi node was used by an unreachable instruction that ends up using 2011-02-21 17:32:05 +00:00
PromoteMemToReg.h
SSAUpdater.h
SSAUpdaterImpl.h
UnifyFunctionExitNodes.h
UnrollLoop.h
ValueMapper.h