diff options
Diffstat (limited to 'llvm/test/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll')
-rw-r--r-- | llvm/test/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll | 6 |
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)) } |