[PATCH] D82359: [Power10] Implement Vector Replace Builtins in LLVM/Clang

Lei Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 3 15:14:17 PDT 2020


lei added inline comments.


================
Comment at: clang/test/CodeGen/builtins-ppc-p10vector.c:532
+  // CHECK-LE: @llvm.ppc.altivec.vinsw(<4 x i32> %{{.+}}, i64 %{{.+}}, i32 8
+  // CHECK-LE-NEXT: ret <4 x i32>
+  return vec_replace_elt(vuia, uia, 1);
----------------
No need for this, please use default and remove the CHECK-LE run line as it's the same as the default run line.


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

https://reviews.llvm.org/D82359





More information about the llvm-commits mailing list