llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.75k stars 11.89k forks source link

[MachineBlockPlacement] Assertion "Attempting to place block with unscheduled predecessors in worklist" #43467

Open huihzhang opened 4 years ago

huihzhang commented 4 years ago
Bugzilla Link 44122
Version trunk
OS Windows NT
Attachments test mir

Extended Description

To reproduce Run:

llc -o - test.mir -run-pass=block-placement -mtriple=thumbv7-unknown-linux-gnueabi -verify-machineinstrs -O3

huihzhang commented 4 years ago

Proposing fix in https://reviews.llvm.org/D70030

please help review