llvm.org GIT mirror llvm / 4b19c98
Avoid dangling else warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126004 91177308-0d34-0410-b5e6-96231b3b80d8 Joerg Sonnenberger 9 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
10081008 .Case("nzcvqg", 0xc) // same as CPSR_fs
10091009 .Default(~0U);
10101010
1011 if (FlagsVal == ~0U)
1011 if (FlagsVal == ~0U) {
10121012 if (!Flags.empty())
10131013 return MatchOperand_NoMatch;
10141014 else
10151015 FlagsVal = 0; // No flag
1016 }
10161017 } else if (SpecReg == "cpsr" || SpecReg == "spsr") {
10171018 for (int i = 0, e = Flags.size(); i != e; ++i) {
10181019 unsigned Flag = StringSwitch(Flags.substr(i, 1))