summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-02-15 18:40:53 +0000
committerDale Johannesen <dalej@apple.com>2008-02-15 18:40:53 +0000
commit2e01912f1a12293375e5450d0e8ce37c2bbf29fc (patch)
treec8bca9f4726cdad435cb95ae713be78c69d4f637 /llvm/lib
parent2ff2da89ab5154dffe2d4835dbc1927fc7a505b0 (diff)
downloadbcm5719-llvm-2e01912f1a12293375e5450d0e8ce37c2bbf29fc.tar.gz
bcm5719-llvm-2e01912f1a12293375e5450d0e8ce37c2bbf29fc.zip
Cosmetics.
llvm-svn: 47168
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/PPCSubtarget.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
index 10373cb427c..6cf6ca6524b 100644
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
+++ b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
@@ -82,18 +82,15 @@ PPCSubtarget::PPCSubtarget(const TargetMachine &tm, const Module &M,
// If we are generating code for ppc64, verify that options make sense.
if (is64Bit) {
- if (!has64BitSupport()) {
- Has64BitSupport = true;
- }
+ Has64BitSupport = true;
// Silently force 64-bit register use on ppc64.
Use64BitRegs = true;
}
// If the user requested use of 64-bit regs, but the cpu selected doesn't
- // support it, warn and ignore.
- if (use64BitRegs() && !has64BitSupport()) {
+ // support it, ignore.
+ if (use64BitRegs() && !has64BitSupport())
Use64BitRegs = false;
- }
// Set the boolean corresponding to the current target triple, or the default
// if one cannot be determined, to true.
OpenPOWER on IntegriCloud