We should not consider SI control flow pseudo instructions part
of the block prologue, despite them modifying EXEC.
This is a follow up to D119399.
Paths
| Differential D121268
[AMDGPU] Control flow pseudos are not part of block prologue AbandonedPublic Authored by critson on Mar 8 2022, 6:55 PM.
Details
Diff Detail
Unit TestsFailed Event Timeline
Comment Actions I need to rewrite the test.
Comment Actions This is unnecessary, the remaining pseudo instructions are terminators so already skipped.
Revision Contents
Diff 413991 llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/test/CodeGen/AMDGPU/sink-after-control-flow.mir
|
I think SI_IF_BREAK can be removed from the list as it does not modifies EXEC. SI_END_CF should be removed from the list, as SI_END_CF means the join point, we should treat it as block prologue. Other instructions should never be prologue instructions, so it is correct to list them here.