summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/Transforms/ArgumentPromotion/chained.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Regression/Transforms/ArgumentPromotion/chained.ll')
-rw-r--r--llvm/test/Regression/Transforms/ArgumentPromotion/chained.ll17
1 files changed, 0 insertions, 17 deletions
diff --git a/llvm/test/Regression/Transforms/ArgumentPromotion/chained.ll b/llvm/test/Regression/Transforms/ArgumentPromotion/chained.ll
deleted file mode 100644
index d6055e2768f..00000000000
--- a/llvm/test/Regression/Transforms/ArgumentPromotion/chained.ll
+++ /dev/null
@@ -1,17 +0,0 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -argpromotion -instcombine | llvm-dis | not grep load
-
-%G1 = constant int 0
-%G2 = constant int* %G1
-
-implementation
-
-internal int %test(int **%X) {
- %Y = load int** %X
- %X = load int* %Y
- ret int %X
-}
-
-int %caller(int** %P) {
- %X = call int %test(int** %G2)
- ret int %X
-}
OpenPOWER on IntegriCloud