xref: /llvm-project/llvm/test/CodeGen/Thumb/2007-01-31-RegInfoAssert.ll (revision e6bf3fa05b3706197143414a56be05ce014ebe01)
1; RUN: llc < %s -mtriple=thumb-apple-darwin
2
3%struct.rtx_def = type { i8 }
4@str = external global [7 x i8]
5
6define void @f1() {
7	%D = alloca %struct.rtx_def, align 1
8	%tmp7 = load i32, ptr %D
9	%tmp14 = lshr i32 %tmp7, 1
10	%tmp1415 = and i32 %tmp14, 1
11	call void (i32, ...) @printf( i32 undef, i32 0, i32 %tmp1415 )
12	ret void
13}
14
15declare void @printf(i32, ...)
16