[all-commits] [llvm/llvm-project] deb765: [PowerPC] Fix PPCVSXSwapRemoval pass to include MT...
Quinn Pham via All-commits
all-commits at lists.llvm.org
Fri Jun 17 08:14:37 PDT 2022
Author: Quinn Pham <Quinn.Pham at ibm.com>
Date: 2022-06-17 (Fri, 17 Jun 2022)
[PowerPC] Fix PPCVSXSwapRemoval pass to include MTVSCR and MFVSCR as not swappable.
This patch adds the instructions `MTVSCR` and `MFVSCR` as not swappable to the
PPCVSXSwapRemoval pass because they are not lane-insensitive. This will prevent
the compiler from optimizing out required swaps when using `lxvd2x` and
Reviewed By: #powerpc, nemanjai
Differential Revision: https://reviews.llvm.org/D128062
More information about the All-commits