]> granicus.if.org Git - llvm/commitdiff
[AMDGPU] Added target to mir test. NFC.
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Mon, 25 Feb 2019 22:59:55 +0000 (22:59 +0000)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Mon, 25 Feb 2019 22:59:55 +0000 (22:59 +0000)
Test was used without -mcpu, although tested instructions
not available on all ASICs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354830 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/AMDGPU/twoaddr-mad.mir

index 33f9452fbb361e76cc953630ae3314dfc1c6a90f..886785af78e082fccb295807bf2f68eef218c0fd 100644 (file)
@@ -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