[PATCH] D151999: [llvm-tblgen] Fix parser error when using generic used as index
Guillaume Gomez via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 2 07:06:34 PDT 2023
GuillaumeGomez added a comment.
To provide more context: I use this tool to generate the intrinsics list for the `rustc_codegen_gcc` project to automatically generate the list of intrinsics used by LLVM so they can be translated to GCC's. Currently, when running it, it fails because of this error:
llvm/IR/Intrinsics.td:225:21: error: Variable not defined: 'al'
int num = Mapping[al];
^
llvm/IR/Intrinsics.td:225:23: error: expected integer or bitrange
int num = Mapping[al];
^
llvm/IR/Intrinsics.td:225:23: error: expected ';' after declaration
int num = Mapping[al];
^
This patch fixes this bug.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151999/new/
https://reviews.llvm.org/D151999
More information about the llvm-commits
mailing list