phoebewang wrote: @nikic Thanks for the comments! I agree with you and don't think that's the right way for cmove optimization. I don't have a good idea for now. Let me turn it into draft and revisit later. https://github.com/llvm/llvm-project/pull/110420