[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:09 PDT 2026


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

Fixed.

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


More information about the llvm-commits mailing list