[llvm-bugs] [Bug 43952] New: x86_64 AsmPrinter crashes when dealing with vbroadcastq
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Nov 9 05:13:38 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=43952
Bug ID: 43952
Summary: x86_64 AsmPrinter crashes when dealing with
vbroadcastq
Product: libraries
Version: trunk
Hardware: Other
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: X86
Assignee: unassignedbugs at nondot.org
Reporter: simonas+llvm.org at kazlauskas.me
CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
llvm-dev at redking.me.uk, spatel+llvm at rotateright.com
define void @x() unnamed_addr #0 {
start:
tail call void asm sideeffect inteldialect "vpbroadcastq zmm0{k1}, $0",
"m,~{dirflag},~{fpsr},~{flags}"(i64 123) #1
ret void
}
crashes with
Stack dump:
0. Program arguments: /opt/compiler-explorer/clang-trunk/bin/llc -o
./output.s -x86-asm-syntax=intel <source>
1. Running pass 'Function Pass Manager' on module '<source>'.
2. Running pass 'X86 Assembly Printer' on function '@x'
#0 0x0000561429ed57fa llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x236d7fa)
#1 0x0000561429ed3594 llvm::sys::RunSignalHandlers()
(/opt/compiler-explorer/clang-trunk/bin/llc+0x236b594)
#2 0x0000561429ed36d2 SignalHandler(int)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x236b6d2)
#3 0x00007f0e2dc6a890 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x12890)
#4 0x0000561429333454
llvm::AsmPrinter::GetBlockAddressSymbol(llvm::BlockAddress const*) const
(/opt/compiler-explorer/clang-trunk/bin/llc+0x17cb454)
#5 0x0000561428d3a57b
llvm::X86AsmPrinter::PrintIntelMemReference(llvm::MachineInstr const*, unsigned
int, llvm::raw_ostream&) (/opt/compiler-explorer/clang-trunk/bin/llc+0x11d257b)
#6 0x0000561428d3ac80
llvm::X86AsmPrinter::PrintAsmMemoryOperand(llvm::MachineInstr const*, unsigned
int, char const*, llvm::raw_ostream&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x11d2c80)
#7 0x0000561429344c49 llvm::AsmPrinter::EmitInlineAsm(llvm::MachineInstr
const*) const (/opt/compiler-explorer/clang-trunk/bin/llc+0x17dcc49)
#8 0x00005614293400eb llvm::AsmPrinter::EmitFunctionBody()
(/opt/compiler-explorer/clang-trunk/bin/llc+0x17d80eb)
#9 0x0000561428d37dbf
llvm::X86AsmPrinter::runOnMachineFunction(llvm::MachineFunction&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x11cfdbf)
#10 0x000056142950ca20
llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x19a4a20)
#11 0x000056142985ba1f llvm::FPPassManager::runOnFunction(llvm::Function&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x1cf3a1f)
#12 0x000056142985c1f1 llvm::FPPassManager::runOnModule(llvm::Module&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x1cf41f1)
#13 0x000056142985c5f1 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x1cf45f1)
#14 0x000056142826c3e4 main
(/opt/compiler-explorer/clang-trunk/bin/llc+0x7043e4)
#15 0x00007f0e2cb28b97 __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x21b97)
#16 0x00005614282e81fa _start
(/opt/compiler-explorer/clang-trunk/bin/llc+0x7801fa)
Compiler returned: 255
--
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/20191109/a10f4f02/attachment.html>
More information about the llvm-bugs
mailing list