[Hexagon] Fixing load instruction parsing and reenabling tests.
[oota-llvm.git] / test / CodeGen / MSP430 / AddrMode-bis-xr.ll
index b40a48e8c1f78ff5d815165cc5989596a8f512ed..4b8f367a8880ed4044c76ccc19ab097e0be01cf5 100644 (file)
@@ -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: