[PATCH] D18592: [PowerPC] Back end improvements to vec_splat
amehsan via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 30 04:37:32 PDT 2016
amehsan added inline comments.
================
Comment at: include/llvm/IR/IntrinsicsPowerPC.td:752-755
@@ -749,1 +751,6 @@
+ [llvm_v4i32_ty, llvm_i32_ty], [IntrNoMem]>;
+def int_ppc_vsx_xxpermdi :
+ PowerPC_VSX_Intrinsic<"xxpermdi", [llvm_v2i64_ty],
+ [llvm_v2i64_ty, llvm_v2i64_ty, llvm_i32_ty],
+ [IntrNoMem]>;
}
----------------
Are you going to define a builtin and emit this intrinsics in the clang, when that builtin is seen? Can't we use shufflevector instruction, instead of target specific intrinsic?
Repository:
rL LLVM
http://reviews.llvm.org/D18592
More information about the llvm-commits
mailing list