https://bugs.llvm.org/show_bug.cgi?id=34391
ema...@freebsd.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CONFIRMED |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #5 from ema...@freebsd.org ---
(In reply to Simon Atanasyan from comment #4)
> It still impossible to compile the code. The following commands use reduced
> test case and fail on assertion:
>
> $ cat test.s
> sc $12, octeon_ap_boot
>
> $ clang -target mips64 -c test.S
> ...
> clang-9: llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp:3608: void
> (anonymous namespace)::MipsAsmParser::expandMemInst(llvm::MCInst &,
> llvm::SMLoc, llvm::MCStreamer &, const llvm::MCSubtargetInfo *, bool):
> Assertion `OffsetOp.isExpr() && "expected expression operand kind"' failed.
Attempting to reproduce using system clang on FreeBSD 13 did not reproduce the
failure:
$ clang --version
FreeBSD clang version 11.0.0 (g...@github.com:llvm/llvm-project.git
llvmorg-11.0.0-rc2-0-g414f32a9e86)
Target: x86_64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin
$ clang -target mips64 -g -c test.s
$ llvm-objdump -S test.o
test.o: file format elf64-mips
Disassembly of section .text:
0000000000000000 <.text>:
; sc $12, octeon_ap_boot
0: df 81 00 00 ld $1, 0($gp)
4: e0 2c 00 00 sc $12, 0($1)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs