diff options
author | Craig Topper <craig.topper@intel.com> | 2020-03-17 11:02:25 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2020-03-17 11:03:45 -0700 |
commit | 98369178bc695ba5d64314beb62d5ba5c9f14e2e (patch) | |
tree | 2094d1ce28d73fcffd89c016be5dee1841b82d53 /llvm/lib/CodeGen/RDFGraph.cpp | |
parent | 9e2715aaacaa3087933b5575d23563751b54843b (diff) | |
download | llvm-98369178bc695ba5d64314beb62d5ba5c9f14e2e.zip llvm-98369178bc695ba5d64314beb62d5ba5c9f14e2e.tar.gz llvm-98369178bc695ba5d64314beb62d5ba5c9f14e2e.tar.bz2 |
[SelectionDAGBuilder] Don't set MachinePointerInfo for gather when we find a uniform base
I believe we were previously calculating a pointer info with the scalar base and an offset of 0. But that's not really where the gather is pointing. The offset is a function of the indices of the GEP we looked through.
Also set the size of the MachineMemOperand to UnknownSize
Differential Revision: https://reviews.llvm.org/D76157
Diffstat (limited to 'llvm/lib/CodeGen/RDFGraph.cpp')
0 files changed, 0 insertions, 0 deletions