Skip to content
Commit 5b15d01f authored by Bob Wilson's avatar Bob Wilson
Browse files

Fix BuildVectorSDNode::isConstantSplat to handle one-element vectors.

It is an error to call APInt::zext with a size that is equal to the value's
current size, so use zextOrTrunc instead.

llvm-svn: 66039
parent 5b9e9682
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