rez5427 wrote:

> > Machine CSE is before this register coalescer, Machine CSE will see 
> > something like:
> > ```
> >      li     a2, 42
> >      a0 = copy a2
> > ```
> > 
> > 
> >     
> >       
> >     
> > 
> >       
> >     
> > 
> >     
> >   
> > So Machine CSE will not eliminate this pattern.
> 
> IIRC, MachineCSE will try copy propagation. Looks failing in this case. Maybe 
> we should find out why it fails.

Let me check this.

https://github.com/llvm/llvm-project/pull/163047
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to