[PATCH] D48575: [GISel]; Add a helper legalization rule for legalizing addressspacecast if no-op
Aditya Nandakumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 25 15:37:15 PDT 2018
aditya_nandakumar created this revision.
aditya_nandakumar added reviewers: dsanders, volkan, bogner, aemerson, ab.
Herald added a reviewer: javed.absar.
Added .legalIfNoopAddrSpaceCast predicate to handle the common case of a no-op addrspacecast in most targets.
Repository:
rL LLVM
https://reviews.llvm.org/D48575
Files:
include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
lib/CodeGen/GlobalISel/LegalityPredicates.cpp
lib/Target/AArch64/AArch64LegalizerInfo.cpp
test/CodeGen/AArch64/GlobalISel/legalize-addrspacecast.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48575.152793.patch
Type: text/x-patch
Size: 3920 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180625/e6165ba3/attachment.bin>
More information about the llvm-commits
mailing list