[all-commits] [llvm/llvm-project] 825547: [LoongArch] Eliminate extra un-accounted-for succe...

Gong LingQin via All-commits all-commits at lists.llvm.org
Wed Nov 16 17:46:01 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 825547247a3ef9fb092500c21af94ec8beda4039
      https://github.com/llvm/llvm-project/commit/825547247a3ef9fb092500c21af94ec8beda4039
  Author: gonglingqin <gonglingqin at loongson.cn>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

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

  Log Message:
  -----------
  [LoongArch] Eliminate extra un-accounted-for successors

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
```

Differential Revision: https://reviews.llvm.org/D137884




More information about the All-commits mailing list