[llvm-bugs] [Bug 49805] New: error in backend: Error while trying to spill R1 from class GPR:

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Apr 1 08:08:22 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=49805

            Bug ID: 49805
           Summary: error in backend: Error while trying to spill R1 from
                    class GPR:
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: raj.khem at gmail.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

Created attachment 24713
  --> https://bugs.llvm.org/attachment.cgi?id=24713&action=edit
test case

in 12.0.0-RC4 I am seeing a segfault in clang while compiling aom for
armv7/rpi4 target

fatal error: error in backend: Error while trying to spill R1 from class GPR:
Cannot scavenge register without an emergency spill slot!


Attached is the testcase and shell script to reproduce it.

This does not happen in 11.x so its a regression

here is more info compiler emits

1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module
'TOPDIR/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/aom/3.0.0-r0/git/av1/encoder/arm/neon/av1_fwd_txfm2d_neon.c'.
4.      Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on
function '@fdct8x16_neon'
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH
or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
clang-12: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 12.0.0 (https://github.com/llvm/llvm-project
31001be371e8f2c74470e727e54503fb2aabec8b)
Target: arm-yoe-linux-gnueabi

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210401/130e2f47/attachment-0001.html>


More information about the llvm-bugs mailing list