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

Graham Hunter via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 10 03:51:08 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 tried regenerating with that change, and got the following message:

> WARNING: Prefix TFCOMMON had conflicting output from different RUN lines for all functions in test /home/grahun01/CommunityLLVM/llvm/test/Transforms/LoopVectorize/AArch64/masked-call.ll

update_test_checks.py wasn't able to generate any TFCOMMON checks beyond a catch-all at the bottom to prevent complaints about no checks for the prefix.

If I just add a TFCOMMON between the last two runlines, the script does find some common checks on the first three functions in the file, but it isn't able to find a common set of checks for this new function.

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


More information about the llvm-commits mailing list