llvm-6502/lib/Transforms
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
..
Hello
InstCombine Move "A | ~(A & ?) -> -1" from InstCombine to InstructionSimplify. 2011-02-20 15:20:01 +00:00
Instrumentation Implementation of path profiling. 2011-01-29 01:09:53 +00:00
IPO Instead of keeping two Value*->id# mappings, keep one Value->Value mapping and 2011-02-20 08:11:03 +00:00
Scalar fix a crasher in disabled code (on variable stride loops) 2011-02-21 17:02:55 +00:00
Utils If the phi node was used by an unreachable instruction that ends up using 2011-02-21 17:32:05 +00:00
CMakeLists.txt Move library stuff out of the toplevel CMakeLists.txt file. 2011-02-18 22:06:14 +00:00
Makefile