Bug 251603
| Summary: | Non-arm64e/x86 platforms load otherwise ignored tag arguments to call/jmp | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Angelos Oikonomopoulos <angelos> |
| Component: | JavaScriptCore | Assignee: | Angelos Oikonomopoulos <angelos> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Angelos Oikonomopoulos
The extra arguments to call/jmp for pointer tagging are only used on arm64e (and are ignored during code generation on other platforms). However, on risc platforms, generic passes that convert large immediates to "load immediate into reg + use reg" sequences will pointlessly generate instructions to load any extra arguments into regs. This is dead code.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Angelos Oikonomopoulos
Pull request: https://github.com/WebKit/WebKit/pull/9532
Radar WebKit Bug Importer
<rdar://problem/105227555>
EWS
Committed 260359@main (0faaa00680c0): <https://commits.webkit.org/260359@main>
Reviewed commits have been landed. Closing PR #9532 and removing active labels.