llvm-project
5a81a559 - [GISel] Explicitly disable BF16 tablegen patterns. (#124113)

Commit
326 days ago
[GISel] Explicitly disable BF16 tablegen patterns. (#124113) We currently have an issue where bf16 patters can be used to match fp16 types, as GISel does not know about the difference between the two. This patch explicitly disables them to make sure that they are never used. The opposite can also happen too, where fp16 patterns are used for operators that should be bf16. So this also changes any operations with bf16 types to now cause a fallback to SDAG. The pass setup for GISel has been slightly adjusted to make sure that a verify pass does not get added between AMD-SDAG and SIFixSGPRCopiesPass, which otherwise can cause verifier issues when falling back.
Author
Parents
Loading