[PATCH] D80458: [AArch64][GlobalISel] Enable extending loads combines post-legalization.
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 22 15:34:15 PDT 2020
aemerson created this revision.
aemerson added a reviewer: paquette.
aemerson added a project: LLVM.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls, rovka.
During legalization we can end up with extends of loads, which in the case of zexts causes us to not hit tablegen imported patterns.
The caveat here is that we don't want anyext load forming, since some variants are illegal.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D80458
Files:
llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
llvm/include/llvm/Target/GlobalISel/Combine.td
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
llvm/lib/Target/AArch64/AArch64Combine.td
llvm/test/CodeGen/AArch64/GlobalISel/postlegalizercombiner-extending-loads.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80458.265809.patch
Type: text/x-patch
Size: 6053 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200522/7a1c80ce/attachment.bin>
More information about the llvm-commits
mailing list