Aiden Grossman 606199e7fd
[X86][ProfCheck] Synthesize profile information where relevant
When creating loops to lower some AMX intrinsics, it is often the case
we have enough information to synthesize profile metadata for the latch.
This patch makes it so that we either set branch weights if everything
is a known constant, or set unknown weights if we do not have constants.

Reviewers: jdenny-ornl, mtrofin, phoebewang, KanRobert, RKSimon

Pull Request: https://github.com/llvm/llvm-project/pull/181578
2026-02-17 15:18:32 -08:00
..