commit | 9a1b8598efc8f9482ba76d4ba77e9c20e16d175d | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Mon Sep 27 15:15:44 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Mon Sep 27 15:15:44 2010 +0000 |
tree | 5e14b79909b26c1911fe03008a2c96dd099200cf | |
parent | 58a9d28a683b4e1cfd15df68c0b1db3619aae5d9 [diff] [blame] |
Make this code 65-bit clean. llvm-svn: 114828
diff --git a/llvm/lib/VMCore/Instructions.cpp b/llvm/lib/VMCore/Instructions.cpp index 401802e..7f8df58 100644 --- a/llvm/lib/VMCore/Instructions.cpp +++ b/llvm/lib/VMCore/Instructions.cpp
@@ -899,7 +899,7 @@ bool AllocaInst::isArrayAllocation() const { if (ConstantInt *CI = dyn_cast<ConstantInt>(getOperand(0))) - return CI->getZExtValue() != 1; + return !CI->isOne(); return true; }