Invalid base register with fast-isel
Hal Finkel
hfinkel at anl.gov
Fri Jun 27 06:01:46 PDT 2014
----- Original Message -----
> From: "Ulrich Weigand" <Ulrich.Weigand at de.ibm.com>
> To: "Hal Finkel" <hfinkel at anl.gov>
> Cc: "llvm-commits" <llvm-commits at cs.uiuc.edu>
> Sent: Friday, June 27, 2014 7:56:27 AM
> Subject: Re: Invalid base register with fast-isel
>
> 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 ...
LGTM. Thanks!
-Hal
>
> (See attached file: diff-llvm-fix-resolvefi)
>
> Bye,
> Ulrich
--
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory
More information about the llvm-commits
mailing list