[PATCH] D137884: [LoongArch] Eliminate extra un-accounted-for successors

Gong LingQin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 11 23:12:19 PST 2022


gonglingqin created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
gonglingqin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Specifically:

  - Bad machine code: MBB has unexpected successors which are not branch targets, fallthrough, EHPads, or inlineasm_br targets. ***
- function:    atomicrmw_umax_i8_acquire
- basic block: %bb.3  (0x1b90bd8)

  - Bad machine code: Non-terminator instruction after the first terminator ***
- function:    atomicrmw_umax_i8_acquire
- basic block: %bb.3  (0x1b90bd8)
- instruction: DBAR 1792


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D137884

Files:
  llvm/lib/Target/LoongArch/LoongArchExpandAtomicPseudoInsts.cpp
  llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw-minmax.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137884.474920.patch
Type: text/x-patch
Size: 4136 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221112/86e56f91/attachment.bin>


More information about the llvm-commits mailing list