[llvm] [AArch64] SLP can vectorize frem (PR #82488)

Graham Hunter via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 21 06:33:45 PST 2024


================
@@ -2972,6 +2972,13 @@ InstructionCost AArch64TTIImpl::getArithmeticInstrCost(
 
     return BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info,
                                          Op2Info);
+  case ISD::FREM:
+    // Pass nullptr as fmod/fmodf calls are emitted by the backend even when
+    // those functions are not delcared in the module.
----------------
huntergr-arm wrote:

nit: 'declared'

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


More information about the llvm-commits mailing list