aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/CodeGen/CBackend/2003-06-23-PromotedExprs.llx17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/CodeGen/CBackend/2003-06-23-PromotedExprs.llx b/test/CodeGen/CBackend/2003-06-23-PromotedExprs.llx
deleted file mode 100644
index e074c2e..0000000
--- a/test/CodeGen/CBackend/2003-06-23-PromotedExprs.llx
+++ /dev/null
@@ -1,17 +0,0 @@
-
-; RUN: llvm-as < %s | llc -march=c > %t1.cbe.c
-; RUN: gcc -B/usr/bin/ %t1.cbe.c -o %t1.cbe
-; RUN: ./%t1.cbe
-
-define i1 @doTest(i8 %x) {
- %dec.0 = add i8 %x, -1 ; <i8> [#uses=1]
- %tmp.1001 = trunc i8 %dec.0 to i1 ; <i1> [#uses=1]
- ret i1 %tmp.1001
-}
-
-define i32 @main() {
- %result = call i1 @doTest( i8 1 ) ; <i1> [#uses=1]
- %p = zext i1 %result to i32 ; <i32> [#uses=1]
- ret i32 %p
-}
-