[llvm] r293537 - GlobalISel: permit unused vregs without a register-class after ISel.

Quentin Colombet via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 30 11:55:34 PST 2017


Oh, I’ve been misled by your comment.
This is a vreg that is in the mappings but there are no instruction. I thought it was a vreg with a generic and dead definition.

That’s fine then, never mind me.

> On Jan 30, 2017, at 11:52 AM, Quentin Colombet via llvm-commits <llvm-commits at lists.llvm.org> wrote:
> 
> 
>> On Jan 30, 2017, at 11:50 AM, Tim Northover <tnorthover at apple.com> wrote:
>> 
>> On 30 Jan 2017, at 11:48, Quentin Colombet <qcolombet at apple.com> wrote:
>>> My problem is not with unused register, it is with unused register without register class.
>>> After ISel everything should have a register class otherwise that means that the instruction hasn’t been selected.
>> 
>> Has a non-existent instruction been selected, or not? Who can say.
> 
> I am confused, if it is here, it is not non-existent. Down the road my problem is that this instruction may hit MC and the compiler will not know how to handle it, right?
> 
>> 
>> Tim.
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list