repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[lldb] Make sure Blocks always have a parent (#117683)
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
SystemZ
/
fp-const-01.ll
blob
fe0e63df4ae6a0a13dc86c1df1f5f6a5b91b6856
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(ptr %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, ptr %x
29
ret void
30
}