Tomer Shafir 5fedb7c588
[Clang][ARM] Fix tests using thumb instead arm arch on cc1 (#166416)
Currently, the ARM backend incorrectly parses every `arm` prefixed arch
to be non-thumb, but `armv6m` is THUMB and doesnt have ARM ops causing
the test to fail when compiling to assembly and not LLVM IR: `error:
Function 'foo' uses ARM instructions, but the target does not support
ARM mode execution.` This only happens when invoking cc1 directly and
not the Clang driver.

As a quick triage, this patch changes the tests to use `thumb`.

Uncovered by https://github.com/llvm/llvm-project/pull/151404
2025-11-05 16:29:05 +02:00
..
2025-02-27 11:34:16 -08:00