[LLVMbugs] [Bug 10842] New: [AVX, llc] Assertion failed: (Bits != 0 && "Cannot print this instruction."), function printInstruction
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Sep 2 14:25:36 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10842
Summary: [AVX,llc] Assertion failed: (Bits != 0 && "Cannot
print this instruction."), function printInstruction
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: matt at pharr.org
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=7205)
--> (http://llvm.org/bugs/attachment.cgi?id=7205)
test case
With the attached, I'm seeing the following crash. Note that if -O0 is not
specified, there is no crash (so presumably the trigger is being optimized
out.)
% llc -O0 -mattr=+avx bugpoint-reduced-simplified.ll -o /dev/null
Assertion failed: (Bits != 0 && "Cannot print this instruction."), function
printInstruction, file
/Users/mmp/llvm-dev-src/lib/Target/X86/InstPrinter/../X86GenAsmWriter.inc, line
3995.
0 llc 0x0000000100bd0082
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6504
1 llc 0x0000000100bd0689
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 8047
2 libsystem_c.dylib 0x00007fff885e8cfa _sigtramp + 26
3 libsystem_c.dylib 0x00007fff60150820 _sigtramp + 18446744073033644864
4 llc 0x0000000100bcffe6
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6348
5 llc 0x0000000100bd0038
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6430
6 llc 0x0000000100a7a62c llvm::MCRegisterInfo::~MCRegisterInfo()
+ 3584
7 llc 0x0000000100a7b822 llvm::MCRegisterInfo::~MCRegisterInfo()
+ 8182
8 llc 0x0000000100b6950c
llvm::ELFObjectWriter::String64(llvm::MCDataFragment&, unsigned long long) +
20734
9 llc 0x00000001006517fb llvm::X86JITInfo::~X86JITInfo() + 15751
10 llc 0x0000000100805231
llvm::TargetSelectionDAGInfo::EmitTargetCodeForMemset(llvm::SelectionDAG&,
llvm::DebugLoc, llvm::SDValue, llvm::SDValue, llvm::SDValue, llvm::SDValue,
unsigned int, bool, llvm::MachinePointerInfo) const + 27537
11 llc 0x00000001005a7977
llvm::df_iterator<llvm::MachineBasicBlock*,
llvm::SmallPtrSet<llvm::MachineBasicBlock*, 16u>, true,
llvm::GraphTraits<llvm::MachineBasicBlock*> >::toNext() + 561
12 llc 0x00000001008af284
llvm::MachineFunctionAnalysis::getPassName() const + 458
13 llc 0x0000000100b3713d llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 26675
14 llc 0x0000000100b326db llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 7633
15 llc 0x0000000100b36e3a llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 25904
16 llc 0x0000000100b38251 llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 31047
17 llc 0x0000000100b382d1 llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 31175
18 llc 0x0000000100554273
19 llc 0x0000000100552b34
Stack dump:
0. Program arguments: llc -O0 -mattr=+avx bugpoint-reduced-simplified.ll -o
/dev/null
1. Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.ll'.
2. Running pass 'X86 AT&T-Style Assembly Printer' on function '@f_fu'
[1] 48762 illegal hardware instruction llc -O0 -mattr=+avx
bugpoint-reduced-simplified.ll -o /dev/null
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list