mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
[TableGen] CodeGenDAGPatterns - (style) remove if-else chain when if block always returns. NFCI.
This commit is contained in:
parent
36aa4548cc
commit
9844b69219
@ -1252,7 +1252,7 @@ StringRef TreePredicateFn::getImmType() const {
|
|||||||
StringRef TreePredicateFn::getImmTypeIdentifier() const {
|
StringRef TreePredicateFn::getImmTypeIdentifier() const {
|
||||||
if (immCodeUsesAPInt())
|
if (immCodeUsesAPInt())
|
||||||
return "APInt";
|
return "APInt";
|
||||||
else if (immCodeUsesAPFloat())
|
if (immCodeUsesAPFloat())
|
||||||
return "APFloat";
|
return "APFloat";
|
||||||
return "I64";
|
return "I64";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user