[PATCH] D82440: [Power10] Implement Vector Shift Double Bit Immediate Builtins in LLVM/Clang
Biplob Mishra via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 24 19:01:32 PDT 2020
biplmish added inline comments.
================
Comment at: clang/test/CodeGen/builtins-ppc-p10vector.c:89
+ // CHECK-NEXT: ret <16 x i8>
+ return vec_sldb(vsca, vscb, 0);
+}
----------------
amyk wrote:
> `SH` can be any integer value between 0 and 7. It is better to add some checking to make sure the immediate is between these values.
I dont see the shift bounds specified. Can you confirm.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82440/new/
https://reviews.llvm.org/D82440
More information about the llvm-commits
mailing list