Skip to content

Commit

Permalink
[Xtensa] Fix Clang -Wundefined-bool-conversion after llvm#113450
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskRay committed Nov 10, 2024
1 parent 028ea71 commit 7111d03
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions llvm/lib/Target/Xtensa/XtensaInstrInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -529,8 +529,6 @@ void XtensaInstrInfo::insertIndirectBranch(MachineBasicBlock &MBB,
unsigned XtensaInstrInfo::insertConstBranchAtInst(
MachineBasicBlock &MBB, MachineInstr *I, int64_t offset,
ArrayRef<MachineOperand> Cond, DebugLoc DL, int *BytesAdded) const {
// Shouldn't be a fall through.
assert(&MBB && "InsertBranch must not be told to insert a fallthrough");
assert(Cond.size() <= 4 &&
"Xtensa branch conditions have less than four components!");

Expand Down

0 comments on commit 7111d03

Please sign in to comment.