mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Revert "[SCCP] Partially propagate informations when the input is not fully defined."
This reverts commit r269105 as it caused PR27712. llvm-svn: 269252
This commit is contained in:
parent
9f75184a1e
commit
9c6851f574
@ -1331,9 +1331,6 @@ bool SCCPSolver::ResolvedUndefsIn(Function &F) {
|
||||
}
|
||||
|
||||
Op1LV = getValueState(I.getOperand(1));
|
||||
|
||||
if (!Op0LV.isUndefined() && !Op1LV.isUndefined())
|
||||
break;
|
||||
}
|
||||
// If this is an instructions whose result is defined even if the input is
|
||||
// not fully defined, propagate the information.
|
||||
|
@ -1,5 +1,4 @@
|
||||
; RUN: opt < %s -constprop -S | FileCheck %s
|
||||
; RUN: opt < %s -sccp -S | FileCheck %s
|
||||
|
||||
; CHECK-LABEL: shift_undef_64
|
||||
define void @shift_undef_64(i64* %p) {
|
||||
|
Loading…
Reference in New Issue
Block a user