[llvm] [TableGen] HasOneUse builtin predicate on PatFrags (PR #91578)

via llvm-commits llvm-commits at lists.llvm.org
Thu May 9 07:57:23 PDT 2024


jofrn wrote:

> Should also switch the AMDGPU HasOneUseUnaryOp/HasOneUseBinOp/HasOneUseTernaryOp to use this

Right, thanks. I was thinking that these changes can go in a follow-up commit. The current change is a general one for [TableGen], but the next one can be [AMDGPU] with the actual usages of the `HasOneUse` predicate on these `HasOneUse{Unary,Bin,Ternary}Op`s.

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


More information about the llvm-commits mailing list