You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
380 B
13 lines
380 B
4 months ago
|
; RUN: llc -mtriple=linux-arm-gnueabihf -mattr=+neon %s -o - | FileCheck %s
|
||
|
|
||
|
; Check that no intermediate integer register is used.
|
||
|
define i32 @no-intermediate-register-for-zero-imm(double %x) #0 {
|
||
|
entry:
|
||
|
; CHECK-LABEL: no-intermediate-register-for-zero-imm
|
||
|
; CHECK-NOT: vmov
|
||
|
; CHECK: vcmp
|
||
|
%cmp = fcmp une double %x, 0.000000e+00
|
||
|
%conv = zext i1 %cmp to i32
|
||
|
ret i32 %conv
|
||
|
}
|