[all-commits] [llvm/llvm-project] f2f61a: [PowerPC] A fix for D159073. Do not optimize when ...

Esme via All-commits all-commits at lists.llvm.org
Tue Sep 26 06:30:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f2f61a99f7f754f3e4c819e1e7c65848affe70b3
      https://github.com/llvm/llvm-project/commit/f2f61a99f7f754f3e4c819e1e7c65848affe70b3
  Author: esmeyi <esme.yi at ibm.com>
  Date:   2023-09-26 (Tue, 26 Sep 2023)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCMIPeephole.cpp

  Log Message:
  -----------
  [PowerPC] A fix for D159073. Do not optimize when register classes are different in src and dst.

For example:
```
  %298:g8rc = RLDICL %297:g8rc, 0, 48
  %299:gprc = COPY killed %298.sub_32:g8rc
  dead %498:gprc = ANDI_rec killed %299:gprc, 1, implicit-def dead $cr0, implicit-def $cr0gt
```




More information about the All-commits mailing list