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

[X86] Improve the AVX512 bailout in combineTruncateWithSat to allow pack...

[X86] Improve the AVX512 bailout in combineTruncateWithSat to allow pack instructions in more situations.

If we don't have VLX we won't end up selecting a saturating
truncate for 256-bit or smaller vectors so we should just use
the pack lowering.

llvm-svn: 374487
parent 4dc27c69
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