mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-19 18:10:14 +00:00
Make test for r220533 more robust by using GPR pattern.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220541 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7f7bf0da6a
commit
636864d8e7
@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
define <1 x double> @test_sitofp(<1 x i1> %in) {
|
define <1 x double> @test_sitofp(<1 x i1> %in) {
|
||||||
; CHECK-LABEL: test_sitofp:
|
; CHECK-LABEL: test_sitofp:
|
||||||
; CHECK: sbfx w8, w0, #0, #1
|
; CHECK: sbfx [[GPR:w[0-9]+]], w0, #0, #1
|
||||||
; CHECK-NEXT: scvtf d0, w8
|
; CHECK-NEXT: scvtf d0, [[GPR]]
|
||||||
; CHECK-NEXT: ret
|
; CHECK-NEXT: ret
|
||||||
entry:
|
entry:
|
||||||
%0 = sitofp <1 x i1> %in to <1 x double>
|
%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) {
|
define <1 x double> @test_uitofp(<1 x i1> %in) {
|
||||||
; CHECK-LABEL: test_uitofp:
|
; CHECK-LABEL: test_uitofp:
|
||||||
; CHECK: and w8, w0, #0x1
|
; CHECK: and [[GPR:w[0-9]+]], w0, #0x1
|
||||||
; CHECK-NEXT: ucvtf d0, w8
|
; CHECK-NEXT: ucvtf d0, [[GPR]]
|
||||||
; CHECK-NEXT: ret
|
; CHECK-NEXT: ret
|
||||||
entry:
|
entry:
|
||||||
%0 = uitofp <1 x i1> %in to <1 x double>
|
%0 = uitofp <1 x i1> %in to <1 x double>
|
||||||
|
Loading…
Reference in New Issue
Block a user