[llvm] r354830 - [AMDGPU] Added target to mir test. NFC.
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 25 14:59:55 PST 2019
Author: rampitec
Date: Mon Feb 25 14:59:55 2019
New Revision: 354830
URL: http://llvm.org/viewvc/llvm-project?rev=354830&view=rev
Log:
[AMDGPU] Added target to mir test. NFC.
Test was used without -mcpu, although tested instructions
not available on all ASICs.
Modified:
llvm/trunk/test/CodeGen/AMDGPU/twoaddr-mad.mir
Modified: llvm/trunk/test/CodeGen/AMDGPU/twoaddr-mad.mir
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AMDGPU/twoaddr-mad.mir?rev=354830&r1=354829&r2=354830&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/AMDGPU/twoaddr-mad.mir (original)
+++ llvm/trunk/test/CodeGen/AMDGPU/twoaddr-mad.mir Mon Feb 25 14:59:55 2019
@@ -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
More information about the llvm-commits
mailing list