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 | 5b15d01ff36a749d839b2ae149a66e91e3fa8ea2 (patch) | |
tree | 92c9b6146e1e0ed04044fac486d4149fa324bf9f /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 5b9e9682f186ce772de8beb160fc912b60ae5148 (diff) | |
download | bcm5719-llvm-5b15d01ff36a749d839b2ae149a66e91e3fa8ea2.tar.gz bcm5719-llvm-5b15d01ff36a749d839b2ae149a66e91e3fa8ea2.zip |
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions