Skip to content

Commit 8101506

Browse files
committed
Fix compilation errors
1 parent ce78ca6 commit 8101506

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/lib/Target/M68k/M68kInstrInfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ enum CondCode {
5757

5858
static inline M68k::CondCode GetOppositeBranchCondition(M68k::CondCode CC) {
5959
// To reverse a condition it's necessary to only invert the low bit:
60-
assert(CC != COND_INVALID && "COND_INVALID has no inverse!");
60+
assert(CC != M86k::COND_INVALID && "COND_INVALID has no inverse!");
6161
return static_cast<CondCode>(static_cast<unsigned>(CC) ^ 0x1);
6262
}
6363

llvm/lib/Target/RISCV/RISCVInstrInfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ enum CondCode {
4646

4747
CondCode getOppositeBranchCondition(CondCode CC) {
4848
// To reverse a condition it's necessary to only invert the low bit:
49-
assert(CC != COND_INVALID && "COND_INVALID has no inverse!");
49+
assert(CC != RISCVCC::COND_INVALID && "COND_INVALID has no inverse!");
5050
return static_cast<CondCode>(static_cast<unsigned>(CC) ^ 0x1);
5151
}
5252

0 commit comments

Comments
 (0)