We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71533c5 commit 9181c31Copy full SHA for 9181c31
llvm/lib/Target/X86/X86InstrInfo.h
@@ -87,6 +87,7 @@ unsigned getNonNDVariant(unsigned Opc);
87
/// e.g. turning COND_E to COND_NE.
88
CondCode GetOppositeBranchCondition(CondCode CC) {
89
// To reverse a condition it's necessary to only invert the low bit:
90
+ assert(CC != COND_INVALID && "COND_INVALID has no inverse!");
91
return static_cast<CondCode>(static_cast<unsigned>(CC) ^ 0x1);
92
}
93
0 commit comments