Mircea Trofin via llvm-dev
2020-Sep-29 00:46 UTC
[llvm-dev] Relation between Register and MCRegister
Hello, I'm trying to understand what the relation between these two types is: do we need them both? Register seems to be delegating to MCRegister without owning any new additional responsibilities. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200928/b447b7cc/attachment.html>
Quentin Colombet via llvm-dev
2020-Sep-29 16:08 UTC
[llvm-dev] Relation between Register and MCRegister
Hi, Register can represent virtual or physical registers. MCRegister can only represent physical registers. Eventually all Register instances are replaced by a MCRegister. Cheers, -Quentin> On Sep 28, 2020, at 5:46 PM, Mircea Trofin via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hello, > > I'm trying to understand what the relation between these two types is: do we need them both? Register seems to be delegating to MCRegister without owning any new additional responsibilities. > > Thanks! > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
Mircea Trofin via llvm-dev
2020-Sep-29 16:12 UTC
[llvm-dev] Relation between Register and MCRegister
On Tue, Sep 29, 2020 at 9:08 AM Quentin Colombet <qcolombet at apple.com> wrote:> Hi, > > Register can represent virtual or physical registers. > MCRegister can only represent physical registers. >That's what I thought, but MCRegister has some stack slot APIs.> Eventually all Register instances are replaced by a MCRegister. >What happens in that case to the stack slot APIs?> > Cheers, > -Quentin > > > On Sep 28, 2020, at 5:46 PM, Mircea Trofin via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > > > Hello, > > > > I'm trying to understand what the relation between these two types is: > do we need them both? Register seems to be delegating to MCRegister without > owning any new additional responsibilities. > > > > Thanks! > > _______________________________________________ > > LLVM Developers mailing list > > llvm-dev at lists.llvm.org > > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200929/178518ce/attachment.html>