Simplify code by using ConstantInt::getRawValue instead of checking to see
authorChris Lattner <sabre@nondot.org>
Wed, 23 Jul 2003 15:22:26 +0000 (15:22 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 23 Jul 2003 15:22:26 +0000 (15:22 +0000)
commitc07736a397012499e337c994f7f952b07c709544
treee7ff1fb8eee2ca15a8f6edd4e537aecf7fe6be56
parentc8bf87af3efe766440d0df259a038a0b6998e6e9
Simplify code by using ConstantInt::getRawValue instead of checking to see
whether the constant is signed or unsigned, then casting

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7252 91177308-0d34-0410-b5e6-96231b3b80d8
17 files changed:
lib/Analysis/ConstantRange.cpp
lib/Support/ConstantRange.cpp
lib/Target/CBackend/CBackend.cpp
lib/Target/CBackend/Writer.cpp
lib/Target/SparcV9/SparcV9AsmPrinter.cpp
lib/Target/SparcV9/SparcV9InstrInfo.cpp
lib/Target/X86/InstSelectSimple.cpp
lib/Target/X86/Printer.cpp
lib/Target/X86/X86AsmPrinter.cpp
lib/Target/X86/X86ISelSimple.cpp
lib/Transforms/Scalar/InstructionCombining.cpp
lib/Transforms/Scalar/ScalarReplAggregates.cpp
lib/Transforms/TransformInternals.h
lib/VMCore/AsmWriter.cpp
lib/VMCore/ConstantRange.cpp
lib/VMCore/Constants.cpp
support/lib/Support/ConstantRange.cpp