mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 23:42:52 +01:00
142428ce64
llvm-svn: 81293
12 lines
258 B
LLVM
12 lines
258 B
LLVM
; This cannot be a stfiwx
|
|
; RUN: llc < %s -march=ppc32 -mcpu=g5 | grep stb
|
|
; RUN: llc < %s -march=ppc32 -mcpu=g5 | not grep stfiwx
|
|
|
|
define void @test(float %F, i8* %P) {
|
|
%I = fptosi float %F to i32
|
|
%X = trunc i32 %I to i8
|
|
store i8 %X, i8* %P
|
|
ret void
|
|
}
|
|
|