The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
29.07k
stars
11.98k
forks
source link
Crash with TLS+PIC+EXPENSIVE_CHECKS: "Bad machine code: FrameSetup is after another FrameSetup" #58947
Open
TimNN opened 2 years ago
The following IR crashes when run through
llc -relocation-model=pic
(originally reported in https://github.com/rust-lang/rust/issues/104173):LLVM compiled at https://github.com/llvm/llvm-project/commit/deeaec76b18229e3c1aca5901879d1636a5d2ea5 with
LLVM_ENABLE_EXPENSIVE_CHECKS
enabled. Crash: