r305918 and "Bad machine code: Using an undefined physical register"

Kuba Mracek via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 23 16:05:01 PDT 2017


Hi guys,

I've seen you've be involved in "[llvm] r305918 - [AARCH64][LSE] Preliminary support for ARMv8.1 LSE Atomics", which I suspect might be related to a recent failure on one of the 2-stage bots:

  <http://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-expensive/7037/console <http://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-expensive/7037/console>>

There many more commits on the blamelist, so r305918 might not be the cause, but do you think you could take a look?

Here's some relevant error info:

	BL <ga:@vscanf>, <regmask %FP %LR %B8 %B9 %B10 %B11 %B12 %B13 %B14 %B15 %D8 %D9 %D10 %D11 %D12 %D13 %D14 %D15 %H8 %H9 %H10 %H11 %H12 %H13 %H14 %H15 %S8 %S9 %S10 %S11 %S12 %S13 %S14 %S15 %W19 %W20 %W21 %W22 %W23 %W24 %W25 %W26 %W27 %W28 %W29 %W30 %X19 %X20 %X21 %X22 %X23 %X24 %X25 %X26 %X27 %X28 %D8_D9 %D9_D10 %D10_D11 %D11_D12 %D12_D13 %D13_D14 %D14_D15 %D8_D9_D10_D11 %D9_D10_D11_D12 %D10_D11_D12_D13 %D11_D12_D13_D14 %D12_D13_D14_D15 %D8_D9_D10 %D9_D10_D11 %D10_D11_D12 %D11_D12_D13 %D12_D13_D14 %D13_D14_D15 %W19_W20 %W20_W21 %W21_W22 %W22_W23 %W23_W24 %W24_W25 %W25_W26 %W26_W27 %W27_W28 %W28_W29 %W29_W30 %FP_LR %X28_FP %X19_X20 %X20_X21 %X21_X22 %X22_X23 %X23_X24 %X24_X25 %X25_X26 %X26_X27 %X27_X28>, %LR<imp-def,dead>, %SP<imp-use>, %X0<imp-use>, %X1<imp-use>, %SP<imp-def>, %W0<imp-def>; dbg:/Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:1361:1 @[ /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:1382:1 ]

  *** Bad machine code: Using an undefined physical register ***
  - function:    wrap_scanf
  - basic block: BB#4 do.end33.i (0x7f9f94223ce8)
  - instruction: BL
  - operand 5:   %X1<imp-use>
  fatal error: error in backend: Found 1 machine code errors.

Thanks!

Kuba

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170623/c9df067d/attachment.html>


More information about the llvm-commits mailing list