1; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep lha
2
3define i32 @test(i16* %a) {
4        %tmp.1 = load i16, 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