Files
clang-p2996/llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
Matt Arsenault a6382de399 AMDGPU: Refactor mfma hazard handling [NFC] (#84276)
Try to make this editable by using functions for the number of wait
states as a function of the number of passes. I'm assuming the current
hazard test coverage is comprehensive.

This could probably use another round to further simplify it.
Alternatively, I believe this could all be expressed in a constant table
indexed by an instruction classify function and number of passes.
2024-03-07 14:39:59 +05:30

94 KiB