This patch adds PowerPC vec_splat, vec_splats and vec_splat_s32 intrinsic. It includes semantic check for the arguments of vec_splat and vec_splat_s32.
Co-authored-by: @pscoro
Paths
| Differential D157728
[flang] Add PowerPC vec_splat, vec_splats and vec_splat_s32 intrinsic ClosedPublic Authored by kkwli0 on Aug 11 2023, 8:32 AM.
Details Summary This patch adds PowerPC vec_splat, vec_splats and vec_splat_s32 intrinsic. It includes semantic check for the arguments of vec_splat and vec_splat_s32. Co-authored-by: @pscoro
Diff Detail Event TimelineHerald added subscribers: mehdi_amini, steven.zhang, jdoerfert and 3 others. · View Herald Transcript
kkwli0 marked an inline comment as done. Comment ActionsAddress review comments
This revision is now accepted and ready to land.Aug 14 2023, 8:53 AM pscoro added inline comments.
Closed by commit rGf50eaea8ce13: [flang] Add PowerPC vec_splat, vec_splats and vec_splat_s32 intrinsic (authored by kkwli0). · Explain WhyAug 14 2023, 1:23 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 549416 flang/include/flang/Optimizer/Builder/PPCIntrinsicCall.h
flang/lib/Optimizer/Builder/PPCIntrinsicCall.cpp
flang/lib/Semantics/check-call.cpp
flang/module/__ppc_intrinsics.f90
flang/test/Lower/PowerPC/ppc-vec-splat-elem-order.f90
flang/test/Lower/PowerPC/ppc-vec-splat.f90
flang/test/Semantics/PowerPC/ppc-vector-intrinsics.f90
|
llvm_unreachable?