Issue 243726
Summary [X86] Unexpected Behaviour in LowerAMXType
Labels new issue
Assignees
Reporter sayantn
    The following snippet fails to compile even though the only change was the load order inside a function. This looks like a problem in LowerAMXType failing to recognize the pattern. We discovered this during a CI run in rust.

> Failed to config tile register, please define the shape earlier

Minimal LLVM IR repro: https://godbolt.org/z/KqeWaeKKE The RHS is what rust currently generates and has been shown to never compile on LLC (since 20.1). The only difference between the 2 is that the tile corresponding to %a is loaded before loading all fields of %b in the RHS.

https://rust.godbolt.org/z/qrdbo1YPr is a repro in Rust. The input can be manipulated to avoid the error, for example by getting the tile dimensions from dst or by turning optimisations off.

Rust issue: rust-lang/rust#165931
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to