[LoongArch] Refactor insertDivByZeroTrap
Ensure non-terminators don't follow terminators. This patch fixes the `sdiv-udiv-srem-urem.ll` test failure with expensive check. Differential Revision: https://reviews.llvm.org/D130247
Loading
Please sign in to comment