xref: /llvm-project/llvm/test/CodeGen/PowerPC/2007-01-29-lbrx-asm.ll (revision 427fb35192f1f7bb694a5910b05abc5925a798b2)
1; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
2; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64--
3
4define i16 @test(ptr %d1, ptr %d2) {
5	%tmp237 = call i16 asm "lhbrx $0, $2, $1", "=r,r,bO,m"( ptr %d1, i32 0, ptr %d2 )		; <i16> [#uses=1]
6	ret i16 %tmp237
7}
8