[PATCH] D78092: [GlobalISel][AMDGPU] add legalization for G_FREEZE

Dominik Montada via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 16 07:48:44 PDT 2020


gargaroff updated this revision to Diff 258050.
gargaroff marked 7 inline comments as done.
gargaroff added a comment.
Herald added subscribers: kerbowa, nhaehnle, jvesely.

add legalization action for G_FREEZE to AMDGPULegalizerInfo

rewrite narrowScalar for G_FREEZE to use intermediate merges instead of extract/insert

extract G_FREEZE narrowing to narrowScalarFreeze


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78092/new/

https://reviews.llvm.org/D78092

Files:
  llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
  llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-freeze.mir
  llvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78092.258050.patch
Type: text/x-patch
Size: 60157 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200416/240328ea/attachment-0001.bin>


More information about the llvm-commits mailing list