[LLVMbugs] [Bug 19055] New: Use of negative-stride sequences crashes tablegen

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 5 14:10:14 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=19055

            Bug ID: 19055
           Summary: Use of negative-stride sequences crashes tablegen
           Product: tools
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: TableGen
          Assignee: unassignedbugs at nondot.org
          Reporter: kuba at mareimbrium.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

This crashes tablegen:

llvm-tblgen -gen-register-info RegisterInfo.td -I llvm/lib/Target -I
llvm/include 

// RegisterInfo.td
include "llvm/Target/Target.td"

def R0  : Register<"r0">;
def R1  : Register<"r1">;
def R2  : Register<"r2">;

// Either one can be first
def RC1  : RegisterClass<"Foo", [i8],  8, (sequence "R%u", 2, 0, -1)>;
def RC2  : RegisterClass<"Foo", [i8],  8, (sequence "R%u", 2, 0)>;

def T : Target {}

-- 
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/20140305/46c9dbcc/attachment.html>


More information about the llvm-bugs mailing list