[PATCH] D128172: [SLP] Add cost model for `llvm.powi.*` intrinsics
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 22 08:31:23 PDT 2022
dmgreen added a comment.
I think it is fine so long as the backend can handle it:
https://godbolt.org/z/5bvEn5563
But needs to be an invalid cost if it cannot:
https://godbolt.org/z/6jK7Kvc4s
Can you change the test lines to this, which should still return an invalid cost:
%powi = call <vscale x 4 x float> @llvm.powi.nxv4f32.i32(<vscale x 4 x float> %vec, i32 %extraarg)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128172/new/
https://reviews.llvm.org/D128172
More information about the llvm-commits
mailing list