summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2019-02-25 22:59:55 +0000
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2019-02-25 22:59:55 +0000
commitab25f1e65b06af2566c0f59bd71c67e0199a37f2 (patch)
tree28ad88808f8e5966349f01bd601ff21d15a02cd0
parentf3b8c8509b4672dd35a9d2c11622165038b19ebd (diff)
downloadbcm5719-llvm-ab25f1e65b06af2566c0f59bd71c67e0199a37f2.tar.gz
bcm5719-llvm-ab25f1e65b06af2566c0f59bd71c67e0199a37f2.zip
[AMDGPU] Added target to mir test. NFC.
Test was used without -mcpu, although tested instructions not available on all ASICs. llvm-svn: 354830
-rw-r--r--llvm/test/CodeGen/AMDGPU/twoaddr-mad.mir2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/twoaddr-mad.mir b/llvm/test/CodeGen/AMDGPU/twoaddr-mad.mir
index 33f9452fbb3..886785af78e 100644
--- a/llvm/test/CodeGen/AMDGPU/twoaddr-mad.mir
+++ b/llvm/test/CodeGen/AMDGPU/twoaddr-mad.mir
@@ -1,4 +1,4 @@
-# RUN: llc -march=amdgcn %s -run-pass twoaddressinstruction -verify-machineinstrs -o - | FileCheck -check-prefix=GCN %s
+# RUN: llc -march=amdgcn -mcpu=gfx900 %s -run-pass twoaddressinstruction -verify-machineinstrs -o - | FileCheck -check-prefix=GCN %s
# GCN-LABEL: name: test_madmk_reg_imm_f32
# GCN: V_MADMK_F32 killed %0.sub0, 1078523331, killed %1, implicit $exec
OpenPOWER on IntegriCloud