Invalid base register with fast-isel
Ulrich Weigand
Ulrich.Weigand at de.ibm.com
Fri Jun 27 05:56:27 PDT 2014
Hal Finkel <hfinkel at anl.gov> wrote on 27.06.2014 13:53:55:
> > So I guess the only chance to constrain the register are either
> > materializeFrameBaseRegister or else resolveFrameIndex. Did you
> > mean to refer to the latter?
>
> Yes, indeed I did. Thanks for tracking this down!
OK, that does indeed work as expected, see the attached patch.
In fact, I don't need to hard-code the register class, but can
simply use the MCID to determine the class appropriate to the
instruction ...
(See attached file: diff-llvm-fix-resolvefi)
Bye,
Ulrich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff-llvm-fix-resolvefi
Type: application/octet-stream
Size: 25751 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140627/98e5a04f/attachment.obj>
More information about the llvm-commits
mailing list