From 73773ce844c37eb91a02ee9b36c6c82900e961a9 Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Thu, 8 May 2014 22:45:07 +0000 Subject: [PATCH] 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! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208368 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/ARM/func-argpassing-endian.ll | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/CodeGen/ARM/func-argpassing-endian.ll b/test/CodeGen/ARM/func-argpassing-endian.ll index a0944413310..26f0597a05a 100644 --- a/test/CodeGen/ARM/func-argpassing-endian.ll +++ b/test/CodeGen/ARM/func-argpassing-endian.ll @@ -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 -- 2.34.1