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/Mips | |
| 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/Mips')
| -rw-r--r-- | llvm/test/CodeGen/Mips/mirparser/target-flags-pic-mxgot-tls.mir | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/llvm/test/CodeGen/Mips/mirparser/target-flags-pic-mxgot-tls.mir b/llvm/test/CodeGen/Mips/mirparser/target-flags-pic-mxgot-tls.mir index 05923377ec6..6cd0896de75 100644 --- a/llvm/test/CodeGen/Mips/mirparser/target-flags-pic-mxgot-tls.mir +++ b/llvm/test/CodeGen/Mips/mirparser/target-flags-pic-mxgot-tls.mir @@ -166,9 +166,9 @@ body: | %16 = LW killed %15, 0 :: (dereferenceable load 4 from @v) %0 = ADDu killed %12, killed %16 ADJCALLSTACKDOWN 0, 0, implicit-def dead %sp, implicit %sp - %17 = LUi64 target-flags(mips-call-hi16) $__tls_get_addr + %17 = LUi64 target-flags(mips-call-hi16) &__tls_get_addr %18 = DADDu killed %17, %6 - %19 = LD killed %18, target-flags(mips-call-lo16) $__tls_get_addr :: (load 8 from call-entry $__tls_get_addr) + %19 = LD killed %18, target-flags(mips-call-lo16) &__tls_get_addr :: (load 8 from call-entry &__tls_get_addr) %20 = DADDiu %6, target-flags(mips-tlsldm) @__tls_guard %a0_64 = COPY %20 %gp_64 = COPY %6 @@ -184,9 +184,9 @@ body: | successors: %bb.3._ZTW1k.exit(0x80000000) ADJCALLSTACKDOWN 0, 0, implicit-def dead %sp, implicit %sp - %39 = LUi64 target-flags(mips-call-hi16) $__tls_get_addr + %39 = LUi64 target-flags(mips-call-hi16) &__tls_get_addr %40 = DADDu killed %39, %6 - %41 = LD killed %40, target-flags(mips-call-lo16) $__tls_get_addr :: (load 8 from call-entry $__tls_get_addr) + %41 = LD killed %40, target-flags(mips-call-lo16) &__tls_get_addr :: (load 8 from call-entry &__tls_get_addr) %42 = DADDiu %6, target-flags(mips-tlsgd) @k %a0_64 = COPY %42 %gp_64 = COPY %6 @@ -200,9 +200,9 @@ body: | successors: %bb.3._ZTW1k.exit(0x80000000) ADJCALLSTACKDOWN 0, 0, implicit-def dead %sp, implicit %sp - %24 = LUi64 target-flags(mips-call-hi16) $__tls_get_addr + %24 = LUi64 target-flags(mips-call-hi16) &__tls_get_addr %25 = DADDu killed %24, %6 - %26 = LD %25, target-flags(mips-call-lo16) $__tls_get_addr :: (load 8 from call-entry $__tls_get_addr) + %26 = LD %25, target-flags(mips-call-lo16) &__tls_get_addr :: (load 8 from call-entry &__tls_get_addr) %27 = DADDiu %6, target-flags(mips-tlsldm) @__tls_guard %a0_64 = COPY %27 %gp_64 = COPY %6 @@ -223,7 +223,7 @@ body: | ADJCALLSTACKUP 0, 0, implicit-def dead %sp, implicit %sp %35 = COPY %v0 ADJCALLSTACKDOWN 0, 0, implicit-def dead %sp, implicit %sp - %36 = LD %25, target-flags(mips-call-lo16) $__tls_get_addr :: (load 8 from call-entry $__tls_get_addr) + %36 = LD %25, target-flags(mips-call-lo16) &__tls_get_addr :: (load 8 from call-entry &__tls_get_addr) %37 = DADDiu %6, target-flags(mips-tlsgd) @k %a0_64 = COPY %37 %gp_64 = COPY %6 @@ -257,9 +257,9 @@ body: | bb.5._ZTW1j.exit: ADJCALLSTACKDOWN 0, 0, implicit-def dead %sp, implicit %sp - %50 = LUi64 target-flags(mips-call-hi16) $__tls_get_addr + %50 = LUi64 target-flags(mips-call-hi16) &__tls_get_addr %51 = DADDu killed %50, %6 - %52 = LD killed %51, target-flags(mips-call-lo16) $__tls_get_addr :: (load 8 from call-entry $__tls_get_addr) + %52 = LD killed %51, target-flags(mips-call-lo16) &__tls_get_addr :: (load 8 from call-entry &__tls_get_addr) %53 = DADDiu %6, target-flags(mips-tlsgd) @j %a0_64 = COPY %53 %gp_64 = COPY %6 |

