Home | History | Annotate | Download | only in PowerPC
      1 ; RUN: llc < %s -mtriple=powerpc-unknown-linux-gnu -mcpu=g5 | FileCheck %s
      2 
      3 define void @test(float %F, i8* %P) {
      4 	%I = fptosi float %F to i32
      5 	%X = trunc i32 %I to i8
      6 	store i8 %X, i8* %P
      7 	ret void
      8 ; CHECK: fctiwz 0, 1
      9 ; CHECK: stfiwx 0, 0, 4
     10 ; CHECK: lwz 4, 12(1)
     11 ; CHECK: stb 4, 0(3)
     12 ; CHECK: blr
     13 }
     14 
     15