r305918 and "Bad machine code: Using an undefined physical register"
Christof Douma via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 26 08:30:13 PDT 2017
Hi Kuba.
I would be surprised if this patch is responsible, as from the code it looks that it only changes behaviour if feature ‘lse’ is selected (part of armv8.1a and later) while the log shows that built targets armv7a (which does not have that feature). Anyway, I’ve added the author of this patch (Ananth Jasty) to the recipients list so that he is aware of the issue.
Regards,
Christof
From: <mracek at apple.com> on behalf of Kuba Mracek <mracek at apple.com>
Date: Saturday, 24 June 2017 at 00:05
To: Christof Douma <Christof.Douma at arm.com>, llvm-commits <llvm-commits at lists.llvm.org>, Tim Northover <tnorthover at apple.com>, "renato.golin at linaro.org" <renato.golin at linaro.org>
Cc: Andi <abergen at apple.com>
Subject: r305918 and "Bad machine code: Using an undefined physical register"
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>
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
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170626/8d6111af/attachment.html>
More information about the llvm-commits
mailing list