diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-02-06 17:18:17 -0500 |
---|---|---|
committer | Matt Arsenault <arsenm2@gmail.com> | 2020-02-09 18:02:37 -0500 |
commit | 2126c70e3a628cb772d7b9f63cb897857214245a (patch) | |
tree | 08f6d064d798e26534c850a00b97ea76273974e0 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | f4a38c114e124c21549d06281554658687012179 (diff) | |
download | llvm-2126c70e3a628cb772d7b9f63cb897857214245a.zip llvm-2126c70e3a628cb772d7b9f63cb897857214245a.tar.gz llvm-2126c70e3a628cb772d7b9f63cb897857214245a.tar.bz2 |
AMDGPU/GlobalISel: Don't mis-select vector index on a constant
Vector indexing with a constant index should be folded out in the
legalizer, but this was accidentally falling through. This would
produce the indexing operation with $noreg. Handle this case as a
dynamic index just in case a bug like this happens again in the
future.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions