[PATCH] D130247: [LoongArch] Refactor insertDivByZeroTrap

Ray Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 04:23:02 PDT 2022


wangleiat created this revision.
wangleiat added reviewers: SixWeining, MaskRay, xen0n, xry111, gonglingqin.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
wangleiat requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Ensure non-terminators don't follow terminators.
This patch fixes the `sdiv-udiv-srem-urem.ll` test failure with
expensive check.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130247

Files:
  llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
  llvm/test/CodeGen/LoongArch/ir-instruction/sdiv-udiv-srem-urem.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130247.446426.patch
Type: text/x-patch
Size: 14099 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220721/45366c5a/attachment.bin>


More information about the llvm-commits mailing list