diff options
author | Chris Lattner <sabre@nondot.org> | 2011-06-17 03:14:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-06-17 03:14:27 +0000 |
commit | 26b0000166ca3d00f2a1990b43a1f45cdac4e9b6 (patch) | |
tree | f6a7581ff89c965fe0b0d3fabc5b780a695c1ce5 /test/CodeGen/CellSPU/struct_1.ll | |
parent | cd4e0b593db6dfdb5cedbde47ea6603058b8ac6c (diff) | |
download | external_llvm-26b0000166ca3d00f2a1990b43a1f45cdac4e9b6.tar.gz external_llvm-26b0000166ca3d00f2a1990b43a1f45cdac4e9b6.tar.bz2 external_llvm-26b0000166ca3d00f2a1990b43a1f45cdac4e9b6.zip |
manually upgrade a bunch of tests to modern syntax, and remove some that
are either unreduced or only test old syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133228 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/CellSPU/struct_1.ll')
-rw-r--r-- | test/CodeGen/CellSPU/struct_1.ll | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/CodeGen/CellSPU/struct_1.ll b/test/CodeGen/CellSPU/struct_1.ll index 8ee7d93225..adbb5efa28 100644 --- a/test/CodeGen/CellSPU/struct_1.ll +++ b/test/CodeGen/CellSPU/struct_1.ll @@ -47,19 +47,19 @@ target triple = "spu" ; struct hackstate state = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } @state = global %struct.hackstate zeroinitializer, align 16 -define i8 @get_hackstate_c1() zeroext nounwind { +define zeroext i8 @get_hackstate_c1() nounwind { entry: %tmp2 = load i8* getelementptr (%struct.hackstate* @state, i32 0, i32 0), align 16 ret i8 %tmp2 } -define i8 @get_hackstate_c2() zeroext nounwind { +define zeroext i8 @get_hackstate_c2() nounwind { entry: %tmp2 = load i8* getelementptr (%struct.hackstate* @state, i32 0, i32 1), align 16 ret i8 %tmp2 } -define i8 @get_hackstate_c3() zeroext nounwind { +define zeroext i8 @get_hackstate_c3() nounwind { entry: %tmp2 = load i8* getelementptr (%struct.hackstate* @state, i32 0, i32 2), align 16 ret i8 %tmp2 @@ -71,19 +71,19 @@ entry: ret i32 %tmp2 } -define i16 @get_hackstate_s1() signext nounwind { +define signext i16 @get_hackstate_s1() nounwind { entry: %tmp2 = load i16* getelementptr (%struct.hackstate* @state, i32 0, i32 4), align 16 ret i16 %tmp2 } -define i8 @get_hackstate_c6() zeroext nounwind { +define zeroext i8 @get_hackstate_c6() nounwind { entry: %tmp2 = load i8* getelementptr (%struct.hackstate* @state, i32 0, i32 8), align 16 ret i8 %tmp2 } -define i8 @get_hackstate_c7() zeroext nounwind { +define zeroext i8 @get_hackstate_c7() nounwind { entry: %tmp2 = load i8* getelementptr (%struct.hackstate* @state, i32 0, i32 9), align 16 ret i8 %tmp2 |