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

Xiangling Liao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 16:54:40 PDT 2020


Xiangling_L added inline comments.


================
Comment at: llvm/test/CodeGen/PowerPC/ppc-32bit-shift.ll:26
+
+; 64BIT:         extswsli [[REG1:[0-9]+]], {{[0-9]+}}, 8
+; 64BIT-NEXT:    std [[REG1]], 0({{[0-9]+}})
----------------
Sorry, I should've mentioned this earlier, we want to follow the same rules here for 64bit as above 32bit cases.
For example:


```
; 64BIT:               extswsli [[REG1:[0-9]+]], {{REG2:[0-9]+}}, 8
```



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