[Mlir-commits] [flang] [llvm] [mlir] [OpenMP] Fix truncation/extension bug when calling __kmpc_push_num_teams (PR #173067)

Michael Klemm llvmlistbot at llvm.org
Thu Jan 8 07:51:38 PST 2026


mjklemm wrote:

> The unit test should be similar to others in that directory. You will want to run `./bin/mlir-translate -mlir-to-llvmir` on the generated code and use FileCheck to see what is passed to `__kmpc_push_num_teams`.

I'm on it.  I have pushed the initial test with a few combinations and will add the MLIR next.  I did not know about `tco` either...  Thanks for showing this to me.  That will simplify creating that test greatly.

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


More information about the Mlir-commits mailing list