[PATCH] D104237: [RISCV][VP] Lower FP VP ISD nodes to RVV instructions

Roger Ferrer Ibanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 15 02:57:31 PDT 2021


rogfer01 added a comment.

In D104237#2817214 <https://reviews.llvm.org/D104237#2817214>, @craig.topper wrote:

> Will frem need to be expanded to a loop in the expansion pass?

Would it be reasonable to expand it using the definition of `fmod` but vector-wise? It seems we'd need a division, a rounding to zero, a mutiplication and then a subtraction.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104237/new/

https://reviews.llvm.org/D104237



More information about the llvm-commits mailing list