[llvm] r208368 - test/CodeGen: Check that the correct register is used in a store
Justin Bogner
mail at justinbogner.com
Thu May 8 15:45:07 PDT 2014
Author: bogner
Date: Thu May 8 17:45:07 2014
New Revision: 208368
URL: http://llvm.org/viewvc/llvm-project?rev=208368&view=rev
Log:
test/CodeGen: Check that the correct register is used in a store
This tightens up r208351 to ensure that a store is fed with the
correct value.
Thanks to Quentin Colombet for spotting this!
Modified:
llvm/trunk/test/CodeGen/ARM/func-argpassing-endian.ll
Modified: llvm/trunk/test/CodeGen/ARM/func-argpassing-endian.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/func-argpassing-endian.ll?rev=208368&r1=208367&r2=208368&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/func-argpassing-endian.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/func-argpassing-endian.ll Thu May 8 17:45:07 2014
@@ -23,10 +23,10 @@ define void @arg_double( double %val ) {
define void @arg_v4i32(<4 x i32> %vec ) {
; CHECK-LABEL: arg_v4i32:
; CHECK-LE: vmov {{d[0-9]+}}, r2, r3
-; CHECK-LE: vmov {{d[0-9]+}}, r0, r1
+; CHECK-LE: vmov [[ARG_V4I32_REG:d[0-9]+]], r0, r1
; CHECK-BE: vmov {{d[0-9]+}}, r3, r2
-; CHECK-BE: vmov {{d[0-9]+}}, r1, r0
-; CHECK: vst1.32 {{{d[0-9]+}}[0]}, [r0:32]
+; CHECK-BE: vmov [[ARG_V4I32_REG:d[0-9]+]], r1, r0
+; CHECK: vst1.32 {[[ARG_V4I32_REG]][0]}, [r0:32]
%tmp = extractelement <4 x i32> %vec, i32 0
store i32 %tmp, i32* @var32
ret void
More information about the llvm-commits
mailing list