[llvm-dev] how to disable cmov generation?

Joerg Sonnenberger via llvm-dev llvm-dev at lists.llvm.org
Thu Oct 28 14:07:46 PDT 2021


On Thu, Oct 28, 2021 at 04:41:56PM +0200, Marc via llvm-dev wrote:
> 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?

Why do you want to do that? We intentionally don't have a flag for every
single transformation.

Joerg


More information about the llvm-dev mailing list