diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-03-29 21:13:41 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-03-29 21:13:41 +0000 |
| commit | 2788f797ca429c57fce77449822c335d479e20d3 (patch) | |
| tree | 3cac5f1ba5a000baede714beaf4838bdefe86d92 /llvm/lib/Target/X86/X86ISelLowering.cpp | |
| parent | 4d1aa2a1c645f54b9faf7a427928f061c8ca58af (diff) | |
| download | bcm5719-llvm-2788f797ca429c57fce77449822c335d479e20d3.tar.gz bcm5719-llvm-2788f797ca429c57fce77449822c335d479e20d3.zip | |
Make isInt?? and isUint?? template specializations of the generic versions. This
makes calls a little bit more consistent and allows easy removal of the
specializations in the future. Convert all callers to the templated functions.
llvm-svn: 99838
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelLowering.cpp')
| -rw-r--r-- | llvm/lib/Target/X86/X86ISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index 707b9fe2c59..c232585fe71 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -2424,7 +2424,7 @@ SDValue X86TargetLowering::getReturnAddressFrameIndex(SelectionDAG &DAG) { bool X86::isOffsetSuitableForCodeModel(int64_t Offset, CodeModel::Model M, bool hasSymbolicDisplacement) { // Offset should fit into 32 bit immediate field. - if (!isInt32(Offset)) + if (!isInt<32>(Offset)) return false; // If we don't have a symbolic displacement - we don't have any extra |

