[PATCH] D151116: [AMDGPU][GlobalISel] Update legalization condition for G_BITCAST

Mateja Marjanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 22 09:14:38 PDT 2023


matejam created this revision.
matejam added reviewers: foad, arsenm, Petar.Avramovic.
matejam added a project: LLVM.
Herald added subscribers: StephenFan, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl, dylanmckay.
Herald added a project: All.
matejam requested review of this revision.
Herald added a subscriber: wdng.

Legalize G_BITCAST only if both types have a corresponding RegClass.

Authored by: Petar Avramovic


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151116

Files:
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151116.524348.patch
Type: text/x-patch
Size: 14645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230522/ab0f64d4/attachment.bin>


More information about the llvm-commits mailing list