This is an archive of the discontinued LLVM Phabricator instance.

[LoongArch] Eliminate extra un-accounted-for successors
ClosedPublic

Authored by gonglingqin on Nov 11 2022, 11:12 PM.

Details

Summary

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

Diff Detail

Event Timeline

gonglingqin created this revision.Nov 11 2022, 11:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 11 2022, 11:12 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
gonglingqin requested review of this revision.Nov 11 2022, 11:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 11 2022, 11:12 PM
SixWeining accepted this revision.Nov 14 2022, 11:00 PM
SixWeining edited the summary of this revision. (Show Details)

LGTM.

This revision is now accepted and ready to land.Nov 14 2022, 11:01 PM
This revision was landed with ongoing or failed builds.Nov 16 2022, 5:46 PM
This revision was automatically updated to reflect the committed changes.