Peephole works before the first SIFoldOperands so most of
the immediates are in registers.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D109186
[AMDGPU] Fold immediates in the optimizeCompareInstr ClosedPublic Authored by rampitec on Sep 2 2021, 1:17 PM.
Details Summary Peephole works before the first SIFoldOperands so most of
Diff Detail
Event TimelineHerald added subscribers: kerbowa, hiraditya, t-tye and 6 others. · View Herald TranscriptSep 2 2021, 1:17 PM rampitec added a child revision: D109201: [AMDGPU] Process any power of 2 in optimizeCompareInstr.Sep 2 2021, 3:39 PM This revision is now accepted and ready to land.Sep 2 2021, 4:58 PM This revision was landed with ongoing or failed builds.Sep 2 2021, 5:23 PM Closed by commit rG2cfda6a6912e: [AMDGPU] Fold immediates in the optimizeCompareInstr (authored by rampitec). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 370454 llvm/lib/Target/AMDGPU/SIInstrInfo.h
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/test/CodeGen/AMDGPU/basic-branch.ll
llvm/test/CodeGen/AMDGPU/optimize-compare.mir
llvm/test/CodeGen/AMDGPU/setcc.ll
llvm/test/CodeGen/AMDGPU/wave32.ll
|