[PATCH] D96621: [GlobalISel] Combine (x + 0) -> x, G_PTR_ADD edition

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 12 11:08:44 PST 2021


paquette created this revision.
paquette added reviewers: aemerson, arsenm.
Herald added subscribers: kerbowa, rovka, nhaehnle, jvesely.
paquette requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

Add it to right_identity_zero.


https://reviews.llvm.org/D96621

Files:
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-trivial-arith.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96621.323406.patch
Type: text/x-patch
Size: 10916 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210212/539b7605/attachment.bin>


More information about the llvm-commits mailing list