[llvm] r265503 - [RS4GC] Add a comment
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 5 18:33:54 PDT 2016
Author: sanjoy
Date: Tue Apr 5 20:33:54 2016
New Revision: 265503
URL: http://llvm.org/viewvc/llvm-project?rev=265503&view=rev
Log:
[RS4GC] Add a comment
Modified:
llvm/trunk/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp?rev=265503&r1=265502&r2=265503&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp Tue Apr 5 20:33:54 2016
@@ -1366,6 +1366,10 @@ makeStatepointExplicitImpl(const CallSit
Flags |= uint32_t(StatepointFlags::GCTransition);
TransitionArgs = TransitionBundle->Inputs;
}
+
+ // Instead of lowering calls to @llvm.experimental.deoptimize as normal calls
+ // with a return value, we lower then as never returning calls to
+ // __llvm_deoptimize that are followed by unreachable to get better codegen.
bool IsDeoptimize = false;
StatepointDirectives SD =
More information about the llvm-commits
mailing list