[PATCH] D86059: GlobalISel: Combine G_ADD of G_PTRTOINT to G_PTR_ADD
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 17 05:31:38 PDT 2020
arsenm created this revision.
arsenm added reviewers: paquette, aditya_nandakumar, dsanders, aemerson.
Herald added subscribers: kerbowa, hiraditya, rovka, nhaehnle, jvesely.
Herald added a project: LLVM.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
This produces less work for addressing mode matching. I think this is
safe since I don't think machine IR is supposed to give the same
aliasing properties as getelementptr in the IR.
https://reviews.llvm.org/D86059
Files:
llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
llvm/include/llvm/Target/GlobalISel/Combine.td
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/combine-add-to-ptradd.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86059.285977.patch
Type: text/x-patch
Size: 10455 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200817/c49a2412/attachment.bin>
More information about the llvm-commits
mailing list