[PATCH] D145108: [RISCV][llvm-tblgen] Support conditional definitions using !exists clauses

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 7 05:08:07 PST 2023


foad added a comment.

Hi, this patch makes tablegen crash instead of error on cases like this:

  if !cast<A>("").x then
    def x;

(Based on the test case for https://github.com/llvm/llvm-project/issues/49830)

Could you take a look please?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145108



More information about the llvm-commits mailing list