[PS4] Tighten up a triple check.
authorPaul Robinson <paul.robinson@sony.com>
Wed, 30 Nov 2016 23:14:27 +0000 (23:14 +0000)
committerPaul Robinson <paul.robinson@sony.com>
Wed, 30 Nov 2016 23:14:27 +0000 (23:14 +0000)
llvm-svn: 288286

llvm/lib/Target/X86/X86Subtarget.h

index f5b0a09..6940d1e 100644 (file)
@@ -494,7 +494,7 @@ public:
   bool isTargetFreeBSD() const { return TargetTriple.isOSFreeBSD(); }
   bool isTargetDragonFly() const { return TargetTriple.isOSDragonFly(); }
   bool isTargetSolaris() const { return TargetTriple.isOSSolaris(); }
-  bool isTargetPS4() const { return TargetTriple.isPS4(); }
+  bool isTargetPS4() const { return TargetTriple.isPS4CPU(); }
 
   bool isTargetELF() const { return TargetTriple.isOSBinFormatELF(); }
   bool isTargetCOFF() const { return TargetTriple.isOSBinFormatCOFF(); }