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

Paul Walker via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Feb 22 07:35:03 PST 2024


paulwalker-arm wrote:

Changing `getArithmeticInstrCost` is just too dangerous.  What if one opcode needs TLI for a different reason? all of a sudden all existing callers are entered into the contract (FREM is guaranteed to be transformed into a math call) without ensuring that's actually the case.

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


More information about the llvm-branch-commits mailing list