Cosmetics.

llvm-svn: 47168
This commit is contained in:
Dale Johannesen 2008-02-15 18:40:53 +00:00
parent 2ff2da89ab
commit 2e01912f1a
1 changed files with 3 additions and 6 deletions

View File

@ -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.