Skip to content

Commit 927364b

Browse files
committed
Remove assertions
1 parent 3197b83 commit 927364b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7179,8 +7179,6 @@ SDValue RISCVTargetLowering::lowerINIT_TRAMPOLINE(SDValue Op,
71797179
const MCSubtargetInfo *STI = getTargetMachine().getMCSubtargetInfo();
71807180
assert(STI);
71817181
CodeEmitter->encodeInstruction(MC, CB, Fixups, *STI);
7182-
assert(CB.size() == 4);
7183-
assert(Fixups.empty());
71847182
uint32_t Encoding = support::endian::read32le(CB.data());
71857183
return Encoding;
71867184
};

0 commit comments

Comments
 (0)