c49b25cc2303987fc8cfda666cfe62814a447342
[oota-llvm.git] / test / CodeGen / PowerPC / stfiwx-2.ll
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