What kind of algorithm are you alluding to?
(Nevertheless, I think I needa schedule a Zoom with you)
Cryptographic implementations usually — compilers are fighting a different battle than typical needs for cryptography — optimizations designed by a compiler are typically adverse to security.