summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-03-07 19:04:12 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-03-07 19:04:12 +0000
commit24a542fd5c7e69fa8c15a2cd0c78cb558b952619 (patch)
tree6e06a2d24971faff13c1e9fe270ad8fe35e14a0f /llvm/lib/Target
parent49f359aea4b1d625946ca21c4a4cee8d8272dbc1 (diff)
downloadbcm5719-llvm-24a542fd5c7e69fa8c15a2cd0c78cb558b952619.tar.gz
bcm5719-llvm-24a542fd5c7e69fa8c15a2cd0c78cb558b952619.zip
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. llvm-svn: 203269
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/PowerPC/PPCSubtarget.h2
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetMachine.cpp4
2 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h
index a9159fbc73d..e9f83101890 100644
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.h
+++ b/llvm/lib/Target/PowerPC/PPCSubtarget.h
@@ -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; }
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
index b6dffc205b0..46d2064a18d 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
@@ -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();
}
OpenPOWER on IntegriCloud