[llvm] Reland "[NVPTX] Add folding for cvt.rn.bf16x2.f32" (PR #116417)

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 15 11:15:29 PST 2024


https://github.com/Artem-B approved this pull request.

Looks like flipped args between LLVM and PTX is a common failure pattern.
We should probably switch argument names from `a/b` to `hi/lo` where bit order matters or `e0/e1` for vectors to make it a bit easier catching such issues early next time. It's not fool-proof but would at least give a hint where particular argument is supposed to be placed. 

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


More information about the llvm-commits mailing list