[PATCH] D43087: [SelectionDAG][X86] Fix incorrect offset generated for VMASKMOV

Alexander Ivchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 8 13:23:03 PST 2018


aivchenk created this revision.
aivchenk added reviewers: craig.topper, delena.

When creating high MachineMemOperand for MSTORE/MLOAD we supply
it with the original PointerInfo, while the pointer itself had been incremented.
The patch adds the proper offset to the PointerInfo.


https://reviews.llvm.org/D43087

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
  test/CodeGen/X86/vmaskmov-offset.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43087.133477.patch
Type: text/x-patch
Size: 7044 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180208/5db2ef9a/attachment.bin>


More information about the llvm-commits mailing list