Benjamin Kramer
|
255dea4b90
|
CorrelatedPropagation: BasicBlock::removePredecessor can simplify PHI nodes. If the it's the condition of a SwitchInst, reload it.
Fixes PR13972.
llvm-svn: 164818
|
2012-09-28 10:42:50 +00:00 |
Owen Anderson
|
35609d97ae
|
Fix PR8790, another instance where unreachable code can cause instruction simplification to fail,
this case involve a select that simplifies to itself.
llvm-svn: 121817
|
2010-12-15 00:55:35 +00:00 |
Owen Anderson
|
94532cb297
|
Fix PR8161, in which an unreachable loop causes recursive instruction simplification to try
to replace an instruction with itself. Add a predicate to the simplifier to prevent this case.
llvm-svn: 114097
|
2010-09-16 17:42:36 +00:00 |