Skip to content

Commit 2ce08c4

Browse files
committed
Merging r244322:
------------------------------------------------------------------------ r244322 | thomas.stellard | 2015-08-07 11:34:30 -0400 (Fri, 07 Aug 2015) | 8 lines AMDGPU/SI: v_mac_legacy_f32 does not exist on VI Reviewers: arsenm Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D11810 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_37@253232 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent ad24102 commit 2ce08c4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/Target/AMDGPU/SIInstructions.td

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,6 +1548,12 @@ defm V_WRITELANE_B32 : VOP2SI_3VI_m <
15481548
// These instructions only exist on SI and CI
15491549
let SubtargetPredicate = isSICI in {
15501550

1551+
let isCommutable = 1 in {
1552+
defm V_MAC_LEGACY_F32 : VOP2InstSI <vop2<0x6>, "v_mac_legacy_f32",
1553+
VOP_F32_F32_F32
1554+
>;
1555+
} // End isCommutable = 1
1556+
15511557
defm V_MIN_LEGACY_F32 : VOP2InstSI <vop2<0xd>, "v_min_legacy_f32",
15521558
VOP_F32_F32_F32, AMDGPUfmin_legacy
15531559
>;
@@ -1562,12 +1568,6 @@ defm V_LSHL_B32 : VOP2InstSI <vop2<0x19>, "v_lshl_b32", VOP_I32_I32_I32>;
15621568
} // End isCommutable = 1
15631569
} // End let SubtargetPredicate = SICI
15641570

1565-
let isCommutable = 1 in {
1566-
defm V_MAC_LEGACY_F32 : VOP2_VI3_Inst <vop23<0x6, 0x28e>, "v_mac_legacy_f32",
1567-
VOP_F32_F32_F32
1568-
>;
1569-
} // End isCommutable = 1
1570-
15711571
defm V_BFM_B32 : VOP2_VI3_Inst <vop23<0x1e, 0x293>, "v_bfm_b32",
15721572
VOP_I32_I32_I32
15731573
>;

0 commit comments

Comments
 (0)