[all-commits] [llvm/llvm-project] 983691: [SelectionDAGBuilder] Don't set MachinePointerInfo...
topperc via All-commits
all-commits at lists.llvm.org
Tue Mar 17 11:04:35 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 98369178bc695ba5d64314beb62d5ba5c9f14e2e
https://github.com/llvm/llvm-project/commit/98369178bc695ba5d64314beb62d5ba5c9f14e2e
Author: Craig Topper <craig.topper at intel.com>
Date: 2020-03-17 (Tue, 17 Mar 2020)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list