https://bugs.llvm.org/show_bug.cgi?id=49952

            Bug ID: 49952
           Summary: MMA - crash when ArgPromotion promotes pointer to
                    quad/pair types
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: C
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

Minimal test case:

static void __attribute__((noinline)) print_acc(__vector_quad *a) {
  vector unsigned char a0[4];
  __builtin_mma_disassemble_acc((void *)(a0), a);
  print_values(a0[0]);
}
void test(__vector_quad *a, vector unsigned char ac) {
  __builtin_mma_xvf32ger(a, ac, ac);
  print_acc(a);
}

To reproduce:
clang -O3 -mcpu=pwr10 t.c -S

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to