[PATCH] D107601: [AArch64][GlobalISel] Overhaul G_INSERT legalization

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 5 14:32:53 PDT 2021


paquette created this revision.
paquette added reviewers: aemerson, jroelofs.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls, rovka.
paquette requested review of this revision.
Herald added a project: LLVM.

Similar cleanup to G_EXTRACT (51bd4e874fa51412e7399fe7f863169b4f4829bc <https://reviews.llvm.org/rG51bd4e874fa51412e7399fe7f863169b4f4829bc>).

Also swap the order of clamp/widen to avoid unnecessary complex merges.

Add a bunch of missing testcases to legalize-inserts while we're at it.


https://reviews.llvm.org/D107601

Files:
  llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-inserts.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107601.364618.patch
Type: text/x-patch
Size: 87777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210805/47b35671/attachment-0001.bin>


More information about the llvm-commits mailing list