aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Transforms/ConstProp/basictest.ll2
-rw-r--r--test/Transforms/ConstProp/nottest.ll2
-rw-r--r--test/Transforms/ConstProp/remtest.ll2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/Transforms/ConstProp/basictest.ll b/test/Transforms/ConstProp/basictest.ll
index 241d25f25e..65cfd35889 100644
--- a/test/Transforms/ConstProp/basictest.ll
+++ b/test/Transforms/ConstProp/basictest.ll
@@ -1,7 +1,7 @@
; This is a basic sanity check for constant propogation. The add instruction
; should be eliminated.
-; RUN: if as < %s | opt -constprop | dis | grep add
+; RUN: if as < %s | opt -constprop -die | dis | grep add
; RUN: then exit 1
; RUN: else exit 0
; RUN: fi
diff --git a/test/Transforms/ConstProp/nottest.ll b/test/Transforms/ConstProp/nottest.ll
index d5df709a73..cfff9aebab 100644
--- a/test/Transforms/ConstProp/nottest.ll
+++ b/test/Transforms/ConstProp/nottest.ll
@@ -1,6 +1,6 @@
; Ensure constant propogation of 'not' instructions is working correctly.
-; RUN: if as < %s | opt -constprop | dis | grep not
+; RUN: if as < %s | opt -constprop -die | dis | grep not
; RUN: then exit 1
; RUN: else exit 0
; RUN: fi
diff --git a/test/Transforms/ConstProp/remtest.ll b/test/Transforms/ConstProp/remtest.ll
index ae418a8d6c..d3be9350ed 100644
--- a/test/Transforms/ConstProp/remtest.ll
+++ b/test/Transforms/ConstProp/remtest.ll
@@ -1,6 +1,6 @@
; Ensure constant propogation of remainder instructions is working correctly.
-; RUN: if as < %s | opt -constprop | dis | grep rem
+; RUN: if as < %s | opt -constprop -die | dis | grep rem
; RUN: then exit 1
; RUN: else exit 0
; RUN: fi