summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll')
-rw-r--r--llvm/test/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll b/llvm/test/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll
index ebe4566aa18..9acaa726dbe 100644
--- a/llvm/test/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll
+++ b/llvm/test/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll
@@ -1,5 +1,5 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
+; RUN: llvm-as < %s | llc -march=c
-int %foo() {
- ret int and (int 123456, int cast (int()* %foo to int))
+define i32 @foo() {
+ ret i32 and (i32 123456, i32 ptrtoint (i32 ()* @foo to i32))
}
OpenPOWER on IntegriCloud