[Mlir-commits] [mlir] [mlir][XeGPU] Fix crash in getUArch for unsupported architectures (PR #179173)

Artem Kroviakov llvmlistbot at llvm.org
Wed Feb 4 05:43:42 PST 2026


akroviakov wrote:

I think all xegpu related target-dependent passes need to gracefully fail on the absence of uArch before even trying to apply patterns. Then the patterns may assume (or assert) uArch presence without the need for copypasted verbose checks. 

@silee2 @charithaintc  What do you think? Do we realistically expect that a partial pattern application still produces a valid input for the next pipeline stage compared to no pattern application?

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


More information about the Mlir-commits mailing list