[all-commits] [llvm/llvm-project] 6c39e3: [clang][RISCV] Reorder sema check for RVV type (#8...

Brandon Wu via All-commits all-commits at lists.llvm.org
Tue Mar 5 17:12:25 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c39e3fa113d2956cb5b5f6769d2ad9a266377e5
      https://github.com/llvm/llvm-project/commit/6c39e3fa113d2956cb5b5f6769d2ad9a266377e5
  Author: Brandon Wu <brandon.wu at sifive.com>
  Date:   2024-03-06 (Wed, 06 Mar 2024)

  Changed paths:
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/Sema/riscv-vector-float64-check.c

  Log Message:
  -----------
  [clang][RISCV] Reorder sema check for RVV type (#83553)

Currently using the command `clang -cc1 -triple riscv64` to compile the
code below:
```
#include <riscv_vector.h>
void foo() {
  vfloat64m1_t f64m1;
}
```
would get the error message "RISC-V type 'vfloat64m1_t' ... requires the
'zve64x' extension"
which is supposed to be "RISC-V type 'vfloat64m1_t' ... requires the
'zve64d' extension".



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list