[ARM] Specify Triple in DebugInfo Tests
authorArchibald Elliott <archibald.elliott@arm.com>
Tue, 1 Nov 2022 14:52:37 +0000 (14:52 +0000)
committerArchibald Elliott <archibald.elliott@arm.com>
Tue, 1 Nov 2022 14:55:33 +0000 (14:55 +0000)
commitd59ce7d0eaada995e1a8f262f1ff33888575332c
treed547a67685c02935b1fffc31fd24abd63fb71556
parent0933b8c72c52dd7f11c6af5f86ce8af01cb194be
[ARM] Specify Triple in DebugInfo Tests

When the host's target triple ends in `-windows-msvc`, `%llc_dwarf`
contains an explicit `-windows-gnu` triple which ensures that dwarf will
be used. This is useful in target-independent tests, where no triple is
specified, and no target-specific features are used. However, this is
not compatible with target-dependent tests (such as those in
llvm/test/DebugInfo/ARM), as the command-line triple will override the
triple in the LLVM IR program, causing test issues on windows.

This change switches these tests to use an explicit triple, so the tests
test what was expected, and there is no flakiness on windows.

Fixes #58053

Differential Revision: https://reviews.llvm.org/D136066
llvm/test/DebugInfo/ARM/bitfield.ll
llvm/test/DebugInfo/ARM/float-args.ll
llvm/test/DebugInfo/ARM/split-complex.ll