diff options
author | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2017-12-14 10:02:58 +0000 |
---|---|---|
committer | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2017-12-14 10:02:58 +0000 |
commit | d398775f54e28939948f5c87450b1afc129667e2 (patch) | |
tree | 48093e7d8683dfb2ab9661bd5bf4735f9cbffc78 /test | |
parent | 367e62b5396dc4571565da3afc2820a1d6bca704 (diff) |
[CodeGen] Print external symbols as $symbol in both MIR and debug output
Work towards the unification of MIR and debug output by printing
`$symbol` instead of `<es:symbol>`.
Only debug syntax is affected.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320681 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/ARM/Windows/vla-cpsr.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/PowerPC/2009-07-16-InlineAsm-M-Operand.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/X86/inline-asm-fpstack.ll | 4 | ||||
-rw-r--r-- | test/CodeGen/X86/stack-protector-weight.ll | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/ARM/Windows/vla-cpsr.ll b/test/CodeGen/ARM/Windows/vla-cpsr.ll index 39527425a76..a6bef8c178f 100644 --- a/test/CodeGen/ARM/Windows/vla-cpsr.ll +++ b/test/CodeGen/ARM/Windows/vla-cpsr.ll @@ -9,5 +9,5 @@ entry: ret void } -; CHECK: tBL pred:14, pred:%noreg, <es:__chkstk>, implicit-def %lr, implicit %sp, implicit killed %r4, implicit-def %r4, implicit-def dead %r12, implicit-def dead %cpsr +; CHECK: tBL pred:14, pred:%noreg, $__chkstk, implicit-def %lr, implicit %sp, implicit killed %r4, implicit-def %r4, implicit-def dead %r12, implicit-def dead %cpsr diff --git a/test/CodeGen/PowerPC/2009-07-16-InlineAsm-M-Operand.ll b/test/CodeGen/PowerPC/2009-07-16-InlineAsm-M-Operand.ll index 50b35f55f41..76468f63ee7 100644 --- a/test/CodeGen/PowerPC/2009-07-16-InlineAsm-M-Operand.ll +++ b/test/CodeGen/PowerPC/2009-07-16-InlineAsm-M-Operand.ll @@ -8,7 +8,7 @@ define void @memory_asm_operand(i32 %a) { ; "m" operand will be represented as: - ; INLINEASM <es:fake $0>, 10, %R2, 20, -4, %R1 + ; INLINEASM fake $0, 10, %R2, 20, -4, %R1 ; It is difficult to find the flag operand (20) when starting from %R1 call i32 asm "lbzx $0, $1", "=r,m" (i32 %a) ret void diff --git a/test/CodeGen/X86/inline-asm-fpstack.ll b/test/CodeGen/X86/inline-asm-fpstack.ll index c66121e10c7..b6ac8a18b40 100644 --- a/test/CodeGen/X86/inline-asm-fpstack.ll +++ b/test/CodeGen/X86/inline-asm-fpstack.ll @@ -437,8 +437,8 @@ entry: ; inline-asm instruction and the ST register was live across another ; inline-asm instruction. ; -; INLINEASM <es:frndint> [sideeffect] [attdialect], $0:[regdef], %st0<imp-def,tied5>, $1:[reguse tiedto:$0], %st0<tied3>, $2:[clobber], early-clobber implicit dead %eflags -; INLINEASM <es:fldcw $0> [sideeffect] [mayload] [attdialect], $0:[mem], undef %eax, 1, %noreg, 0, %noreg, $1:[clobber], early-clobber implicit dead %eflags +; INLINEASM $frndint [sideeffect] [attdialect], $0:[regdef], %st0<imp-def,tied5>, $1:[reguse tiedto:$0], %st0<tied3>, $2:[clobber], early-clobber implicit dead %eflags +; INLINEASM $fldcw $0 [sideeffect] [mayload] [attdialect], $0:[mem], undef %eax, 1, %noreg, 0, %noreg, $1:[clobber], early-clobber implicit dead %eflags ; %fp0 = COPY %st0 %struct.fpu_t = type { [8 x x86_fp80], x86_fp80, %struct.anon1, %struct.anon2, i32, i8, [15 x i8] } diff --git a/test/CodeGen/X86/stack-protector-weight.ll b/test/CodeGen/X86/stack-protector-weight.ll index 3708d216f8d..74050195277 100644 --- a/test/CodeGen/X86/stack-protector-weight.ll +++ b/test/CodeGen/X86/stack-protector-weight.ll @@ -6,7 +6,7 @@ ; DARWIN-SELDAG: # Machine code for function test_branch_weights: ; DARWIN-SELDAG: Successors according to CFG: %bb.[[SUCCESS:[0-9]+]]({{[0-9a-fx/= ]+}}100.00%) %bb.[[FAILURE:[0-9]+]] ; DARWIN-SELDAG: %bb.[[FAILURE]]: -; DARWIN-SELDAG: CALL64pcrel32 <es:__stack_chk_fail> +; DARWIN-SELDAG: CALL64pcrel32 $__stack_chk_fail ; DARWIN-SELDAG: %bb.[[SUCCESS]]: ; DARWIN-IR: # Machine code for function test_branch_weights: |