[PATCH] D58626: [DAG] Fix constant store folding to handle non-byte sizes.

Nirav Dave via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 25 10:47:57 PST 2019


niravd updated this revision to Diff 188218.
niravd added a comment.

Convert to bit-level sizing for contains. I'm leaving equalBaseIndex as byte-level for now, but a followup NFC patch is probably warranted.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D58626

Files:
  llvm/include/llvm/CodeGen/SelectionDAGAddressAnalysis.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp
  llvm/test/CodeGen/X86/constant-combines.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58626.188218.patch
Type: text/x-patch
Size: 5460 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190225/e04e2759/attachment.bin>


More information about the llvm-commits mailing list