mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[TableGen] Replace a dyn_cast with isa to avoid an unused variable warning introduced in r355785. NFC
llvm-svn: 355837
This commit is contained in:
parent
c17ae456cc
commit
b9b16d334d
@ -414,14 +414,10 @@ bool CheckValueTypeMatcher::isContradictoryImpl(const Matcher *M) const {
|
|||||||
|
|
||||||
bool CheckImmAllOnesVMatcher::isContradictoryImpl(const Matcher *M) const {
|
bool CheckImmAllOnesVMatcher::isContradictoryImpl(const Matcher *M) const {
|
||||||
// AllZeros is contradictory.
|
// AllZeros is contradictory.
|
||||||
if (const auto *CIAZVM = dyn_cast<CheckImmAllZerosVMatcher>(M))
|
return isa<CheckImmAllZerosVMatcher>(M);
|
||||||
return true;
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CheckImmAllZerosVMatcher::isContradictoryImpl(const Matcher *M) const {
|
bool CheckImmAllZerosVMatcher::isContradictoryImpl(const Matcher *M) const {
|
||||||
// AllOnes is contradictory.
|
// AllOnes is contradictory.
|
||||||
if (const auto *CIAOVM = dyn_cast<CheckImmAllOnesVMatcher>(M))
|
return isa<CheckImmAllOnesVMatcher>(M);
|
||||||
return true;
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user