Make this code 65-bit clean.

llvm-svn: 114828
This commit is contained in:
Dan Gohman 2010-09-27 15:15:44 +00:00
parent 58a9d28a68
commit 9a1b8598ef
1 changed files with 1 additions and 1 deletions

View File

@ -899,7 +899,7 @@ void AllocaInst::setAlignment(unsigned Align) {
bool AllocaInst::isArrayAllocation() const {
if (ConstantInt *CI = dyn_cast<ConstantInt>(getOperand(0)))
return CI->getZExtValue() != 1;
return !CI->isOne();
return true;
}