[PATCH] D144012: [SPARC][MC] Fix encoding of backwards BPr branches
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 26 19:42:51 PDT 2023
vitalybuka reopened this revision.
vitalybuka added a comment.
This revision is now accepted and ready to land.
https://lab.llvm.org/buildbot/#/builders/85/builds/15963
FAIL: LLVM :: DebugInfo/Sparc/gnu-window-save.ll (44906 of 74125)
******************** TEST 'LLVM :: DebugInfo/Sparc/gnu-window-save.ll' FAILED ********************
Script:
--
: 'RUN: at line 1'; /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -filetype=obj -O0 < /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/DebugInfo/Sparc/gnu-window-save.ll -mtriple sparc64-unknown-linux-gnu | /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llvm-dwarfdump -v - | /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/DebugInfo/Sparc/gnu-window-save.ll --check-prefix=SPARC64
: 'RUN: at line 2'; /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -filetype=obj -O0 < /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/DebugInfo/Sparc/gnu-window-save.ll -mtriple sparc-unknown-linux-gnu | /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llvm-dwarfdump -v - | /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/DebugInfo/Sparc/gnu-window-save.ll --check-prefix=SPARC32
--
Exit Code: 2
Command Output (stderr):
--
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp:357:15: runtime error: shift exponent 4294967264 is too large for 64-bit type 'uint64_t' (aka 'unsigned long')
#0 0x562868ff62ff in (anonymous namespace)::ELFSparcAsmBackend::applyFixup(llvm::MCAssembler const&, llvm::MCFixup const&, llvm::MCValue const&, llvm::MutableArrayRef<char>, unsigned long, bool, llvm::MCSubtargetInfo const*) const /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
#1 0x562869ff521f in llvm::MCAssembler::layout(llvm::MCAsmLayout&) /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/MC/MCAssembler.cpp:928:22
#2 0x562869ff5f2d in llvm::MCAssembler::Finish() /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/MC/MCAssembler.cpp:938:3
#3 0x56286a02453e in llvm::MCELFStreamer::finishImpl() /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/MC/MCELFStreamer.cpp:718:27
#4 0x5628694200a5 in llvm::AsmPrinter::doFinalization(llvm::Module&) /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:2397:16
#5 0x562869efba12 in llvm::FPPassManager::doFinalization(llvm::Module&) /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1499:41
#6 0x562869ef1c8a in runOnModule /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1586:41
#7 0x562869ef1c8a in llvm::legacy::PassManagerImpl::run(llvm::Module&) /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:535:44
#8 0x5628672cf06c in compileModule(char**, llvm::LLVMContext&) /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/tools/llc/llc.cpp:756:8
#9 0x5628672cc89b in main /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/tools/llc/llc.cpp:420:22
#10 0x7fafb5c2350f (/lib/x86_64-linux-gnu/libc.so.6+0x2350f) (BuildId: d1704d25fbbb72fa95d517b883131828c0883fe9)
#11 0x7fafb5c235c8 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x235c8) (BuildId: d1704d25fbbb72fa95d517b883131828c0883fe9)
#12 0x5628672a02e4 in _start (/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc+0x5d892e4)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144012/new/
https://reviews.llvm.org/D144012
More information about the llvm-commits
mailing list