Home | History | Annotate | Download | only in PowerPC
      1 ; RUN: llc < %s -march=ppc32 | grep lha
      2 
      3 define i32 @test(i16* %a) {
      4         %tmp.1 = load i16* %a           ; <i16> [#uses=1]
      5         %tmp.2 = sext i16 %tmp.1 to i32         ; <i32> [#uses=1]
      6         ret i32 %tmp.2
      7 }
      8 
      9