Implement the arm 'L' asm modifier.
[oota-llvm.git] / test / CodeGen / ARM / arm-modifier.ll
index 6b0da44ed558cb1b14b2ca9463b88dc8afad55d3..91629a9ab242e2be98730b83d1164042365e30e2 100644 (file)
@@ -21,3 +21,11 @@ entry:
 call void asm sideeffect ".word ${0:B} \0A\09", "i"(i32 0) nounwind, !srcloc !0
 ret void
 }
+
+define void @f1() nounwind ssp {
+entry:
+; CHECK: f1
+; CHECK: .word 65535
+call void asm sideeffect ".word ${0:L} \0A\09", "i"(i32 -1) nounwind, !srcloc !0
+ret void
+}