[PATCH] D109710: [PowerPC] Add range checks for P10 Vector Builtins

Amy Kwan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 13 18:35:26 PDT 2021


amyk added a comment.

`builtins-ppc-p10vector.c` looks like it needs to be updated from the failing test case.



================
Comment at: clang/test/CodeGen/builtins-ppc-p10vector.c:1373
 vector signed int test_vec_vec_splati_ins_si(void) {
+  // CHECK-BE: [[T0:%.+]]] = and %{{.+}}, i32 1
   // CHECK-BE: insertelement <4 x i32> %{{.+}}, i32 %{{.+}}, i32 %{{.+}}
----------------
Is the `i32` supposed to be on the first argument?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109710



More information about the cfe-commits mailing list