================
@@ -292,6 +299,21 @@ void GCNHazardRecognizer::updateMultiCycleVALUState(const
MachineInstr &MI) {
}
}
+void GCNHazardRecognizer::updateVPermPk16State(const MachineInstr &MI) {
+ if (!ST.hasVPermPk16Hazard())
+ return;
+ if (!SIInstrInfo::isVPermPk16(MI.getOpcode()))
+ return;
+
+ // V_PERM_PK16 must be immediately followed by a safe instruction to clear
+ // the V_PERM_PK16 hazard. Seed to 2: schedulerAdvanceCycle decrements once
+ // before the next pick's hazard check (same convention as CyclesUntilTRANS),
----------------
arsenm wrote:
I can't find information about this hazard in the manual?
https://github.com/llvm/llvm-project/pull/214597
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits