Use static inline to do the right thing when built in C99 mode. Of course,
[llvm/stm8.git] / test / CodeGen / PowerPC / lha.ll
blob3a100c1aae6d692a85253de3b825a37bea898e3e
1 ; RUN: llc < %s -march=ppc32 | grep lha
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