projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
640e742
)
Make this code 65-bit clean.
author
Dan Gohman
<gohman@apple.com>
Mon, 27 Sep 2010 15:15:44 +0000
(15:15 +0000)
committer
Dan Gohman
<gohman@apple.com>
Mon, 27 Sep 2010 15:15:44 +0000
(15:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114828
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Instructions.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Instructions.cpp
b/lib/VMCore/Instructions.cpp
index 401802ed13d5e633617ffc43c075d22d7a337e98..7f8df58db52edc401a35710634ee3dd4611b632b 100644
(file)
--- a/
lib/VMCore/Instructions.cpp
+++ b/
lib/VMCore/Instructions.cpp
@@
-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;
}