Skip to content

Commit 78a6953

Browse files
committed
[PS4] Tighten up a triple check.
llvm-svn: 288286
1 parent 8069677 commit 78a6953

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/X86/X86Subtarget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ class X86Subtarget final : public X86GenSubtargetInfo {
494494
bool isTargetFreeBSD() const { return TargetTriple.isOSFreeBSD(); }
495495
bool isTargetDragonFly() const { return TargetTriple.isOSDragonFly(); }
496496
bool isTargetSolaris() const { return TargetTriple.isOSSolaris(); }
497-
bool isTargetPS4() const { return TargetTriple.isPS4(); }
497+
bool isTargetPS4() const { return TargetTriple.isPS4CPU(); }
498498

499499
bool isTargetELF() const { return TargetTriple.isOSBinFormatELF(); }
500500
bool isTargetCOFF() const { return TargetTriple.isOSBinFormatCOFF(); }

0 commit comments

Comments
 (0)