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