Each concrete instance of a predicate has a condition (also noted in the
original PredicateBase comment) and to me it seems like there is no
clear benefit of having both PredicateBase and PredicateWithCondition
and they can be folded together.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
llvm/lib/Transforms/Scalar/NewGVN.cpp | ||
---|---|---|
1542 | This shouldn't be needed anymore -- PI is already PredicateBase. |
Comment Actions
LG. We can always reintroduce the split it it should become useful in the future. It isn't right now.
clang-tidy: warning: 'auto *PWC' can be declared as 'const auto *PWC' [llvm-qualified-auto]
not useful