1
0
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:
Simon Pilgrim 2021-04-16 18:21:13 +01:00
parent 36aa4548cc
commit 9844b69219

View File

@ -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";
} }