commit | c4acb066247ac5eade0a654d17b86939c0630a5f | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Wed Nov 21 01:39:38 2018 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Wed Nov 21 01:39:38 2018 +0000 |
tree | 970111202f510159fcb8cafc2870c1cf1619bcf5 | |
parent | c9cf55d012fe18da83b5390c890a322dfd24c14d [diff] |
[X86] Correct 256 vpmovzx/vpmovsx isel patterns to check HasAVX2 instead of HasAVX to prevent fast-isel from using them incorrectly. These are AVX2 instructions, but have been incorrectly marked in tablegen for a while. This wasn't a problem until r346784 switched the patterns to use target independent ISD opcodes. This made the patterns visible to fast isel. Fixes PR39733 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@347375 91177308-0d34-0410-b5e6-96231b3b80d8