[PATCH] D139691: [PowerPC] add a peephole to remove redundant swap instructions after vector splats on P8

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 3 08:03:08 PST 2023


nemanjai added a comment.

Why do we need this?

1. For LE, why doesn't the swap removal pass remove the swaps rather than relying on this peephole?
2. For AIX, why do we have swaps? We certainly don't swap values we store by default on big endian, so the description of this doesn't explain it at all.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139691



More information about the llvm-commits mailing list