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

Maciej Gabka via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 22 08:16:19 PST 2023


================
@@ -384,6 +384,24 @@ define <vscale x 4 x float> @llvm_trunc_vscale_f32(<vscale x 4 x float> %in) {
   ret <vscale x 4 x float> %1
 }
 
+define <vscale x 2 x double> @frem_f64(<vscale x 2 x double> %in) {
----------------
mgabka wrote:

this is not intrinsic, I think you will either need to rename this file to sth like:
replace-with-veclib-sleef.ll or make a new file for instructions, renaming the file probably makes more sense for now.

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


More information about the llvm-commits mailing list