[PATCH] D138067: GlobalISel: Try to fold G_SEXT_INREG to G_AND with mask
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 16 00:05:38 PST 2022
arsenm updated this revision to Diff 475703.
arsenm added a comment.
Add vector tests. The constant simplify in the scalar case seems to not happen here after the fold
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138067/new/
https://reviews.llvm.org/D138067
Files:
llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
llvm/include/llvm/Target/GlobalISel/Combine.td
llvm/test/CodeGen/AMDGPU/GlobalISel/prelegalizer-combiner-sext_inreg-to-and.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138067.475703.patch
Type: text/x-patch
Size: 6682 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221116/19182748/attachment.bin>
More information about the llvm-commits
mailing list