[LLVMbugs] [Bug 10843] New: [AVX] Assertion failed: (Reg >= X86::FP0 && Reg <= X86::FP6 && "Expected FP register!"), function getFPReg
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Sep 2 14:29:18 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10843
Summary: [AVX] Assertion failed: (Reg >= X86::FP0 && Reg <=
X86::FP6 && "Expected FP register!"), function
getFPReg
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=7206)
--> (http://llvm.org/bugs/attachment.cgi?id=7206)
test case
With the attached and top-of-tree, I'm seeing the following crash:
% llc -O0 -mattr=+avx bug.bc -o /dev/null
Assertion failed: (Reg >= X86::FP0 && Reg <= X86::FP6 && "Expected FP
register!"), function getFPReg, file X86FloatingPoint.cpp, line 331.
0 llc 0x0000000105f39082
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6504
1 llc 0x0000000105f39689
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 8047
2 libsystem_c.dylib 0x00007fff885e8cfa _sigtramp + 26
3 libsystem_c.dylib 0x00000001062a2258 _sigtramp + 18446603342626657656
4 llc 0x0000000105f38fe6
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6348
5 llc 0x0000000105f39038
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6430
6 llc 0x0000000105932af2
llvm::EVT::getPow2VectorType(llvm::LLVMContext&) const + 22834
7 llc 0x0000000105933117
llvm::EVT::getPow2VectorType(llvm::LLVMContext&) const + 24407
8 llc 0x0000000105c18284
llvm::MachineFunctionAnalysis::getPassName() const + 458
9 llc 0x0000000105ea013d llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 26675
10 llc 0x0000000105e9b6db llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 7633
11 llc 0x0000000105e9fe3a llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 25904
12 llc 0x0000000105ea1251 llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 31047
13 llc 0x0000000105ea12d1 llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 31175
14 llc 0x00000001058bd273
15 llc 0x00000001058bbb34
16 llc 0x0000000000000006
Stack dump:
0. Program arguments: llc -O0 -mattr=+avx bug.bc -o /dev/null
1. Running pass 'Function Pass Manager' on module 'bug.bc'.
2. Running pass 'X86 FP Stackifier' on function '@"f_fu___REFUf[]REFUf[]Uf"'
[1] 48775 illegal hardware instruction llc -O0 -mattr=+avx bug.bc -o
/dev/null
Note that this is the same assertion that is hitting in
http://llvm.org/bugs/show_bug.cgi?id=10498, though there it's only when all of
the SSE feature bits are disabled, but here I'm seeing it with a regular AVX
target...
--
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