Use APInt safe isOne() method on ConstantInt instead of getZExtValue()==1
authorReid Spencer <rspencer@reidspencer.com>
Fri, 2 Mar 2007 23:03:17 +0000 (23:03 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 2 Mar 2007 23:03:17 +0000 (23:03 +0000)
commit4cf735b47e417f0ff4d0ce4e8b2d136c1fcb55b9
tree31d4cf0e54dc55640d3f7cfde2079f5293bf34f8
parente1c99d4c69d20731579ae462db39c3c1393f50fd
Use APInt safe isOne() method on ConstantInt instead of getZExtValue()==1

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34854 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/LowerAllocations.cpp