mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +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 {
|
||||
if (immCodeUsesAPInt())
|
||||
return "APInt";
|
||||
else if (immCodeUsesAPFloat())
|
||||
if (immCodeUsesAPFloat())
|
||||
return "APFloat";
|
||||
return "I64";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user