aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Thumb
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2012-04-27 20:48:18 +0000
committerEvan Cheng <evan.cheng@apple.com>2012-04-27 20:48:18 +0000
commitda71cca45843d3569bb6f7efe6ab67248d2ac8bb (patch)
treef9a5ce4558686df2699587964d54c9909ca65fe0 /test/CodeGen/Thumb
parente32e5440d6aaff8a77517e9d286846ae9e380770 (diff)
downloadexternal_llvm-da71cca45843d3569bb6f7efe6ab67248d2ac8bb.zip
external_llvm-da71cca45843d3569bb6f7efe6ab67248d2ac8bb.tar.gz
external_llvm-da71cca45843d3569bb6f7efe6ab67248d2ac8bb.tar.bz2
Make test less fragile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155732 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb')
-rw-r--r--test/CodeGen/Thumb/2012-04-26-M0ISelBug.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/Thumb/2012-04-26-M0ISelBug.ll b/test/CodeGen/Thumb/2012-04-26-M0ISelBug.ll
index 0ab5eae..a4c05d2 100644
--- a/test/CodeGen/Thumb/2012-04-26-M0ISelBug.ll
+++ b/test/CodeGen/Thumb/2012-04-26-M0ISelBug.ll
@@ -4,8 +4,8 @@
define i32 @t(i32 %a) nounwind {
; CHECK: t:
-; CHECK: asrs r1, r0, #31
-; CHECK: eors r1, r0
+; CHECK: asrs [[REG1:(r[0-9]+)]], [[REG2:(r[0-9]+)]], #31
+; CHECK: eors [[REG1]], [[REG2]]
%tmp0 = ashr i32 %a, 31
%tmp1 = xor i32 %tmp0, %a
ret i32 %tmp1