abrown commented on Issue #2468:
@cfallin, @bnjbvr, I think this almost wraps up what I had proposed in #1385. Several caveats:
- I chose to not replace all of the
ctx.emit(PXOR...)
uses withctx.emit_constant([0; 16]...)
because I was concerned there might be an extra allocation or extra logic that might slightly slow down compile times; if you don't think this is the case and want a consistent way of generating constants, I can do the replacement here- I have not dug into removing
LowerCtx::get_constant
(its uses can all be replaced byLowerCtx::get_immediate
) and theLowerInput::constant
field--I can do that as a part of this PR but wanted to get feedback on the current changes first
abrown commented on Issue #2468:
(And apparently CI will fail until I figure out the
LowerCtx::get_constant
andLowerInput::constant
issues: do we want to go down that route?)
abrown edited a comment on Issue #2468:
(And apparently CI will fail until I figure out the
LowerCtx::get_constant
andLowerInput::constant
issues: do we want to go down the route to remove those?)
Last updated: Nov 22 2024 at 16:03 UTC