[PATCH] D155055: [WIP][AMDGPU] Divergence-driven instruction selection for fshr
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 12 02:37:34 PDT 2023
foad created this revision.
foad added a reviewer: AMDGPU.
Herald added subscribers: bzcheeseman, StephenFan, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl, arsenm.
Herald added a project: All.
foad requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
Make divergent fshr legal since it is selected to v_alignbit, but
expand uniform fshr since there is no s_alignbit instruction.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D155055
Files:
llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
llvm/test/CodeGen/AMDGPU/bf16.ll
llvm/test/CodeGen/AMDGPU/build-vector-packed-partial-undef.ll
llvm/test/CodeGen/AMDGPU/build_vector.ll
llvm/test/CodeGen/AMDGPU/divergence-driven-buildvector.ll
llvm/test/CodeGen/AMDGPU/fneg-modifier-casting.ll
llvm/test/CodeGen/AMDGPU/fp_to_sint.ll
llvm/test/CodeGen/AMDGPU/fp_to_uint.ll
llvm/test/CodeGen/AMDGPU/fshl.ll
llvm/test/CodeGen/AMDGPU/fshr.ll
llvm/test/CodeGen/AMDGPU/insert_vector_elt.v2i16.ll
llvm/test/CodeGen/AMDGPU/load-constant-i8.ll
llvm/test/CodeGen/AMDGPU/scalar_to_vector.ll
llvm/test/CodeGen/AMDGPU/shl.ll
llvm/test/CodeGen/AMDGPU/sra.ll
llvm/test/CodeGen/AMDGPU/srl.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155055.539442.patch
Type: text/x-patch
Size: 247856 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230712/27c179b0/attachment-0001.bin>
More information about the llvm-commits
mailing list