diff --git a/test/CodeGen/Thumb2/inlineasm.ll b/test/CodeGen/Thumb2/inlineasm.ll new file mode 100644 index 00000000000..30f28f8f0d5 --- /dev/null +++ b/test/CodeGen/Thumb2/inlineasm.ll @@ -0,0 +1,9 @@ +; RUN: llc < %s -filetype=obj + +target triple = "thumbv7-none--eabi" + +define void @t1() nounwind { +entry: + call void asm sideeffect "mov r0, r1", ""() nounwind + ret void +}