aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorQuinn Pham <Quinn.Pham@ibm.com>2022-06-17 09:33:32 -0500
committerQuinn Pham <Quinn.Pham@ibm.com>2022-06-17 10:14:24 -0500
commitdeb7655209a7d74257b651ade97bfc63043174ec (patch)
treee3ef6443d2bef2baf27e5b7cf484301ede9de300 /llvm/lib/CodeGen/MachineFunction.cpp
parent755c84c62cda80b0acf51ccc5653fc6d64536f7e (diff)
downloadllvm-deb7655209a7d74257b651ade97bfc63043174ec.zip
llvm-deb7655209a7d74257b651ade97bfc63043174ec.tar.gz
llvm-deb7655209a7d74257b651ade97bfc63043174ec.tar.bz2
[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 `stxvd2x`. Reviewed By: #powerpc, nemanjai Differential Revision: https://reviews.llvm.org/D128062
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions