[llvm-commits] [llvm] r47168 - /llvm/trunk/lib/Target/PowerPC/PPCSubtarget.cpp
Dale Johannesen
dalej at apple.com
Fri Feb 15 10:40:53 PST 2008
Author: johannes
Date: Fri Feb 15 12:40:53 2008
New Revision: 47168
URL: http://llvm.org/viewvc/llvm-project?rev=47168&view=rev
Log:
Cosmetics.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCSubtarget.cpp
Modified: llvm/trunk/lib/Target/PowerPC/PPCSubtarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCSubtarget.cpp?rev=47168&r1=47167&r2=47168&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCSubtarget.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCSubtarget.cpp Fri Feb 15 12:40:53 2008
@@ -82,18 +82,15 @@
// 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.
More information about the llvm-commits
mailing list