diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-07-01 17:08:23 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-07-01 19:08:47 -0700 |
commit | 066524ea5438c5c30ac91a7702091be6dc5fd2d0 (patch) | |
tree | 1194ecd53ebb50b75a842d309eb1ffbb8dd9769c /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | 9ab5f761176c376c0a117c53f0f111fed1bcc842 (diff) | |
download | llvm-066524ea5438c5c30ac91a7702091be6dc5fd2d0.zip llvm-066524ea5438c5c30ac91a7702091be6dc5fd2d0.tar.gz llvm-066524ea5438c5c30ac91a7702091be6dc5fd2d0.tar.bz2 |
[ScalarizeMaskedMemIntrin][SelectionDAGBuilder] Use the element type to calculate alignment for gather/scatter when alignment operand is 0.
Previously we used the vector type, but we're loading/storing
invididual elements so I think only element alignment should matter.
Noticed while looking at the code for something else so I don't
have a test case.
Differential Revision: https://reviews.llvm.org/D105220
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions