[Hexagon] Add missing live-in registers in some codegen tests
authorKrzysztof Parzyszek <kparzysz@quicinc.com>
Thu, 23 Apr 2020 14:39:43 +0000 (09:39 -0500)
committerKrzysztof Parzyszek <kparzysz@quicinc.com>
Thu, 23 Apr 2020 15:28:04 +0000 (10:28 -0500)
llvm/test/CodeGen/Hexagon/livephysregs-lane-masks.mir
llvm/test/CodeGen/Hexagon/livephysregs-lane-masks2.mir
llvm/test/CodeGen/Hexagon/vgather-packetize.mir

index c4bc008..cea9b72 100644 (file)
@@ -18,7 +18,7 @@ tracksRegLiveness: true
 
 body: |
   bb.0:
-    liveins: $r16
+    liveins: $r0, $r16
     successors: %bb.1, %bb.2
         $p0 = C2_cmpeqi $r16, 0
         J2_jumpt $p0, %bb.2, implicit-def $pc
index 881498e..a1f988d 100644 (file)
@@ -13,7 +13,7 @@ tracksRegLiveness: true
 
 body: |
   bb.0:
-    liveins: $p0:0x1, $p2, $r0
+    liveins: $p0:0x1, $p2, $r0, $r18, $r19
     successors: %bb.1, %bb.2
         J2_jumpt killed $p2, %bb.1, implicit-def $pc
         J2_jump %bb.2, implicit-def $pc
index d575880..688a770 100644 (file)
@@ -12,16 +12,16 @@ name: fred
 tracksRegLiveness: true
 body: |
   bb.0:
-    liveins: $r0, $w0
+    liveins: $r0, $r1, $r2, $m0, $w0
     $r1 = A2_tfrsi 2
     $r2 = A2_tfrsi 1
-    $m0 = A2_tfrrcr killed $r1
+    $m0 = A2_tfrrcr $r1
     J2_loop0i %bb.1, 128, implicit-def $lc0, implicit-def $sa0, implicit-def $usr
 
   bb.1:
     liveins: $r0, $r1, $r2, $m0, $w0
     $r1 = A2_addi $r1, 1
-    V6_vgathermhw_pseudo killed $r0, killed $r2, killed $m0, killed $w0, implicit-def $vtmp
+    V6_vgathermhw_pseudo $r0, $r2, $m0, $w0, implicit-def $vtmp
     ENDLOOP0 %bb.1, implicit $lc0, implicit $sa0, implicit-def $lc0, implicit-def $p3, implicit-def $pc, implicit-def $usr
 
   bb.2: