[llvm] [TLI] replace-with-veclib works with FRem Instruction. (PR #76166)

Maciej Gabka via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 28 04:50:58 PST 2023


================
@@ -6,9 +6,10 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// Replaces calls to LLVM vector intrinsics (i.e., calls to LLVM intrinsics
-// with vector operands) with matching calls to functions from a vector
-// library (e.g., libmvec, SVML) according to TargetLibraryInfo.
+// Replaces instructions to LLVM vector intrinsics (i.e., the frem instruction
----------------
mgabka wrote:

Looks like you changed your mind in the middle of the sentence, I guess the aim was to have rather sth like:
"Replaces LLVM IR instructions with vector operands (i.e., the frem instruction or calls to LLVM intrinsics) with matching calls to functions from a vector library (e.g libmvec, SVML) using TargetLibraryInfo interface.

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


More information about the llvm-commits mailing list