[llvm] [SimplifyCFG] Remove conservative fcmp guard from speculativelyExecuteBB (PR #211611)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 19 02:39:03 PDT 2026


https://github.com/fhahn commented:

>  That guard predated the current cost model which now takes into consideration target-dependent knobs such as getCmpSelInstrCost() via validateAndCostRequiredSelects.

Could you add a test to show this working as expected, i.e. target-specific test where the FP select is expensive and the transform does not trigger?

https://github.com/llvm/llvm-project/pull/211611


More information about the llvm-commits mailing list