llvm-project
40a4cbb0 - [MIR,test] Change llc -march=x86-64 to -mtriple=x86_64

Commit
327 days ago
[MIR,test] Change llc -march=x86-64 to -mtriple=x86_64 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). Therefore, -march= is error-prone and not recommended for tests without a target triple. The issue has been benign as these MIR tests do not utilize object file format specific detail, but it's good to change these tests to neighbor files that use -mtriple=x86_64
Author
Parents
Loading