[PATCH] D78063: Remove extra instruction left by emitRLDICWhenLoweringJumpTables

Anil Mahmud via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 23 06:59:35 PDT 2020


anil9 added a comment.

In D78063#1995983 <https://reviews.llvm.org/D78063#1995983>, @lkail wrote:

> > The error would be something like this
> > 
> >    %4:g8rc = RLDICL killed %16:g8rc, 0, 32
> >    %26:g8rc_and_g8rc_nox0 = RLDIC %16:g8rc, 2, 30
> >   
> >   *** Bad machine code: Using a killed virtual register ***
> >   - function:    fn1
> >   - basic block: %bb.1 if.then (0x1000a68f270)
> >   - instruction: %26:g8rc_and_g8rc_nox0 = RLDIC %16:g8rc, 2, 30
> >   - operand 1:   %16:g8rc
> >   fatal error: error in backend: Found 1 machine code errors.
>
> Providing a mir test case would be better.


Done. Thanks for the suggestion :)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78063/new/

https://reviews.llvm.org/D78063





More information about the llvm-commits mailing list