X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FThumb2%2Fthumb2-strh.ll;h=dfd1c90d96232f20e5a531f5adba51a72957faab;hb=31e094b55d95a2ff61d88960543a279733dcb951;hp=944438361138f1f1d582331fde70523657b89b46;hpb=aca2998f143ae021e4c3999e32a68cfc084a3ba0;p=oota-llvm.git diff --git a/test/CodeGen/Thumb2/thumb2-strh.ll b/test/CodeGen/Thumb2/thumb2-strh.ll index 94443836113..dfd1c90d962 100644 --- a/test/CodeGen/Thumb2/thumb2-strh.ll +++ b/test/CodeGen/Thumb2/thumb2-strh.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s +; RUN: llc -mtriple=thumb-eabi -mcpu=arm1156t2-s -mattr=+thumb2 %s -o - | FileCheck %s define i16 @f1(i16 %a, i16* %v) { ; CHECK-LABEL: f1: @@ -10,7 +10,7 @@ define i16 @f1(i16 %a, i16* %v) { define i16 @f2(i16 %a, i16* %v) { ; CHECK-LABEL: f2: ; CHECK: strh.w r0, [r1, #4092] - %tmp2 = getelementptr i16* %v, i32 2046 + %tmp2 = getelementptr i16, i16* %v, i32 2046 store i16 %a, i16* %tmp2 ret i16 %a } @@ -18,7 +18,7 @@ define i16 @f2(i16 %a, i16* %v) { define i16 @f2a(i16 %a, i16* %v) { ; CHECK-LABEL: f2a: ; CHECK: strh r0, [r1, #-128] - %tmp2 = getelementptr i16* %v, i32 -64 + %tmp2 = getelementptr i16, i16* %v, i32 -64 store i16 %a, i16* %tmp2 ret i16 %a } @@ -27,7 +27,7 @@ define i16 @f3(i16 %a, i16* %v) { ; CHECK-LABEL: f3: ; CHECK: mov.w r2, #4096 ; CHECK: strh r0, [r1, r2] - %tmp2 = getelementptr i16* %v, i32 2048 + %tmp2 = getelementptr i16, i16* %v, i32 2048 store i16 %a, i16* %tmp2 ret i16 %a }