Changes in directory llvm/test/CodeGen/ARM:
2007-01-31-RegInfoAssert.ll added (r1.1) --- Log message: Add a test case. --- Diffs of the changes: (+16 -0) 2007-01-31-RegInfoAssert.ll | 16 ++++++++++++++++ 1 files changed, 16 insertions(+) Index: llvm/test/CodeGen/ARM/2007-01-31-RegInfoAssert.ll diff -c /dev/null llvm/test/CodeGen/ARM/2007-01-31-RegInfoAssert.ll:1.1 *** /dev/null Wed Jan 31 20:27:34 2007 --- llvm/test/CodeGen/ARM/2007-01-31-RegInfoAssert.ll Wed Jan 31 20:27:24 2007 *************** *** 0 **** --- 1,16 ---- + ; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -enable-thumb + + %struct.rtx_def = type { i8 } + @str = external global [7 x i8] + + define void @f1() { + %D = alloca %struct.rtx_def, align 1 + %tmp1 = bitcast %struct.rtx_def* %D to i32* + %tmp7 = load i32* %tmp1 + %tmp14 = lshr i32 %tmp7, i8 1 + %tmp1415 = and i32 %tmp14, 1 + call void (i32, ...)* @printf( i32 undef, i32 0, i32 %tmp1415 ) + ret void + } + + declare void @printf(i32, ...) _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits