-
Notifications
You must be signed in to change notification settings - Fork 153
Conversation
LGTM. |
@@ -3718,7 +3718,8 @@ IRNode *GenIR::callHelper(CorInfoHelpFunc HelperID, bool MayThrow, IRNode *Dst, | |||
(Dst == nullptr) ? Type::getVoidTy(LLVMContext) : Dst->getType(); | |||
return (IRNode *)callHelperImpl(HelperID, MayThrow, ReturnType, Arg1, Arg2, | |||
Arg3, Arg4, Alignment, IsVolatile, NoCtor, | |||
CanMoveUp).getInstruction(); | |||
CanMoveUp) | |||
.getInstruction(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's with these weird dangling .?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When clang-format says jump, I jump.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shrug. I figured. But it looks strange to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. We'll see how the formatting job feels about it, since it's likely that I'm running a slightly newer version of clang-format locally.
Other JITs either a) do not optimize this path, or b) only optimize here if the incoming argument is the result of lowering a ldtoken instruction. We don't yet have the ability do detect (b); stick with (a) in the meantime.
3fa2a1f
to
be3a522
Compare
Stub out getValueFromRuntimeHandle.
Other JITs either
a) do not optimize this path, or
b) only optimize here if the incoming argument is the result of lowering
a ldtoken instruction.
We don't yet have the ability do detect (b); stick with (a) in the meantime.