[PATCH] D145711: [llvm-tblgen] Support conditional definitions using !casts clauses

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 10 04:35:47 PST 2023


foad accepted this revision.
foad added a comment.
This revision is now accepted and ready to land.

I'm not competent to review the implementation but it seems to work well for me. This will let us replace lots of instances of `foreach _ = BoolToList<cond>.ret in ...` with `if cond then ...` in AMDGPU backend tablegen files.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145711/new/

https://reviews.llvm.org/D145711



More information about the llvm-commits mailing list