Skip to content

Commit ab3efdc

Browse files
committed
address PR
1 parent 36b4edd commit ab3efdc

File tree

3 files changed

+1277
-3172
lines changed

3 files changed

+1277
-3172
lines changed

llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5882,8 +5882,7 @@ AMDGPUInstructionSelector::selectVOP3PMadMixModsImpl(MachineOperand &Root,
58825882
// G_TRUNC. G_TRUNC to 16-bits would have a destination in RC VGPR_16, which
58835883
// is not compatible with MadMix instructions
58845884
Register PeekSrc = Src;
5885-
if (Subtarget->useRealTrue16Insts() &&
5886-
mi_match(PeekSrc, *MRI, m_GTrunc(m_Reg(PeekSrc))))
5885+
if (mi_match(PeekSrc, *MRI, m_GTrunc(m_Reg(PeekSrc))))
58875886
Src = PeekSrc;
58885887

58895888
Matched = true;

0 commit comments

Comments
 (0)