Fangrui Song
9e9907f1cf
[AMDGPU,test] Change llc -march= to -mtriple= ( #75982 )
...
Similar to 806761a7629df268c8aed49657aeccffa6bca449.
For IR files without a target triple, -mtriple= specifies the full
target triple while -march= merely sets the architecture part of the
default target triple, leaving a target triple which may not make sense,
e.g. amdgpu-apple-darwin.
Therefore, -march= is error-prone and not recommended for tests without
a target triple. The issue has been benign as we recognize
$unknown-apple-darwin as ELF instead of rejecting it outrightly.
This patch changes AMDGPU tests to not rely on the default
OS/environment components. Tests that need fixes are not changed:
```
LLVM :: CodeGen/AMDGPU/fabs.f64.ll
LLVM :: CodeGen/AMDGPU/fabs.ll
LLVM :: CodeGen/AMDGPU/floor.ll
LLVM :: CodeGen/AMDGPU/fneg-fabs.f64.ll
LLVM :: CodeGen/AMDGPU/fneg-fabs.ll
LLVM :: CodeGen/AMDGPU/r600-infinite-loop-bug-while-reorganizing-vector.ll
LLVM :: CodeGen/AMDGPU/schedule-if-2.ll
```
2024-01-16 21:54:58 -08:00
..
2023-08-21 12:25:15 +01:00
2024-01-16 21:54:58 -08:00
2023-12-05 14:09:36 +01:00
2023-05-17 17:03:15 +02:00
2023-05-17 17:03:15 +02:00
2024-01-11 13:20:02 -08:00
2023-12-05 14:09:36 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-04-06 17:31:27 +07:00
2023-07-12 11:32:13 +02:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-06-23 17:13:57 +02:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-07-12 09:46:08 +02:00
2023-07-12 09:46:08 +02:00
2023-01-05 12:43:45 +01:00
2023-04-06 17:31:27 +07:00
2023-01-05 12:43:45 +01:00
2023-01-06 10:51:02 +00:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-04-06 17:31:27 +07:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-06-23 17:13:57 +02:00
2022-11-25 13:46:51 +08:00
2023-01-05 12:43:45 +01:00
2023-03-07 17:10:34 +01:00
2023-03-20 11:22:21 -07:00
2024-01-12 07:45:28 -08:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-06-23 17:13:57 +02:00
2023-07-12 14:35:55 +02:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-04-11 16:49:12 +02:00
2023-01-05 12:43:45 +01:00
2023-04-11 16:49:12 +02:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-09-22 12:40:37 +02:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-06-22 15:36:32 +01:00
2023-01-05 12:43:45 +01:00
2023-10-31 00:50:57 +03:00
2023-04-11 16:49:12 +02:00
2023-04-06 17:31:27 +07:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-02-21 00:13:04 +05:30
2024-01-15 21:31:28 +00:00
2023-01-05 12:43:45 +01:00
2023-08-25 05:42:08 +00:00
2023-03-10 17:17:00 -08:00
2022-09-27 09:58:48 +01:00
2023-10-31 11:43:57 -07:00
2023-01-05 12:43:45 +01:00
2023-01-06 12:14:45 +01:00
2023-01-05 12:43:45 +01:00
2023-06-23 17:13:57 +02:00
2023-01-05 12:43:45 +01:00
2023-06-23 17:13:57 +02:00
2023-04-11 16:49:12 +02:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00
2023-01-05 12:43:45 +01:00