-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RISC-V] Remove unnecessary assertion from emitOutputInstr #98484
Conversation
It fired a false positive when W^X was enabled
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsRemove unnecessary assertion. It fired a false positive when W^X was enabled. Also, reuse emitOutputLong instead of creating our own for RISC-V. Part of #84834
|
Diff results for #98484Throughput diffsThroughput diffs for linux/arm64 ran on windows/x64MinOpts (-0.01% to +0.00%)
Throughput diffs for osx/arm64 ran on windows/x64MinOpts (-0.00% to +0.01%)
Throughput diffs for windows/arm64 ran on windows/x64MinOpts (-0.01% to +0.00%)
Details here |
8a77f8a
to
fbcd761
Compare
There shouldn't be a problem when we introduce compressed instructions, VF2 supports unaligned stores (sw) Also, replace compile-time conditions with static_asserts.
Diff results for #98484Throughput diffsThroughput diffs for osx/arm64 ran on windows/x64MinOpts (-0.00% to +0.01%)
Throughput diffs for windows/arm64 ran on windows/x64MinOpts (-0.01% to +0.00%)
Details here |
Diff results for #98484Throughput diffsThroughput diffs for osx/arm64 ran on windows/x64MinOpts (-0.00% to +0.01%)
Throughput diffs for windows/arm64 ran on windows/x64MinOpts (-0.00% to +0.01%)
Details here |
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.
LGTM
LGTM |
Remove unnecessary assertion introduced in #98226. It fired a false positive when W^X was enabled.
Part of #84834
cc @wscho77 @HJLeee @clamp03 @JongHeonChoi @t-mustafin @gbalykov @viewizard @ashaurtaev @brucehoult @sirntar @yurai007 @Bajtazar @bartlomiejko