[llvm] r367711 - Add MCRegister and use it in MCRegisterClass::contains()

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 7 08:19:39 PDT 2019



> On Aug 2, 2019, at 15:37, Daniel Sanders via llvm-commits <llvm-commits at lists.llvm.org> wrote:
> 
> +  operator MCRegister() const {
> +    return MCRegister(Reg);
> +  }

This is actually the opposite of what I intended. MCRegister->Register is OK, but implicit MCRegister->Register is not. I’m running into some ambiguity errors from this.

-Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190807/0a128038/attachment.html>


More information about the llvm-commits mailing list