[clang] [CIR][AArch64] Upstream vmull_*/vmull_high_* Neon builtins (PR #188371)

Andrzej WarzyƄski via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 25 06:16:51 PDT 2026


================
@@ -982,3 +982,220 @@ int64_t test_vshld_u64(int64_t a,int64_t b) {
   return (int64_t)vshld_u64(a, b);
 }
 
+//===------------------------------------------------------===//
+// 2.1.1.2.8. Widening Multiplication
+//===------------------------------------------------------===//
+
+// LLVM-LABEL: @test_vmull_s8(
+// CIR-LABEL: @vmull_s8(
+int16x8_t test_vmull_s8(int8x8_t a, int8x8_t b) {
+ // CIR: cir.call_llvm_intrinsic "aarch64.neon.smull" %{{.*}}, %{{.*}} : (!cir.vector<8 x !s8i>, !cir.vector<8 x !s8i>) -> !cir.vector<8 x !s16i>
+
+// LLVM-SAME: <8 x i8> noundef [[A:%.*]], <8 x i8> noundef [[B:%.*]]) #[[ATTR0]] {
----------------
banach-space wrote:

We don't really check the attributes.
```suggestion
// LLVM-SAME: <8 x i8> noundef [[A:%.*]], <8 x i8> {{.*}} [[B:%.*]])
```

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


More information about the cfe-commits mailing list