1 ; This cannot be a stfiwx
2 ; RUN: llc < %s -march=ppc32 -mcpu=g5 | grep stb
3 ; RUN: llc < %s -march=ppc32 -mcpu=g5 | not grep stfiwx
4
5 define void @test(float %F, i8* %P) {
6 %I = fptosi float %F to i32
7 %X = trunc i32 %I to i8
8 store i8 %X, i8* %P
9 ret void
10 }
11
12