[llvm] r220541 - Make test for r220533 more robust by using GPR pattern.
Ahmed Bougacha
ahmed.bougacha at gmail.com
Thu Oct 23 17:03:46 PDT 2014
Author: ab
Date: Thu Oct 23 19:03:46 2014
New Revision: 220541
URL: http://llvm.org/viewvc/llvm-project?rev=220541&view=rev
Log:
Make test for r220533 more robust by using GPR pattern.
Modified:
llvm/trunk/test/CodeGen/AArch64/fpconv-vector-op-scalarize.ll
Modified: llvm/trunk/test/CodeGen/AArch64/fpconv-vector-op-scalarize.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/fpconv-vector-op-scalarize.ll?rev=220541&r1=220540&r2=220541&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/AArch64/fpconv-vector-op-scalarize.ll (original)
+++ llvm/trunk/test/CodeGen/AArch64/fpconv-vector-op-scalarize.ll Thu Oct 23 19:03:46 2014
@@ -7,8 +7,8 @@
define <1 x double> @test_sitofp(<1 x i1> %in) {
; CHECK-LABEL: test_sitofp:
-; CHECK: sbfx w8, w0, #0, #1
-; CHECK-NEXT: scvtf d0, w8
+; CHECK: sbfx [[GPR:w[0-9]+]], w0, #0, #1
+; CHECK-NEXT: scvtf d0, [[GPR]]
; CHECK-NEXT: ret
entry:
%0 = sitofp <1 x i1> %in to <1 x double>
@@ -17,8 +17,8 @@ entry:
define <1 x double> @test_uitofp(<1 x i1> %in) {
; CHECK-LABEL: test_uitofp:
-; CHECK: and w8, w0, #0x1
-; CHECK-NEXT: ucvtf d0, w8
+; CHECK: and [[GPR:w[0-9]+]], w0, #0x1
+; CHECK-NEXT: ucvtf d0, [[GPR]]
; CHECK-NEXT: ret
entry:
%0 = uitofp <1 x i1> %in to <1 x double>
More information about the llvm-commits
mailing list