diff options
Diffstat (limited to 'llvm/test/CodeGen/MSP430/AddrMode-bis-xr.ll')
-rw-r--r-- | llvm/test/CodeGen/MSP430/AddrMode-bis-xr.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/MSP430/AddrMode-bis-xr.ll b/llvm/test/CodeGen/MSP430/AddrMode-bis-xr.ll index b40a48e8c1f..4b8f367a888 100644 --- a/llvm/test/CodeGen/MSP430/AddrMode-bis-xr.ll +++ b/llvm/test/CodeGen/MSP430/AddrMode-bis-xr.ll @@ -57,9 +57,9 @@ define void @am5(i16* %a, i16 %x) readonly { @baz = common global %S zeroinitializer define void @am6(i16 %x) nounwind { - %1 = load i16, i16* getelementptr (%S* @baz, i32 0, i32 1) + %1 = load i16, i16* getelementptr (%S, %S* @baz, i32 0, i32 1) %2 = or i16 %x, %1 - store i16 %2, i16* getelementptr (%S* @baz, i32 0, i32 1) + store i16 %2, i16* getelementptr (%S, %S* @baz, i32 0, i32 1) ret void } ; CHECK-LABEL: am6: |