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: unassignedb...@nondot.org
          Reporter: qcolom...@apple.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to