diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-02-15 23:58:25 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-02-15 23:58:25 +0000 |
| commit | 8f51fa82c047399560b5e920e990f7a780694042 (patch) | |
| tree | 93b9fe2046f02de61563cf960e196a7aee4ec8f2 /llvm/test | |
| parent | 8321a155a5ee379fdbc8b0c9012c6b74d690ef3e (diff) | |
| download | bcm5719-llvm-8f51fa82c047399560b5e920e990f7a780694042.tar.gz bcm5719-llvm-8f51fa82c047399560b5e920e990f7a780694042.zip | |
upgrade this test, which wasn't testing the right thing since llvm-upgrade came around.
llvm-svn: 47194
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/Assembler/2004-03-07-FunctionAddressAlignment.ll | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/test/Assembler/2004-03-07-FunctionAddressAlignment.ll b/llvm/test/Assembler/2004-03-07-FunctionAddressAlignment.ll index 909585cddf1..e3bf0bb8ac7 100644 --- a/llvm/test/Assembler/2004-03-07-FunctionAddressAlignment.ll +++ b/llvm/test/Assembler/2004-03-07-FunctionAddressAlignment.ll @@ -1,15 +1,15 @@ -; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | not grep cast +; RUN: llvm-as < %s | llvm-dis | not grep ptrtoint ; All of these should be eliminable -int %foo() { - ret int and (int cast (int()* %foo to int), int 1) +define i32 @foo() { + ret i32 and (i32 ptrtoint (i32()* @foo to i32), i32 1) } -int %foo2() { - ret int and (int 1, int cast (int()* %foo2 to int)) +define i32 @foo2() { + ret i32 and (i32 1, i32 ptrtoint (i32()* @foo2 to i32)) } -bool %foo3() { - ret bool cast (bool()* %foo3 to bool) +define i1 @foo3() { + ret i1 icmp ne (i1()* @foo3, i1()* null) } |

