comparison test/CodeGen/MIR/X86/expected-tied-def-after-lparen.mir @ 120:1172e4bd9c6f

update 4.0.0
author mir3636
date Fri, 25 Nov 2016 19:14:25 +0900
parents afa8332a0e37
children 3a76565eade5
comparison
equal deleted inserted replaced
101:34baf5011add 120:1172e4bd9c6f
1 # RUN: not llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s 1 # RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2 --- | 2 --- |
3 define i64 @test(i64 %x) #0 { 3 define i64 @test(i64 %x) #0 {
4 entry: 4 entry:
5 %asm = tail call i64 asm sideeffect "$foo", "=r,0"(i64 %x) nounwind 5 %asm = tail call i64 asm sideeffect "$foo", "=r,0"(i64 %x) nounwind
6 ret i64 %asm 6 ret i64 %asm
8 8
9 attributes #0 = { nounwind } 9 attributes #0 = { nounwind }
10 ... 10 ...
11 --- 11 ---
12 name: test 12 name: test
13 hasInlineAsm: true
14 tracksRegLiveness: true 13 tracksRegLiveness: true
15 liveins: 14 liveins:
16 - { reg: '%rdi' } 15 - { reg: '%rdi' }
17 body: | 16 body: |
18 bb.0.entry: 17 bb.0.entry:
19 liveins: %rdi 18 liveins: %rdi
20 19
21 ; CHECK: [[@LINE+1]]:70: expected 'tied-def' after '(' 20 ; CHECK: [[@LINE+1]]:70: expected tied-def or low-level type after '('
22 INLINEASM $"$foo", 1, 2818058, def %rdi, 2147483657, killed %rdi(3) 21 INLINEASM $"$foo", 1, 2818058, def %rdi, 2147483657, killed %rdi(3)
23 %rax = COPY killed %rdi 22 %rax = COPY killed %rdi
24 RETQ killed %rax 23 RETQ killed %rax
25 ... 24 ...