25 lines · plain
1# RUN: not llc -mtriple=x86_64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s2--- |3 define i64 @test(i64 %x) #0 {4 entry:5 %asm = tail call i64 asm sideeffect "$foo", "=r,0"(i64 %x) nounwind6 ret i64 %asm7 }8 9 attributes #0 = { nounwind }10...11---12name: test13tracksRegLiveness: true14liveins:15 - { reg: '$rdi' }16body: |17 bb.0.entry:18 liveins: $rdi19 20 ; CHECK: [[@LINE+1]]:78: expected tied-def or low-level type after '('21 INLINEASM &"$foo", 1, 2818058, def $rdi, 2147483657, killed $rdi(tied-def)22 $rax = COPY killed $rdi23 RET64 killed $rax24...25