[PATCH] D115497: [Inline] Disable deferred inlining

Alex Lorenz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 20 18:29:31 PST 2021


arphaman added a comment.
Herald added a subscriber: ChuanqiXu.

Hi, @nikic

This change caused the following regression on the EXPENSIVE_CHECKS=on green dragon CI, where clang is unable to compile compiler-rt for armv7:

  *** Bad machine code: Using an undefined physical register ***
  - function:    _ZN11__sanitizer7BVGraphINS_17TwoLevelBitVectorILm1ENS_14BasicBitVectorImEEEEE8addEdgesERKS4_mPmm
  - basic block: %bb.2 _ZN11__sanitizer14BasicBitVectorImE19getAndClearFirstOneEv.exit.i.i (0x134185288)
  - instruction: BUNDLE implicit-def dead $itstate, implicit-def $r2, implicit killed $cpsr, implicit $sp, implicit killed $r6, implicit $r5, debug-location !3667; compiler-rt/lib/sanitizer_common/sanitizer_bitvector.h:0 @[ compiler-rt/lib/sanitizer_common/sanitizer_bitvector.h:204:23 @[ compiler-rt/lib/sanitizer_common/sanitizer_bitvector.h:251:5 @[ compiler-rt/lib/sanitizer_common/sanitizer_bvgraph.h:52:8 ] ] ]
  - operand 4:   implicit killed $r6
  fatal error: error in backend: Found 1 machine code errors.

Here's the bot:
https://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-expensive/
And the set of changes:
https://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-expensive/21216/changes#detail

I have attached two reproducer files for this issue:

F21133638: sanitizer_deadlock_detector1.cpp <https://reviews.llvm.org/F21133638>

F21133636: sanitizer_deadlock_detector1.sh <https://reviews.llvm.org/F21133636>

Could you please see if that's something you can resolve?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115497/new/

https://reviews.llvm.org/D115497



More information about the llvm-commits mailing list