repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] More MVE compare vector splat combines for ANDs
[llvm-complete.git]
/
test
/
CodeGen
/
SystemZ
/
fp-const-01.ll
blob
3a4ddf087803ee9e9c68d46e66400e1c2cd612c6
1
; Test loads of floating-point zero.
2
;
3
; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
4
5
; Test f32.
6
define float @f1() {
7
; CHECK-LABEL: f1:
8
; CHECK: lzer %f0
9
; CHECK: br %r14
10
ret float 0.0
11
}
12
13
; Test f64.
14
define double @f2() {
15
; CHECK-LABEL: f2:
16
; CHECK: lzdr %f0
17
; CHECK: br %r14
18
ret double 0.0
19
}
20
21
; Test f128.
22
define void @f3(fp128 *%x) {
23
; CHECK-LABEL: f3:
24
; CHECK: lzxr %f0
25
; CHECK: std %f0, 0(%r2)
26
; CHECK: std %f2, 8(%r2)
27
; CHECK: br %r14
28
store fp128 0xL00000000000000000000000000000000, fp128 *%x
29
ret void
30
}