File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change
1
+ ; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu | FileCheck %s
2
+
3
+ define void @ExpandFloat (ptr %p1 ) {
4
+ ; CHECK: stfd 0, 8(3)
5
+ ; CHECK-NEXT: stfd 0, 0(3)
6
+ ; CHECK-NEXT: blr
7
+ entry:
8
+ store volatile ppc_fp128 poison, ptr %p1
9
+ ret void
10
+ }
11
+
Original file line number Diff line number Diff line change 1
1
; RUN: llc < %s -mtriple=riscv32 | FileCheck %s
2
2
3
- define void @bar (ptr %p1 ) {
4
- ; CHECK-LABEL: bar :
3
+ define void @SoftenFloat (ptr %p1 ) {
4
+ ; CHECK-LABEL: SoftenFloat :
5
5
; CHECK: # %bb.0: # %entry
6
6
; CHECK-NEXT: sw a0, 4(a0)
7
7
; CHECK-NEXT: sw a0, 0(a0)
12
12
ret void
13
13
}
14
14
15
-
16
- define void @foo (ptr %p1 ) {
17
- ; CHECK-LABEL: foo:
15
+ define void @PromoteHalf (ptr %p1 ) {
16
+ ; CHECK-LABEL: PromoteHalf:
18
17
; CHECK: # %bb.0: # %entry
19
18
; CHECK-NEXT: sh a0, 0(a0)
20
19
; CHECK-NEXT: ret
You can’t perform that action at this time.
0 commit comments