[clang] [llvm] [RISCV] Add Tenstorrent Ascalon XG (PR #229030)
Min-Yih Hsu via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 5 10:46:59 PDT 2026
================
@@ -250,6 +250,71 @@
// MCPU-TT-ASCALON-X-SAME: "-target-feature" "+svpbmt"
// MCPU-TT-ASCALON-X-SAME: "-target-abi" "lp64d"
+// RUN: %clang --target=riscv64 -### -c %s 2>&1 -mtune=tt-ascalon-xg | FileCheck -check-prefix=MTUNE-TT-ASCALON-XG %s
+// MTUNE-TT-ASCALON-XG: "-tune-cpu" "tt-ascalon-xg"
+
+// RUN: %clang --target=riscv64 -### -c %s 2>&1 -mcpu=tt-ascalon-xg | FileCheck -check-prefix=MCPU-TT-ASCALON-XG %s
+// MCPU-TT-ASCALON-XG: "-target-cpu" "tt-ascalon-xg"
----------------
mshockwave wrote:
could you use `--print-enabled-extensions` to test instead?
https://github.com/llvm/llvm-project/pull/229030
More information about the cfe-commits
mailing list