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.
Paths
| Differential D41068
[CallSiteSplitting] Don't let debug intrinsics affect optimizations ClosedPublic Authored by uabelho on Dec 11 2017, 6:52 AM.
Details Summary This solves PR35616. We don't want the compiler to generate different code when we compile
Diff Detail
Event TimelineComment Actions Does the patch make sense? I don't know this code at all or if there are other problems that also needs to be addressed if we allow dbg.values to be Comment Actions Thanks for catching this. Closed by commit rL320460: [CallSiteSplitting] Don't let debug intrinsics affect optimizations (authored by uabelho). · Explain WhyDec 11 2017, 11:30 PM This revision was automatically updated to reflect the committed changes. Comment Actions
Thanks! Yes that's my assumption as well.
Revision Contents
Diff 126505 llvm/trunk/lib/Transforms/Scalar/CallSiteSplitting.cpp
llvm/trunk/test/Transforms/CallSiteSplitting/callsite-split-debug.ll
|