[PATCH] D41068: [CallSiteSplitting] Don't let debug intrinsics affect optimizations
Mikael Holmén via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 11 06:52:32 PST 2017
uabelho created this revision.
Herald added a subscriber: JDevlieghere.
This solves PR35616.
We don't want the compiler to generate different code when we compile
with/without -g, so we now ignore debug intrinsics when determining if
the optimization can trigger or not.
https://reviews.llvm.org/D41068
Files:
lib/Transforms/Scalar/CallSiteSplitting.cpp
test/Transforms/CallSiteSplitting/callsite-split-debug.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41068.126357.patch
Type: text/x-patch
Size: 3835 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171211/8648a9ea/attachment.bin>
More information about the llvm-commits
mailing list