summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-03-29 21:13:41 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-03-29 21:13:41 +0000
commit2788f797ca429c57fce77449822c335d479e20d3 (patch)
tree3cac5f1ba5a000baede714beaf4838bdefe86d92 /llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
parent4d1aa2a1c645f54b9faf7a427928f061c8ca58af (diff)
downloadbcm5719-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/PowerPC/PPCBranchSelector.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCBranchSelector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp b/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
index a752421580d..52948c868b9 100644
--- a/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
+++ b/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
@@ -130,7 +130,7 @@ bool PPCBSel::runOnMachineFunction(MachineFunction &Fn) {
}
// If this branch is in range, ignore it.
- if (isInt16(BranchSize)) {
+ if (isInt<16>(BranchSize)) {
MBBStartOffset += 4;
continue;
}
OpenPOWER on IntegriCloud