summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/IPConstantProp
diff options
context:
space:
mode:
authorFlorian Hahn <florian.hahn@arm.com>2018-06-01 12:58:43 +0000
committerFlorian Hahn <florian.hahn@arm.com>2018-06-01 12:58:43 +0000
commit8a17f1f43e7f00544715da8a63955263fd109be5 (patch)
treec235dec8ed9b9b28f8efd7da404cdc62892d8d68 /llvm/test/Transforms/IPConstantProp
parentf95ea047e566b1e27749f75a423c5b07c5329ec6 (diff)
downloadbcm5719-llvm-8a17f1f43e7f00544715da8a63955263fd109be5.tar.gz
bcm5719-llvm-8a17f1f43e7f00544715da8a63955263fd109be5.zip
Revert r333740: IPSCCP] Use PredicateInfo to propagate facts from cmp.
This is breaking the clang-with-thin-lto-ubuntu bot. llvm-svn: 333745
Diffstat (limited to 'llvm/test/Transforms/IPConstantProp')
-rw-r--r--llvm/test/Transforms/IPConstantProp/musttail-call.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/IPConstantProp/musttail-call.ll b/llvm/test/Transforms/IPConstantProp/musttail-call.ll
index 567ca408099..75877585710 100644
--- a/llvm/test/Transforms/IPConstantProp/musttail-call.ll
+++ b/llvm/test/Transforms/IPConstantProp/musttail-call.ll
@@ -9,7 +9,7 @@ define i8* @start(i8 %v) {
%c1 = icmp eq i8 %v, 0
br i1 %c1, label %true, label %false
true:
- ; CHECK: %ca = musttail call i8* @side_effects(i8 0)
+ ; CHECK: %ca = musttail call i8* @side_effects(i8 %v)
; CHECK: ret i8* %ca
%ca = musttail call i8* @side_effects(i8 %v)
ret i8* %ca
@@ -34,7 +34,7 @@ define internal i8* @side_effects(i8 %v) {
; is always `null`.
; The call can't be removed due to `external` call above, though.
- ; CHECK: %ca = musttail call i8* @start(i8 0)
+ ; CHECK: %ca = musttail call i8* @start(i8 %v)
%ca = musttail call i8* @start(i8 %v)
; Thus the result must be returned anyway
OpenPOWER on IntegriCloud