"Subtarget->getFrameLowering()->hasFP(*MF)"> {
let RecomputePerFunction = 1;
}
-def IsPS4 : Predicate<"Subtarget->isTargetPS4()">;
-def NotPS4 : Predicate<"!Subtarget->isTargetPS4()">;
+def IsPS : Predicate<"Subtarget->isTargetPS()">;
+def NotPS : Predicate<"!Subtarget->isTargetPS()">;
def IsNaCl : Predicate<"Subtarget->isTargetNaCl()">;
def NotNaCl : Predicate<"!Subtarget->isTargetNaCl()">;
def SmallCode : Predicate<"TM.getCodeModel() == CodeModel::Small">;
} // SchedRW
def : Pat<(debugtrap),
- (INT3)>, Requires<[NotPS4]>;
+ (INT3)>, Requires<[NotPS]>;
def : Pat<(debugtrap),
- (INT (i8 0x41))>, Requires<[IsPS4]>;
+ (INT (i8 0x41))>, Requires<[IsPS]>;
//===----------------------------------------------------------------------===//
// Input/Output Instructions.
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 isTargetPS() const { return TargetTriple.isPS(); }
bool isTargetELF() const { return TargetTriple.isOSBinFormatELF(); }
bool isTargetCOFF() const { return TargetTriple.isOSBinFormatCOFF(); }
; RUN: llc < %s -mtriple=i686-apple-darwin8 -mcpu=yonah | FileCheck %s -check-prefix=DARWIN
; RUN: llc < %s -mtriple=i686-unknown-linux -mcpu=yonah | FileCheck %s -check-prefix=LINUX
; RUN: llc < %s -mtriple=x86_64-scei-ps4 | FileCheck %s -check-prefix=PS4
+; RUN: llc < %s -mtriple=x86_64-sie-ps5 | FileCheck %s -check-prefix=PS4
; RUN: llc < %s -mtriple=x86_64-windows-msvc | FileCheck %s -check-prefix=WIN64
; DARWIN-LABEL: test0: