[llvm] [InstCombine] Fold fcmp ogt (x - y), 0 into fcmp ogt x, y #85245 (PR #85506)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue May 14 12:54:55 PDT 2024


arsenm wrote:

> After updating the test, it is breaking `tail call fast <4 x float> @llvm.fabs.v4f32(<4 x float> [[TMP2]])`.
> 

This regression looks like it's because you are missing a hasOneUse check on the fsub. You should add some multi-use negative tests 


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


More information about the llvm-commits mailing list