llvm.org GIT mirror llvm / 94790ef
Revert "[TableGen] Fix a typo" Summary: This reverts commit r360106. The revisioin causes llvm-tblgen to hang while generating info for RISCV.td. The root cause might be in the RISCV.td definition but I don't know enough about this to investigate further. Command that starts hangning after r360106: `llvm-build/bin/llvm-tblgen -I llvm/include -I llvm/tools/clang/include -I llvm/lib/Target/RISCV -gen-instr-info llvm/lib/Target/RISCV/RISCV.td` Reviewers: sammccall, yan_luo, craig.topper, gribozavr Reviewed By: gribozavr Subscribers: PkmX, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D61632 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360136 91177308-0d34-0410-b5e6-96231b3b80d8 Krasimir Georgiev 3 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
478478 TypeSetByHwMode::SetType &S = Small.get(M);
479479 TypeSetByHwMode::SetType &B = Big.get(M);
481 if (any_of(S, isIntegerOrPtr) && any_of(B, isIntegerOrPtr)) {
481 if (any_of(S, isIntegerOrPtr) && any_of(S, isIntegerOrPtr)) {
482482 auto NotInt = [](MVT VT) { return !isIntegerOrPtr(VT); };
483483 Changed |= berase_if(S, NotInt) |
484484 berase_if(B, NotInt);