[llvm] [NVPTX] Add NVVMUpgradeAnnotations pass to cleanup legacy annotations (PR #119261)

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 9 12:38:47 PST 2024


Artem-B wrote:

> @Artem-B, This functionality is currently implemented as a pass that we add at the beginning of llc and opt. Do you think it would make more sense to put in AutoUpgrade?

Maybe. I've mostly used autoupgrade for intrinsics, but this kind of change may fit there, too. Give it a try. Upgrading on load would probably be better than relying on a bespoke pass -- then we can rely on function attributes as the ground truth, instead of having to look at both, because the spacial pass may not have run yet.

https://github.com/llvm/llvm-project/pull/119261


More information about the llvm-commits mailing list