aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/AVR/no-print-operand-twice.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/AVR/no-print-operand-twice.ll')
-rw-r--r--test/CodeGen/AVR/no-print-operand-twice.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/AVR/no-print-operand-twice.ll b/test/CodeGen/AVR/no-print-operand-twice.ll
new file mode 100644
index 000000000000..8326507768ba
--- /dev/null
+++ b/test/CodeGen/AVR/no-print-operand-twice.ll
@@ -0,0 +1,8 @@
+; RUN: llc -no-integrated-as -march=avr < %s | FileCheck %s
+
+define void @test() {
+entry:
+; CHECK: /* result: 68719476738 */
+ tail call void asm sideeffect "/* result: ${0:c} */", "i,~{dirflag},~{fpsr},~{flags}"( i64 68719476738 )
+ ret void
+}