[LLVMbugs] [Bug 4795] New: TableGen assertion
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Aug 27 04:37:06 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4795
Summary: TableGen assertion
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: TableGen
AssignedTo: unassignedbugs at nondot.org
ReportedBy: asl at math.spbu.ru
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3381)
--> (http://llvm.org/bugs/attachment.cgi?id=3381)
Test pattern
Consider the attached easy patch to ARMInstrNEON.td. If one apply it then
TableGen will fail the the following scary assertion:
$ /home/asl/proj/llvm/build_debug/Debug/bin/tblgen -I
/home/asl/proj/llvm/src/lib/Target/ARM -I /home/asl/proj/llvm/src/include -I
/home/asl/proj/llvm/src/include -I /home/asl/proj/llvm/src/lib/Target
-gen-dag-isel -o
/home/asl/proj/llvm/build_debug/lib/Target/ARM/Debug/ARMGenDAGISel.inc.tmp
/home/asl/proj/llvm/src/lib/Target/ARM/ARM.td
vtInt: (vt:Other)<<P:Predicate_vtInt>>
tblgen: /home/asl/proj/llvm/src/utils/TableGen/DAGISelEmitter.cpp:1501: void
llvm::DAGISelEmitter::GenerateCodeForPattern(const llvm::PatternToMatch&,
std::vector<std::pair<unsigned int, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
std::allocator<std::pair<unsigned int, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > >&,
std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char>
>, std::less<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >&,
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >&,
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >&, bool&, unsigned int&):
Assertion `0 && "Error: could not find consistent types for something we" "
already decided was ok!"' failed.
removing either fmul or vdumplane node removes the assertion
--
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