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

Fix typo in PerformAddCombine that caused any vector type to be checked for...

Fix typo in PerformAddCombine that caused any vector type to be checked for horizontal add/sub if AVX2 is enabled. This caused an assert to fail for non 128/256-bit vectors when done before type legalizing. Fixes PR11749.

llvm-svn: 148096
parent 6f2288b6
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