☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
llvm
/
test
/
CodeGen
/
PowerPC
/
lha.ll
☽
☼
llvm/test/CodeGen/PowerPC/lha.ll
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep lha
2
3
define i32 @test(ptr %a) {
4
%tmp.1 = load i16, ptr %a ; <i16> [#uses=1]
5
%tmp.2 = sext i16 %tmp.1 to i32 ; <i32> [#uses=1]
6
ret i32 %tmp.2
7
}
8