[PATCH] D136592: [AMDGPU][GISel] Select llvm.amdgcn.fcmp intrinsics
Pierre van Houtryve via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 24 04:37:54 PDT 2022
Pierre-vh created this revision.
Pierre-vh added reviewers: arsenm, foad.
Herald added subscribers: kosarev, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
Pierre-vh requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
- Add a RegBankCombine to transform the TRUE/FALSE FP CCs into simple constants for less complicated codegen.
- Merges icmp/fcmp intrinsics select functions
- Adds FP CCs opcodes/selection logic, including src mods selection
Depends on D136591 <https://reviews.llvm.org/D136591>, D136448 <https://reviews.llvm.org/D136448>
Resolves #58326 (https://github.com/llvm/llvm-project/issues/58326)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D136592
Files:
llvm/lib/Target/AMDGPU/AMDGPUCombine.td
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
llvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/regbankcombiner-fcmp-to-const.mir
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fcmp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136592.470118.patch
Type: text/x-patch
Size: 159854 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221024/996b3cd5/attachment-0001.bin>
More information about the llvm-commits
mailing list