[llvm-dev] how to disable cmov generation?
Marc via llvm-dev
llvm-dev at lists.llvm.org
Thu Oct 28 07:41:56 PDT 2021
Hi,
sometimes llvm/clang generates conditional mov in the code wenn
optimization is enabled.
Is there a way that I can tell the compiler not to generate cmov
instructions?
gcc has the -fno-if-conversion and -fno-if-conversion2 for that, but so
far I have found not an equivalent in clang.
Thanks!
Regards,
Marc
--
Marc Heuse
www.mh-sec.de
PGP: AF3D 1D4C D810 F0BB 977D 3807 C7EE D0A0 6BE9 F573
More information about the llvm-dev
mailing list