[all-commits] [llvm/llvm-project] 6e8718: [ARC, test] Change llc -march= to -mtriple=
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sun Dec 15 12:30:16 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6e8718c3e32225c579a3a974be003c7f38c32a05
https://github.com/llvm/llvm-project/commit/6e8718c3e32225c579a3a974be003c7f38c32a05
Author: Fangrui Song <i at maskray.me>
Date: 2024-12-15 (Sun, 15 Dec 2024)
Changed paths:
M llvm/test/CodeGen/ARC/addrmode.ll
M llvm/test/CodeGen/ARC/alu.ll
M llvm/test/CodeGen/ARC/brcc.ll
M llvm/test/CodeGen/ARC/call.ll
M llvm/test/CodeGen/ARC/intrinsics.ll
M llvm/test/CodeGen/ARC/ldst.ll
Log Message:
-----------
[ARC,test] Change llc -march= to -mtriple=
Similar to 806761a7629df268c8aed49657aeccffa6bca449
-mtriple= specifies the full target triple while -march= merely sets the
architecture part of the default target triple (e.g. Windows, macOS),
leaving a target triple which may not make sense.
Therefore, -march= is error-prone and not recommended for tests without
a target triple. The issue has been benign as we recognize
arc-apple-darwin as ELF instead of rejecting it outrightly.
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