mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-27 06:08:11 +00:00
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
This commit is contained in:
parent
baa55315ed
commit
94790ef4cf
@ -479,7 +479,7 @@ bool TypeInfer::EnforceSmallerThan(TypeSetByHwMode &Small,
|
||||
TypeSetByHwMode::SetType &S = Small.get(M);
|
||||
TypeSetByHwMode::SetType &B = Big.get(M);
|
||||
|
||||
if (any_of(S, isIntegerOrPtr) && any_of(B, isIntegerOrPtr)) {
|
||||
if (any_of(S, isIntegerOrPtr) && any_of(S, isIntegerOrPtr)) {
|
||||
auto NotInt = [](MVT VT) { return !isIntegerOrPtr(VT); };
|
||||
Changed |= berase_if(S, NotInt) |
|
||||
berase_if(B, NotInt);
|
||||
|
Loading…
x
Reference in New Issue
Block a user