[PATCH] D43409: [GISel]: Don't assert when constraining Registers which are uses if there's no regclass.

Aditya Nandakumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 21 10:50:21 PST 2018


aditya_nandakumar added a comment.

In https://reviews.llvm.org/D43409#1014897, @dsanders wrote:

> Hmm, I'm a bit reluctant to make this conditional on whether it's a use/def. Doing that feels like a bigger relaxation on the assertion than should be needed. Is it possible to make it conditional on whether the constraint is specified to be `unknown`?


I don't think the unknown part is available in the InstrDescription - we only see the RegClass as -1 for an instruction which uses unknown operands.


Repository:
  rL LLVM

https://reviews.llvm.org/D43409





More information about the llvm-commits mailing list