diff --git a/llvm/test/CodeGen/Hexagon/csr-stubs-spill-threshold.ll b/llvm/test/CodeGen/Hexagon/csr-stubs-spill-threshold.ll --- a/llvm/test/CodeGen/Hexagon/csr-stubs-spill-threshold.ll +++ b/llvm/test/CodeGen/Hexagon/csr-stubs-spill-threshold.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=hexagon -O2 -spill-func-threshold=2 < %s | FileCheck %s +; RUN: llc -march=hexagon -mtriple=hexagon-unknown-linux-gnu -O2 -spill-func-threshold=2 < %s | FileCheck %s declare i32 @f0(i32, i32, i32, i32, i32, i32) diff --git a/llvm/test/CodeGen/Hexagon/long-calls.ll b/llvm/test/CodeGen/Hexagon/long-calls.ll --- a/llvm/test/CodeGen/Hexagon/long-calls.ll +++ b/llvm/test/CodeGen/Hexagon/long-calls.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=hexagon -enable-save-restore-long -hexagon-initial-cfg-cleanup=0 < %s | FileCheck %s +; RUN: llc -march=hexagon -mtriple=hexagon-unknown-linux-gnu -enable-save-restore-long -hexagon-initial-cfg-cleanup=0 < %s | FileCheck %s ; Check that the -long-calls feature is supported by the backend. diff --git a/llvm/test/CodeGen/Hexagon/mlong-calls.ll b/llvm/test/CodeGen/Hexagon/mlong-calls.ll --- a/llvm/test/CodeGen/Hexagon/mlong-calls.ll +++ b/llvm/test/CodeGen/Hexagon/mlong-calls.ll @@ -1,4 +1,4 @@ -; RUN: llc -hexagon-long-calls -march=hexagon -enable-save-restore-long=true < %s | FileCheck %s +; RUN: llc -hexagon-long-calls -march=hexagon -mtriple=hexagon-unknown-linux-gnu -enable-save-restore-long=true < %s | FileCheck %s ; CHECK: call ##f1 ; CHECK: jump ##__restore diff --git a/llvm/test/CodeGen/Hexagon/pic-regusage.ll b/llvm/test/CodeGen/Hexagon/pic-regusage.ll --- a/llvm/test/CodeGen/Hexagon/pic-regusage.ll +++ b/llvm/test/CodeGen/Hexagon/pic-regusage.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=hexagon -relocation-model=pic < %s | FileCheck %s +; RUN: llc -march=hexagon -mtriple=hexagon-unknown-linux-gnu -relocation-model=pic < %s | FileCheck %s ; Force the use of R14 (by clobbering everything else in the inline asm). ; Make sure that R14 is not set before the __save call (which will clobber diff --git a/llvm/test/CodeGen/Hexagon/runtime-stkchk.ll b/llvm/test/CodeGen/Hexagon/runtime-stkchk.ll --- a/llvm/test/CodeGen/Hexagon/runtime-stkchk.ll +++ b/llvm/test/CodeGen/Hexagon/runtime-stkchk.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=hexagon -mcpu=hexagonv55 -enable-stackovf-sanitizer < %s | FileCheck %s +; RUN: llc -march=hexagon -mcpu=hexagonv55 -mtriple=hexagon-unknown-linux-gnu -enable-stackovf-sanitizer < %s | FileCheck %s ; CHECK-LABEL: foo_1 ; CHECK: __runtime_stack_check diff --git a/llvm/test/CodeGen/Hexagon/swp-memrefs-epilog.ll b/llvm/test/CodeGen/Hexagon/swp-memrefs-epilog.ll --- a/llvm/test/CodeGen/Hexagon/swp-memrefs-epilog.ll +++ b/llvm/test/CodeGen/Hexagon/swp-memrefs-epilog.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=hexagon -O2 -fp-contract=fast < %s -pipeliner-experimental-cg=true | FileCheck %s +; RUN: llc -march=hexagon -mtriple=hexagon-unknown-linux-gnu -O2 -fp-contract=fast < %s -pipeliner-experimental-cg=true | FileCheck %s ; Test that the memoperands for instructions in the epilog are updated ; correctly. Previously, the pipeliner updated the offset for the memoperands diff --git a/llvm/test/CodeGen/Hexagon/vararg-formal.ll b/llvm/test/CodeGen/Hexagon/vararg-formal.ll --- a/llvm/test/CodeGen/Hexagon/vararg-formal.ll +++ b/llvm/test/CodeGen/Hexagon/vararg-formal.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=hexagon < %s | FileCheck %s +; RUN: llc -march=hexagon -mtriple=hexagon-unknown-linux-gnu < %s | FileCheck %s ; Make sure that the first formal argument is not loaded from memory. ; CHECK-NOT: memw