From 7111d031f19ce7d523796b4812d6afcb2958b025 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sun, 10 Nov 2024 09:54:22 -0800 Subject: [PATCH] [Xtensa] Fix Clang -Wundefined-bool-conversion after #113450 --- llvm/lib/Target/Xtensa/XtensaInstrInfo.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/llvm/lib/Target/Xtensa/XtensaInstrInfo.cpp b/llvm/lib/Target/Xtensa/XtensaInstrInfo.cpp index 4c440da715fefe..7e00215ef3b971 100644 --- a/llvm/lib/Target/Xtensa/XtensaInstrInfo.cpp +++ b/llvm/lib/Target/Xtensa/XtensaInstrInfo.cpp @@ -529,8 +529,6 @@ void XtensaInstrInfo::insertIndirectBranch(MachineBasicBlock &MBB, unsigned XtensaInstrInfo::insertConstBranchAtInst( MachineBasicBlock &MBB, MachineInstr *I, int64_t offset, ArrayRef 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!");