[PowerPC] Pre-commit reduced test case for PR45297. NFC.

This commit is contained in:
Kai Luo 2020-03-25 06:19:59 +00:00
parent 2c080a3f23
commit 70f9f4dd9d
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \
; RUN: -mattr=+altivec -mattr=-power8-vector -mattr=-vsx < %s | FileCheck %s
; XFAIL: *
define dso_local void @test(float %0) local_unnamed_addr {
entry:
%1 = fptosi float %0 to i32
store i32 %1, i32* undef, align 4
ret void
}