[PATCH] D72351: [AArch64][GlobalISel] Fold a chain of two G_PTR_ADDs of constant offsets.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 7 11:51:37 PST 2020


aemerson updated this revision to Diff 236656.
aemerson added a comment.

Use getConstantVRegValWithLookThrough.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72351/new/

https://reviews.llvm.org/D72351

Files:
  llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-ptradd-chain.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72351.236656.patch
Type: text/x-patch
Size: 5015 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200107/988ab616/attachment.bin>


More information about the llvm-commits mailing list