[PATCH] D107588: [AArch64][GlobalISel] Widen G_PTRTOINT before clamping + test legalization
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 5 11:47:59 PDT 2021
paquette created this revision.
paquette added a reviewer: aemerson.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls, rovka.
paquette requested review of this revision.
Herald added a project: LLVM.
1. There was no legalizer test for G_PTRTOINT
2. Same clamping issue as in many other opcodes
Without this patch, the `p0_s88` testcase added here has an unnecessary G_MERGE_VALUES.
https://reviews.llvm.org/D107588
Files:
llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/legalize-ptrtoint.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107588.364565.patch
Type: text/x-patch
Size: 3985 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210805/52b69286/attachment.bin>
More information about the llvm-commits
mailing list