Skip to content
Commit f54a5001 authored by Craig Topper's avatar Craig Topper
Browse files

[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
parent 53f9a305
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment