You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…5185)
As function calls do not generally preserve X16 and X17, it is beneficial
to allow AddrDisc operand of BLRA instruction to reside in these
registers and make use of this condition when computing the
discriminator.
This can save up to two MOVs in cases such as loading a (signed) virtual
function pointer via a (signed) pointer to vtable, for example
ldr x9, [x16]
mov x8, x16
mov x17, x8
movk x17, llvm#34646, lsl #48
blraa x9, x17
can be simplified to
ldr x8, [x16]
movk x16, llvm#34646, lsl #48
blraa x8, x16
Demonstration: https://discord.com/channels/432891584451706892/1184990251769397380/1305595574246182952
The text was updated successfully, but these errors were encountered: