[PATCH] D102391: [AMDGPU][GlobalISel] Legalize G_ABS

Mirko Brkusanin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 13 02:38:58 PDT 2021


mbrkusanin created this revision.
mbrkusanin added reviewers: foad, arsenm.
mbrkusanin added a project: LLVM.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, rovka, yaxunl, nhaehnle, jvesely, kzhuravl.
mbrkusanin requested review of this revision.
Herald added a subscriber: wdng.

Legalize and select G_ABS so that we can use llvm.abs intrinsic


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102391

Files:
  llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  llvm/lib/Target/AMDGPU/SOPInstructions.td
  llvm/lib/Target/AMDGPU/VOP3Instructions.td
  llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.abs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102391.345075.patch
Type: text/x-patch
Size: 9072 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210513/3d92404b/attachment.bin>


More information about the llvm-commits mailing list