aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/SCCP/ipsccp-basic.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/SCCP/ipsccp-basic.ll')
-rw-r--r--test/Transforms/SCCP/ipsccp-basic.ll14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/Transforms/SCCP/ipsccp-basic.ll b/test/Transforms/SCCP/ipsccp-basic.ll
index d3584d1..4c3c1cf 100644
--- a/test/Transforms/SCCP/ipsccp-basic.ll
+++ b/test/Transforms/SCCP/ipsccp-basic.ll
@@ -134,3 +134,17 @@ define internal i64 @test5c({i64,i64} %a) {
ret i64 %b
}
+
+;;======================== test6
+
+define i64 @test6a() {
+ ret i64 0
+}
+
+define i64 @test6b() {
+ %a = call i64 @test6a()
+ ret i64 %a
+}
+; CHECK: define i64 @test6b
+; CHECK: ret i64 0
+