[ms-inline asm] Add a few typedefs to simplify future changes.
[oota-llvm.git] / lib / Target / PowerPC / PPCSubtarget.cpp
index 947a74cc083d71d5fb78320f9f5440687862c51b..14b8534d1cb5a35c005c2600c9ef2dc27b52333a 100644 (file)
@@ -38,6 +38,7 @@ PPCSubtarget::PPCSubtarget(const std::string &TT, const std::string &CPU,
   , HasAltivec(false)
   , HasFSQRT(false)
   , HasSTFIWX(false)
+  , HasISEL(false)
   , IsBookE(false)
   , HasLazyResolverStubs(false)
   , IsJITCodeModel(false)
@@ -47,8 +48,8 @@ PPCSubtarget::PPCSubtarget(const std::string &TT, const std::string &CPU,
   std::string CPUName = CPU;
   if (CPUName.empty())
     CPUName = "generic";
-#if defined(__APPLE__) || \
-      (defined(__linux__) && (defined(__ppc__) || defined(__powerpc__)))
+#if (defined(__APPLE__) || defined(__linux__)) && \
+    (defined(__ppc__) || defined(__powerpc__))
   if (CPUName == "generic")
     CPUName = sys::getHostCPUName();
 #endif
@@ -65,7 +66,7 @@ PPCSubtarget::PPCSubtarget(const std::string &TT, const std::string &CPU,
     // 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, ignore.
   if (use64BitRegs() && !has64BitSupport())