diff options
author | Bob Wilson <bob.wilson@apple.com> | 2009-03-04 17:47:01 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2009-03-04 17:47:01 +0000 |
commit | d344b884dd6e1fde91c631f99413b9553f3c5c59 (patch) | |
tree | 965967fe13c76c4c1326fb2e1ec829e260ff8501 /lib/ExecutionEngine/Interpreter/Interpreter.cpp | |
parent | 675e754c61e29901a140355fc242057e0ac20091 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66039 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Interpreter.cpp')
0 files changed, 0 insertions, 0 deletions