[PATCH] D19316: [ppc64] Reenable sibling call optimization on ppc64 since fixed tsan library tail-call issue
Chuang-Yu Cheng via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 20 04:07:20 PDT 2016
cycheng created this revision.
cycheng added reviewers: kbarton, nemanjai.
cycheng added subscribers: hfinkel, tjablin, llvm-commits.
print-stack-trace.cc test failure of compiler-rt has been fixed by r266869 (http://reviews.llvm.org/D19148), so reenable sibling call optimization on ppc64
http://reviews.llvm.org/D19316
Files:
docs/ReleaseNotes.rst
lib/Target/PowerPC/PPCISelLowering.cpp
Index: lib/Target/PowerPC/PPCISelLowering.cpp
===================================================================
--- lib/Target/PowerPC/PPCISelLowering.cpp
+++ lib/Target/PowerPC/PPCISelLowering.cpp
@@ -55,7 +55,7 @@
static cl::opt<bool> DisablePPCUnaligned("disable-ppc-unaligned",
cl::desc("disable unaligned load/store generation on PPC"), cl::Hidden);
-static cl::opt<bool> DisableSCO("disable-ppc-sco", cl::init(true),
+static cl::opt<bool> DisableSCO("disable-ppc-sco",
cl::desc("disable sibling call optimization on ppc"), cl::Hidden);
STATISTIC(NumTailCalls, "Number of tail calls");
Index: docs/ReleaseNotes.rst
===================================================================
--- docs/ReleaseNotes.rst
+++ docs/ReleaseNotes.rst
@@ -104,6 +104,7 @@
Moved some optimizations from O3 to O2 (D18562)
+* Enable sibling call optimization on ppc64 ELFv1/ELFv2 abi
Changes to the X86 Target
-------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19316.54340.patch
Type: text/x-patch
Size: 941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160420/976936bf/attachment.bin>
More information about the llvm-commits
mailing list