[llvm-bugs] [Bug 26572] New: [GlobalISel] Generic virtual registers have nullptr as register class

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 10 16:21:32 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26572

            Bug ID: 26572
           Summary: [GlobalISel] Generic virtual registers have nullptr as
                    register class
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: GlobalISel
          Assignee: unassignedbugs at nondot.org
          Reporter: qcolombet at apple.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

As r260474, generic virtual registers have not a register class. We may want
to change that. For instance, if we want to use all the methods from
TargetRegisterInfo with generic virtual registers, we need to either have some
sort of generic register classes that do what we want, or teach those methods
how to deal with nullptr register class.

Although the latter seems easy enough to do, we may still want to differenciate
generic register classes from nullptr to catch cases where nullptr gets
introduced by a bug of some sort.

-- 
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/20160211/a6b99528/attachment.html>


More information about the llvm-bugs mailing list