[PATCH] D41701: [DAG] Teach BaseIndexOffset to correctly handle with indexed operations

Nirav Dave via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 3 07:46:12 PST 2018


niravd created this revision.
niravd added reviewers: efriedma, RKSimon, hfinkel, jyknight.

BaseIndexOffset address analysis incorrectly ignores offsets folded
into indexed memory operations causing potential errors in alias
analysis of pre-indexed operations.


https://reviews.llvm.org/D41701

Files:
  llvm/include/llvm/CodeGen/SelectionDAGAddressAnalysis.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41701.128521.patch
Type: text/x-patch
Size: 7030 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180103/1f9e5989/attachment.bin>


More information about the llvm-commits mailing list