summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2017-03-31 02:16:54 +0000
committerEric Christopher <echristo@gmail.com>2017-03-31 02:16:54 +0000
commit9fd267c221421a1e7df741bace0e3cc18ac2d079 (patch)
tree820509cb1c2f6e39a6f2e071691652f6c5e47757 /llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
parent5ed6c1076107f37c52293e34c03249b2ff096831 (diff)
downloadbcm5719-llvm-9fd267c221421a1e7df741bace0e3cc18ac2d079.tar.gz
bcm5719-llvm-9fd267c221421a1e7df741bace0e3cc18ac2d079.zip
Temporarily revert "[PPC] In PPCBoolRetToInt change the bool value to i64 if the target is ppc64" as it's causing test failures, I've given Carrot a testcase offline.
This reverts commit r298955. llvm-svn: 299153
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
index 298f8ec0bbf..5d68f32ccc5 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
@@ -323,7 +323,7 @@ TargetPassConfig *PPCTargetMachine::createPassConfig(PassManagerBase &PM) {
void PPCPassConfig::addIRPasses() {
if (TM->getOptLevel() != CodeGenOpt::None)
- addPass(createPPCBoolRetToIntPass(&getPPCTargetMachine()));
+ addPass(createPPCBoolRetToIntPass());
addPass(createAtomicExpandPass(&getPPCTargetMachine()));
// For the BG/Q (or if explicitly requested), add explicit data prefetch
OpenPOWER on IntegriCloud