diff options
| author | Puyan Lotfi <puyan@puyan.org> | 2018-01-10 00:56:48 +0000 |
|---|---|---|
| committer | Puyan Lotfi <puyan@puyan.org> | 2018-01-10 00:56:48 +0000 |
| commit | fe6c9cbb2440be652b9f7697bf945323e28a9fe4 (patch) | |
| tree | 95121243a6264879b6225330f250d4dc9b1a0eaf /llvm/test/CodeGen/PowerPC | |
| parent | 20db381b9056651dee80dd85c7a75894bb6bf31d (diff) | |
| download | bcm5719-llvm-fe6c9cbb2440be652b9f7697bf945323e28a9fe4.tar.gz bcm5719-llvm-fe6c9cbb2440be652b9f7697bf945323e28a9fe4.zip | |
[MIR] Repurposing '$' sigil used by external symbols. Replacing with '&'.
Planning to add support for named vregs. This puts is in a conundrum since
physregs are named as well. To rectify this we need to use a sigil other than
'%' for physregs in MIR. We've settled on using '$' for physregs but first we
must repurpose it from external symbols using it, which is what this commit is
all about. We think '&' will have familiar semantics for C/C++ users.
llvm-svn: 322146
Diffstat (limited to 'llvm/test/CodeGen/PowerPC')
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/aantidep-def-ec.mir | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/PowerPC/aantidep-def-ec.mir b/llvm/test/CodeGen/PowerPC/aantidep-def-ec.mir index 09aac7b0240..523329a345f 100644 --- a/llvm/test/CodeGen/PowerPC/aantidep-def-ec.mir +++ b/llvm/test/CodeGen/PowerPC/aantidep-def-ec.mir @@ -82,8 +82,8 @@ body: | BL8_NOP @__raw_read_unlock, csr_svr464_altivec, implicit-def %lr8, implicit %rm, implicit %x3, implicit %x2, implicit-def %r1, implicit-def dead %x3 %r3 = LI 0 STW killed %r3, 0, killed %x30 :: (volatile store 4 into %ir.p2) - INLINEASM $"#compiler barrier", 25 - INLINEASM $"\0Alwsync \0A1:\09lwarx\09$0,0,$1\09\09# atomic_dec_return\0A\09addic\09$0,$0,-1\0A\09stwcx.\09$0,0,$1\0A\09bne-\091b\0Async \0A", 25, 131083, def early-clobber %r3, 851977, killed %x29, 12, implicit-def dead early-clobber %cr0 + INLINEASM &"#compiler barrier", 25 + INLINEASM &"\0Alwsync \0A1:\09lwarx\09$0,0,$1\09\09# atomic_dec_return\0A\09addic\09$0,$0,-1\0A\09stwcx.\09$0,0,$1\0A\09bne-\091b\0Async \0A", 25, 131083, def early-clobber %r3, 851977, killed %x29, 12, implicit-def dead early-clobber %cr0 ; CHECK-LABEL: @mm_update_next_owner ; CHECK-NOT: lwarx 29, 0, 29 ; CHECK-NOT: stwcx. 29, 0, 29 |

