Skip to content

Commit 5086fa0

Browse files
Kai Luotstellar
authored andcommitted
[PowerPC] Pre-commit reduced test case for PR45297. NFC.
(cherry picked from commit 70f9f4d)
1 parent 92d5c1b commit 5086fa0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

llvm/test/CodeGen/PowerPC/pr45297.ll

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \
2+
; RUN: -mattr=+altivec -mattr=-power8-vector -mattr=-vsx < %s | FileCheck %s
3+
; XFAIL: *
4+
5+
define dso_local void @test(float %0) local_unnamed_addr {
6+
entry:
7+
%1 = fptosi float %0 to i32
8+
store i32 %1, i32* undef, align 4
9+
ret void
10+
}

0 commit comments

Comments
 (0)