diff options
author | Craig Topper <craig.topper@intel.com> | 2017-07-18 06:49:23 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2017-07-18 06:49:23 +0000 |
commit | f54a500101c5589a3e6c77cdc06772c8d0754671 (patch) | |
tree | 223bae51cd75122179ea0bf75fc32adb450fb481 /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | |
parent | 53f9a30543ebff03ed5b69b75bfe09fd5ac7a2d6 (diff) | |
download | bcm5719-llvm-f54a500101c5589a3e6c77cdc06772c8d0754671.tar.gz bcm5719-llvm-f54a500101c5589a3e6c77cdc06772c8d0754671.zip |
[X86] Prevent an assertion failure if a gather intrinsic is passed a non-constant scale value.
This isn't legal code, but we shouldn't crash on it. Now we just don't convert the gather intrinsic if the scale isn't constant and let it go through to isel where we'll report an isel failure.
Fixes PR33772.
llvm-svn: 308267
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
0 files changed, 0 insertions, 0 deletions