[llvm] [AArch64][GISel] Separate legalize actions for G_FREEZE from G_IMPLICIT_DEF (PR #88469)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 17 11:27:04 PDT 2024


arsenm wrote:

> > Fundamentally G_FREEZE and G_IMPLICIT_DEF have the same property of being synthetic compiler operations that need to be legal for all register types. They really should have the same legalization rules. It may make sense to replace the current set of rules, but I think they should be moved together
> 
> and I was not sure if this was being done for any special reason.

These was a lot less implemented back then, and it was easier to implement one piece at a time. Intrinsically, these should have the same rules. 

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


More information about the llvm-commits mailing list