summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/propagate-attributes-bitcast-function.ll
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2019-08-20 20:58:02 +0000
committerMartin Storsjo <martin@martin.st>2019-08-20 20:58:02 +0000
commit100957153a91bc8f69b9abbede29612667c8e5a8 (patch)
treed83f92e51bab9291894031bbb635b57795681f4a /llvm/test/CodeGen/AMDGPU/propagate-attributes-bitcast-function.ll
parentb0a7544ee2e369eb34be2e2c33f56d1170b6bde3 (diff)
downloadbcm5719-llvm-100957153a91bc8f69b9abbede29612667c8e5a8.tar.gz
bcm5719-llvm-100957153a91bc8f69b9abbede29612667c8e5a8.zip
[test] Fix tests when run on windows after SVN r369426. NFC.
When running tests on windows, invoking "llc -march=<arch>" will implicitly use windows as the target os, making these tests misbehave after this change. Fix the issue by using more specific -mtriple values instead of plain -march in these tests. This should hopefully fix buildbot failures like http://lab.llvm.org:8011/builders/clang-x64-windows-msvc/builds/9816. llvm-svn: 369443
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/propagate-attributes-bitcast-function.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/propagate-attributes-bitcast-function.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/propagate-attributes-bitcast-function.ll b/llvm/test/CodeGen/AMDGPU/propagate-attributes-bitcast-function.ll
index c1d8009d08b..173bc72db85 100644
--- a/llvm/test/CodeGen/AMDGPU/propagate-attributes-bitcast-function.ll
+++ b/llvm/test/CodeGen/AMDGPU/propagate-attributes-bitcast-function.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=amdgcn -mcpu=gfx1010 -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
+; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
; GCN: foo1:
; v_cndmask_b32_e64 v0, 0, 1, vcc_lo{{$}}
OpenPOWER on IntegriCloud