[PATCH] D39758: CodeGen: Fix pointer info in SplitVecOp_EXTRACT_VECTOR_ELT
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 30 14:43:07 PST 2017
efriedma added inline comments.
================
Comment at: lib/CodeGen/MachineInstr.cpp:1016
+ return PSVa->mayAlias(&MFI);
+ if (PSVb && MMOb->getPointerInfo().hasUnknownOffset())
+ return PSVb->mayAlias(&MFI);
----------------
The new patch is mostly the right idea, but I'm not sure I like the way hasUnknownOffset modifies the meaning of MachineMemOperand... we have code which accesses the offset scattered all over.
https://reviews.llvm.org/D39758
More information about the llvm-commits
mailing list