summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2017-02-02 00:46:54 +0000
committerDavide Italiano <davide@freebsd.org>2017-02-02 00:46:54 +0000
commitcb68f371845e8eda1a3f06570fa7604d123b5820 (patch)
tree7ad8027fe14e36f34b474b5d9a934ceb3d5fbbe1 /llvm/test/Transforms
parent73c69a37140d88002ffd04e4eb1d149acf2f974d (diff)
downloadbcm5719-llvm-cb68f371845e8eda1a3f06570fa7604d123b5820.tar.gz
bcm5719-llvm-cb68f371845e8eda1a3f06570fa7604d123b5820.zip
[IPSCCP] Restore the old behaviour (pre r293799).
It's not clear the change I made a good idea, and it definitely needs further discussion. Thanks to Eli for pointing out. llvm-svn: 293846
Diffstat (limited to 'llvm/test/Transforms')
-rw-r--r--llvm/test/Transforms/IPConstantProp/noinline-return.ll21
1 files changed, 0 insertions, 21 deletions
diff --git a/llvm/test/Transforms/IPConstantProp/noinline-return.ll b/llvm/test/Transforms/IPConstantProp/noinline-return.ll
deleted file mode 100644
index 10950327327..00000000000
--- a/llvm/test/Transforms/IPConstantProp/noinline-return.ll
+++ /dev/null
@@ -1,21 +0,0 @@
-; RUN: opt %s -ipsccp -S | FileCheck %s
-
-define i32 @tinkywinky() #0 {
-entry:
- ret i32 5
-}
-
-define i32 @patatino() {
-entry:
- %call = call i32 @tinkywinky()
-
-; Check that we don't propagate the return value of
-; @tinkywinky.
-; CHECK: call i32 @dipsy(i32 %call)
- %call1 = call i32 @dipsy(i32 %call)
- ret i32 %call1
-}
-
-declare i32 @dipsy(i32)
-
-attributes #0 = { noinline }
OpenPOWER on IntegriCloud