[llvm] [NVPTX] Lower 16xi8 and 8xi8 stores efficiently (PR #73646)

via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 28 06:36:24 PST 2023


================
@@ -37,3 +37,17 @@ define void @v16i8(ptr %a, ptr %b) {
   store <16 x i8> %v, ptr %b
   ret void
 }
+
+; CHECK-LABEL: .visible .func v16i8_store
+define void @v16i8_store(ptr %a, <16 x i8> %v) {
+; CHECK: st.v4.u32
----------------
ldrumm wrote:

Can we check for the extracts as well (their absense)?

https://github.com/llvm/llvm-project/pull/73646


More information about the llvm-commits mailing list