https://github.com/ThomasRaoux approved this pull request. Looks like it required quite a lot of cases to be handled :( Thanks for doing this, it solves some of the problems triton had with latest LLVM. Changes look good to me. https://github.com/llvm/llvm-project/pull/67866