forked from OSchip/llvm-project
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
2e03094d45
commit
cd7c84bd8b
|
@ -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