[llvm] [NFC][LV] Add test for vectorizing fmuladd with another call (PR #68601)

Graham Hunter via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 12 06:06:59 PDT 2023


================
@@ -855,7 +855,204 @@ for.cond.cleanup:
   ret void
 }
 
+
+; An fmuladd intrinsic followed by a call; we want to make sure we correctly
+; pick up the second call and assign a vector variant to it.
+define double @test_widen_fmuladd_and_call(ptr noalias %a, ptr readnone %b, double %m) #4 {
----------------
huntergr-arm wrote:

I added TFCOMMON to the two runlines which usually tailfold, then added 'simplifycfg' to the list of passes they run to remove the dead scalar loops. Hopefully that's sufficient reduction in checks for now.

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


More information about the llvm-commits mailing list