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:
Davide Italiano 2016-05-11 23:06:10 +00:00
parent 2e03094d45
commit cd7c84bd8b
2 changed files with 0 additions and 4 deletions

View File

@ -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.

View File

@ -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) {