aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2020-02-06 17:18:17 -0500
committerMatt Arsenault <arsenm2@gmail.com>2020-02-09 18:02:37 -0500
commit2126c70e3a628cb772d7b9f63cb897857214245a (patch)
tree08f6d064d798e26534c850a00b97ea76273974e0 /llvm/lib/CodeGen/MachineFunction.cpp
parentf4a38c114e124c21549d06281554658687012179 (diff)
downloadllvm-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