Followup on Proposal to move MIR physical register namespace to '$' sigil.

Discussed here:

http://lists.llvm.org/pipermail/llvm-dev/2018-January/120320.html

In preparation for adding support for named vregs we are changing the sigil for
physical registers in MIR to '$' from '%'. This will prevent name clashes of
named physical register with named vregs.

llvm-svn: 323922
diff --git a/llvm/test/CodeGen/Hexagon/cext-opt-basic.mir b/llvm/test/CodeGen/Hexagon/cext-opt-basic.mir
index 63530c8..b47f584 100644
--- a/llvm/test/CodeGen/Hexagon/cext-opt-basic.mir
+++ b/llvm/test/CodeGen/Hexagon/cext-opt-basic.mir
@@ -26,7 +26,7 @@
 ...
 
 # CHECK-LABEL: name: test1
-# CHECK: [[C:%[0-9]+]]:intregs = COPY %r0
+# CHECK: [[C:%[0-9]+]]:intregs = COPY $r0
 # CHECK: [[B:%[0-9]+]]:intregs = A2_addi [[C]], @global_address
 # CHECK: L2_loadri_io [[B]], 0
 # CHECK: L2_loadri_io [[B]], 4
@@ -40,20 +40,20 @@
   - { id: 3, class: intregs }
 body: |
   bb.0:
-    liveins: %r0
-    %0 = COPY %r0
+    liveins: $r0
+    %0 = COPY $r0
     %1 = L4_loadri_ur %0, 0, @global_address
     %2 = L4_loadri_ur %0, 0, @global_address+4
     %3 = L4_loadri_ur %0, 0, @global_address+8
 ...
 
 # CHECK-LABEL: name: test2
-# CHECK: [[C:%[0-9]+]]:intregs = COPY %r0
+# CHECK: [[C:%[0-9]+]]:intregs = COPY $r0
 # CHECK: [[B:%[0-9]+]]:intregs = A2_tfrsi @global_address + 4
 # CHECK: [[T0:%[0-9]+]]:intregs = A2_addi [[B]], -4
-# CHECK: %r0 = COPY [[T0]]
+# CHECK: $r0 = COPY [[T0]]
 # CHECK: [[T1:%[0-9]+]]:intregs = A2_addi [[B]], -2
-# CHECK: %r1 = COPY [[T1]]
+# CHECK: $r1 = COPY [[T1]]
 # CHECK: L4_loadri_rr [[B]], [[C]], 0
 ---
 name: test2
@@ -64,11 +64,11 @@
   - { id: 3, class: intregs }
 body: |
   bb.0:
-    liveins: %r0
-    %0 = COPY %r0
+    liveins: $r0
+    %0 = COPY $r0
     %1 = A2_tfrsi @global_address
-    %r0 = COPY %1
+    $r0 = COPY %1
     %2 = A2_tfrsi @global_address+2
-    %r1 = COPY %2
+    $r1 = COPY %2
     %3 = L4_loadri_ur %0, 0, @global_address+4
 ...