[X86] Fix gisel copy tests to fix issue reported on D77354
diff --git a/llvm/test/CodeGen/X86/GlobalISel/select-copy.mir b/llvm/test/CodeGen/X86/GlobalISel/select-copy.mir
index c4d6be6..72a6ed1 100644
--- a/llvm/test/CodeGen/X86/GlobalISel/select-copy.mir
+++ b/llvm/test/CodeGen/X86/GlobalISel/select-copy.mir
@@ -40,10 +40,10 @@
 registers:
   - { id: 0, class: gpr, preferred-register: '' }
   - { id: 1, class: gpr, preferred-register: '' }
-# ALL           %0:gr8 = COPY $al
-# ALL-NEXT      %1:gr32 = MOVZX32rr8 %0
-# ALL-NEXT      $eax = COPY %1
-# ALL-NEXT      RET 0, implicit $eax
+# ALL:          %0:gr8 = COPY $al
+# ALL-NEXT:     %1:gr32 = MOVZX32rr8 %0
+# ALL-NEXT:     $eax = COPY %1
+# ALL-NEXT:     RET 0, implicit $eax
 body:             |
   bb.1 (%ir-block.0):
     liveins: $eax
@@ -95,11 +95,13 @@
   - { id: 0, class: gpr, preferred-register: '' }
   - { id: 1, class: gpr, preferred-register: '' }
   - { id: 2, class: gpr, preferred-register: '' }
-# ALL           %0:gr16 = COPY $ax
-# ALL-NEXT      %1:gr8 = COPY %0.sub_8bit
-# ALL-NEXT      %2:gr32 = MOVZX32rr8 %1
-# ALL-NEXT      $eax = COPY %2
-# ALL-NEXT      RET 0, implicit $eax
+# ALL:          %0:gr16 = COPY $ax
+# X32-NEXT:     %3:gr16_abcd = COPY %0
+# X32-NEXT:     %1:gr8_abcd_l = COPY %3.sub_8bit
+# X64-NEXT:     %1:gr8 = COPY %0.sub_8bit
+# ALL-NEXT:     %2:gr32 = MOVZX32rr8 %1
+# ALL-NEXT:     $eax = COPY %2
+# ALL-NEXT:     RET 0, implicit $eax
 body:             |
   bb.1 (%ir-block.0):
     liveins: $eax
@@ -125,11 +127,11 @@
   - { id: 0, class: gpr, preferred-register: '' }
   - { id: 1, class: gpr, preferred-register: '' }
   - { id: 2, class: gpr, preferred-register: '' }
-# ALL           %0:gr32 = COPY $eax
-# ALL-NEXT      %1:gr16 = COPY %0.sub_16bit
-# ALL-NEXT      %2:gr32 = MOVZX32rr16 %1
-# ALL-NEXT      $eax = COPY %2
-# ALL-NEXT      RET 0, implicit $eax
+# ALL:          %0:gr32 = COPY $eax
+# ALL-NEXT:     %1:gr16 = COPY %0.sub_16bit
+# ALL-NEXT:     %2:gr32 = MOVZX32rr16 %1
+# ALL-NEXT:     $eax = COPY %2
+# ALL-NEXT:     RET 0, implicit $eax
 body:             |
   bb.1 (%ir-block.0):
     liveins: $eax
@@ -156,11 +158,13 @@
   - { id: 0, class: gpr, preferred-register: '' }
   - { id: 1, class: gpr, preferred-register: '' }
   - { id: 2, class: gpr, preferred-register: '' }
-# ALL           %0:gr32[[ABCD]] = COPY $edx
-# ALL-NEXT      %1:gr8 = COPY %0.sub_8bit
-# ALL-NEXT      %2:gr32 = MOVZX32rr8 %1
-# ALL-NEXT      $eax = COPY %2
-# ALL-NEXT      RET 0, implicit $eax
+# ALL:          %0:gr32 = COPY $edx
+# X32-NEXT:     %3:gr32_abcd = COPY %0
+# X32-NEXT:     %1:gr8_abcd_l = COPY %3.sub_8bit
+# X64-NEXT:     %1:gr8 = COPY %0.sub_8bit
+# ALL-NEXT:     %2:gr32 = MOVZX32rr8 %1
+# ALL-NEXT:     $eax = COPY %2
+# ALL-NEXT:     RET 0, implicit $eax
 body:             |
   bb.1 (%ir-block.0):
     liveins: $eax,$edx