[PATCH] D82520: [Power10] Implement Vector Splat Immediate Builtins in LLVM/Clang
Biplob Mishra via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 6 10:50:33 PDT 2020
biplmish added inline comments.
================
Comment at: clang/test/CodeGen/builtins-ppc-p10vector.c:651
+ // CHECK-NEXT: [[T3:%.+]] = shufflevector <2 x double> [[T2:%.+]], <2 x double> undef, <2 x i32> zeroinitialize
+ // CHECK-NEXT: ret <2 x double> [[T3:%.+]]
+ return vec_splatid(1.0);
----------------
lei wrote:
> missing CHECK-BE?
There will 1 less case for BE as one splat location will be the same as index.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82520/new/
https://reviews.llvm.org/D82520
More information about the llvm-commits
mailing list