aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/truncstore-dag-combine.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/truncstore-dag-combine.ll')
-rw-r--r--test/CodeGen/ARM/truncstore-dag-combine.ll10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/CodeGen/ARM/truncstore-dag-combine.ll b/test/CodeGen/ARM/truncstore-dag-combine.ll
index 11fa022451f6..5142a305b3a7 100644
--- a/test/CodeGen/ARM/truncstore-dag-combine.ll
+++ b/test/CodeGen/ARM/truncstore-dag-combine.ll
@@ -1,5 +1,8 @@
; RUN: llc -mtriple=arm-eabi -mattr=+v4t %s -o - | FileCheck %s
+; CHECK-LABEL: bar
+; CHECK-NOT: orr
+; CHECK-NOT: mov
define void @bar(i8* %P, i16* %Q) {
entry:
%P1 = bitcast i8* %P to i16* ; <i16*> [#uses=1]
@@ -8,6 +11,9 @@ entry:
ret void
}
+; CHECK-LABEL: foo
+; CHECK-NOT: orr
+; CHECK-NOT: mov
define void @foo(i8* %P, i32* %Q) {
entry:
%P1 = bitcast i8* %P to i32* ; <i32*> [#uses=1]
@@ -15,7 +21,3 @@ entry:
store i32 %tmp, i32* %P1, align 1
ret void
}
-
-; CHECK-NOT: orr
-; CHECK-NOT: mov
-