[llvm] r248924 - [PowerPC] Disable shrink wrapping
Hal Finkel via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 30 10:29:03 PDT 2015
Author: hfinkel
Date: Wed Sep 30 12:29:03 2015
New Revision: 248924
URL: http://llvm.org/viewvc/llvm-project?rev=248924&view=rev
Log:
[PowerPC] Disable shrink wrapping
Shrink wrapping is causing a self-hosting failure on PPC64/Linux. Disable for
now until the problem can be fixed.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.cpp
llvm/trunk/test/CodeGen/PowerPC/ppc-shrink-wrapping.ll
Modified: llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.cpp?rev=248924&r1=248923&r2=248924&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.cpp Wed Sep 30 12:29:03 2015
@@ -1710,6 +1710,6 @@ PPCFrameLowering::restoreCalleeSavedRegi
}
bool PPCFrameLowering::enableShrinkWrapping(const MachineFunction &MF) const {
- return (MF.getSubtarget<PPCSubtarget>().isSVR4ABI() &&
- MF.getSubtarget<PPCSubtarget>().isPPC64());
+ // FIXME: Enable this for non-Darwin PPC64 once it is confirmed working.
+ return false;
}
Modified: llvm/trunk/test/CodeGen/PowerPC/ppc-shrink-wrapping.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ppc-shrink-wrapping.ll?rev=248924&r1=248923&r2=248924&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ppc-shrink-wrapping.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ppc-shrink-wrapping.ll Wed Sep 30 12:29:03 2015
@@ -1,5 +1,6 @@
; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 %s -o - | FileCheck %s --check-prefix=CHECK --check-prefix=ENABLE
; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu %s -o - -enable-shrink-wrap=false | FileCheck %s --check-prefix=CHECK --check-prefix=DISABLE
+; XFAIL: *
;
; Note: Lots of tests use inline asm instead of regular calls.
; This allows to have a better control on what the allocation will do.
More information about the llvm-commits
mailing list