[PATCH] D87046: [PPC] Do not emit extswsli in 32BIT mode when using -mcpu=pwr9

Zarko Todorovski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 09:52:09 PDT 2020


ZarkoCA added a comment.

In D87046#2285772 <https://reviews.llvm.org/D87046#2285772>, @sfertile wrote:

> Does `PPCMIPeephole::combineSEXTAndSHL` have a similar problem that needs to be addressed?

I thought so, but it looks like that function is only called when `PPCMIPeephole::simplifyCode` sees an `RLDICR` Opcode which is a 64Bit only instruction.  So it looks like we avoid this problem there.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87046



More information about the llvm-commits mailing list