mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
Don't avoid cfi instructions on the bg/p.
The integrated assembler now works for ppc. Since this was the last use of the bg/p predicate and Hal says that it is now dead, drop the predicate too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203269 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1a763b03eb
commit
5abd4662b8
@ -190,8 +190,6 @@ public:
|
||||
|
||||
/// isDarwin - True if this is any darwin platform.
|
||||
bool isDarwin() const { return TargetTriple.isMacOSX(); }
|
||||
/// isBGP - True if this is a BG/P platform.
|
||||
bool isBGP() const { return TargetTriple.getVendor() == Triple::BGP; }
|
||||
/// isBGQ - True if this is a BG/Q platform.
|
||||
bool isBGQ() const { return TargetTriple.getVendor() == Triple::BGQ; }
|
||||
|
||||
|
@ -75,10 +75,6 @@ PPCTargetMachine::PPCTargetMachine(const Target &T, StringRef TT,
|
||||
FrameLowering(Subtarget), JITInfo(*this, is64Bit),
|
||||
TLInfo(*this), TSInfo(*this),
|
||||
InstrItins(Subtarget.getInstrItineraryData()) {
|
||||
|
||||
// The binutils for the BG/P are too old for CFI.
|
||||
if (Subtarget.isBGP())
|
||||
setMCUseCFI(false);
|
||||
initAsmInfo();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user