[PATCH] D24414: Conditionally eliminate library calls where the result value is not used
Rong Xu via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 11 14:39:14 PDT 2016
xur updated this revision to Diff 74299.
xur added a comment.
Move internal option -disable-libcalls-shrinkwrap to PassBuilderManager per
Mehdi's suggestion. Also check the FP format. This is primarily for long double
type where the powerpc has narrower range than in x86. We only handle
x87DoubleExtended format for long double for now.
https://reviews.llvm.org/D24414
Files:
include/llvm/InitializePasses.h
include/llvm/LinkAllPasses.h
include/llvm/Transforms/Scalar.h
include/llvm/Transforms/Utils/LibCallsShrinkWrap.h
lib/Passes/PassBuilder.cpp
lib/Passes/PassRegistry.def
lib/Transforms/IPO/PassManagerBuilder.cpp
lib/Transforms/Utils/CMakeLists.txt
lib/Transforms/Utils/LibCallsShrinkWrap.cpp
lib/Transforms/Utils/Utils.cpp
test/Transforms/Util/libcalls-shrinkwrap-double.ll
test/Transforms/Util/libcalls-shrinkwrap-float.ll
test/Transforms/Util/libcalls-shrinkwrap-long-double.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24414.74299.patch
Type: text/x-patch
Size: 55817 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161011/1c103f04/attachment.bin>
More information about the llvm-commits
mailing list