SIPreEmitPeephole did not try to remove redundant s_set_gpr_idx_*
instructions in blocks that end with a conditional branch instruction.
This seems like a simple oversight.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D101629
[AMDGPU] Remove set_gpr_idx instructions in conditional blocks ClosedPublic Authored by foad on Apr 30 2021, 7:09 AM.
Details Summary SIPreEmitPeephole did not try to remove redundant s_set_gpr_idx_*
Diff Detail
Event TimelineHerald added subscribers: kerbowa, hiraditya, t-tye and 6 others. · View Herald TranscriptApr 30 2021, 7:09 AM
This revision is now accepted and ready to land.Apr 30 2021, 8:10 AM Closed by commit rG7e43483dd169: [AMDGPU] Remove set_gpr_idx instructions in conditional blocks (authored by foad). · Explain WhyApr 30 2021, 2:20 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 341892 llvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp
llvm/test/CodeGen/AMDGPU/set-gpr-idx-peephole.mir
|
Doesn't the compiler warn about no default / missing enums?