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

Don't use EnforceSmallerThan for EnforceVectorSubVectorTypeIs....

Don't use EnforceSmallerThan for EnforceVectorSubVectorTypeIs. EnforceSmallerThan doesn't handle vectors quite right and should really enforce that vectors have the same number of elements. Add explicit checks for vector element count differing in EnforceVectorSubVectorTypeIs instead. This removes some unnecessary type checks in X86GenDAGISel.inc.

llvm-svn: 200091
parent 0929d3d8
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