diff options
Diffstat (limited to 'test/CodeGen/Thumb/ldm-merge-struct.ll')
-rw-r--r-- | test/CodeGen/Thumb/ldm-merge-struct.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/Thumb/ldm-merge-struct.ll b/test/CodeGen/Thumb/ldm-merge-struct.ll index 2f732e0..9815a9e 100644 --- a/test/CodeGen/Thumb/ldm-merge-struct.ll +++ b/test/CodeGen/Thumb/ldm-merge-struct.ll @@ -11,8 +11,8 @@ entry: ; CHECK-LABEL: f: ; CHECK: ldm r[[BASE:[0-9]]], ; CHECK-NEXT-NOT: subs r[[BASE]] - %0 = load i32* getelementptr inbounds (%struct.S* @s, i32 0, i32 0), align 4 - %1 = load i32* getelementptr inbounds (%struct.S* @s, i32 0, i32 1), align 4 + %0 = load i32, i32* getelementptr inbounds (%struct.S, %struct.S* @s, i32 0, i32 0), align 4 + %1 = load i32, i32* getelementptr inbounds (%struct.S, %struct.S* @s, i32 0, i32 1), align 4 %cmp = icmp sgt i32 %0, %1 %2 = sub i32 0, %1 %cond.p = select i1 %cmp, i32 %1, i32 %2 |