File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -320,6 +320,9 @@ bool SIPreEmitPeephole::mustRetainExeczBranch(
320
320
if (MI.isConditionalBranch ())
321
321
return true ;
322
322
323
+ if (MI.isMetaInstruction ())
324
+ continue ;
325
+
323
326
if (TII->hasUnwantedEffectsWhenEXECEmpty (MI))
324
327
return true ;
325
328
Original file line number Diff line number Diff line change 2
2
3
3
---
4
4
5
- # FIXME: RemoveShortExecBranches should not count dbg_value instructions.
6
5
# CHECK-LABEL: name: no_count_dbg_value
7
6
# CHECK: $vgpr1 = V_MOV_B32_e32 7, implicit $exec
8
7
# CHECK-NOT: S_CBRANCH_EXECZ
@@ -18,6 +17,11 @@ body: |
18
17
successors: %bb.2
19
18
$vgpr0 = V_MOV_B32_e32 0, implicit $exec
20
19
DBG_VALUE
20
+ DBG_VALUE
21
+ DBG_VALUE
22
+ DBG_VALUE
23
+ DBG_VALUE
24
+ DBG_VALUE
21
25
22
26
bb.2:
23
27
$vgpr0 = V_MOV_B32_e32 1, implicit $exec
You can’t perform that action at this time.
0 commit comments