[llvm] [llc] set canonical triple in module (PR #203725)

Alex MacLean via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 15 08:10:05 PDT 2026


================
@@ -0,0 +1,14 @@
+;; Verify that llc correctly sets the module triple when one is not present.
+
+; RUN: llc -march=aarch64                     -stop-after=finalize-isel -o - %s | FileCheck %s --check-prefix=MARCH
+; RUN: llc -mtriple=aarch64-unknown-linux-gnu -stop-after=finalize-isel -o - %s | FileCheck %s --check-prefix=MTRIPLE
+; RUN: llc                                    -stop-after=finalize-isel -o - %s | FileCheck %s --check-prefix=DEFAULT
+
+; REQUIRES: aarch64-registered-target
+; REQUIRES: default_triple
----------------
AlexMaclean wrote:

Fixed.

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


More information about the llvm-commits mailing list