File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2408,9 +2408,9 @@ bool SchedGroup::canAddMI(const MachineInstr &MI) const {
24082408 }
24092409
24102410 unsigned long InlineAsmMask = 0 ;
2411- if (VGPR_used && !VMFMA_used && !MayLoad && !MayStore)
2411+ if (VGPR_used && !SGPR_used && ! VMFMA_used && !MayLoad && !MayStore)
24122412 InlineAsmMask |= (unsigned long )SchedGroupMask::VALU;
2413- if (SGPR_used && !MayLoad && !MayStore) // arsenm: should this have !VGPR_used?
2413+ if (SGPR_used && !MayLoad && !MayStore)
24142414 InlineAsmMask |= (unsigned long )SchedGroupMask::SALU;
24152415 if (VMFMA_used)
24162416 InlineAsmMask |= (unsigned long )SchedGroupMask::MFMA;
Original file line number Diff line number Diff line change 11; RUN: llc -O3 -mcpu=gfx942 < %s | FileCheck %s
22; CHECK: v_add_f32_e32
33; CHECK-NEXT: ;;#ASMSTART
4- ; CHECK-NEXT: v_add_f32_e32
4+ ; CHECK-NEXT: v_mfma_f64
55; CHECK-NEXT: ;;#ASMEND
66; CHECK: v_add_f32_e32
77; ModuleID = '<stdin>'
You can’t perform that action at this time.
0 commit comments