blob: 5c4a834be4457d5f7f17870b2701381ce528ec1b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
; This cannot be a stfiwx
; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep stb
; RUN: llvm-as < %s | llc -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
}
|