diff options
author | Maryam Moghadas <maryammo@ca.ibm.com> | 2023-09-13 13:47:42 -0500 |
---|---|---|
committer | Maryam Moghadas <maryammo@ca.ibm.com> | 2023-09-13 15:00:49 -0500 |
commit | 7b021f2e64e1f5f7bdb4a7d72be12ad46e26cf79 (patch) | |
tree | 05ffedae5447f2faf7897e53af76f0e17a68a252 /clang/lib/Frontend/FrontendAction.cpp | |
parent | d6d4a526f424f48b3cd15163287924bd6c93674b (diff) | |
download | llvm-7b021f2e64e1f5f7bdb4a7d72be12ad46e26cf79.zip llvm-7b021f2e64e1f5f7bdb4a7d72be12ad46e26cf79.tar.gz llvm-7b021f2e64e1f5f7bdb4a7d72be12ad46e26cf79.tar.bz2 |
[PowerPC] Optimize VPERM and fix code order for swapping vector operands on LE
This patch reverts commit 7614ba0a5db8 to optimize VPERM when one of its
vector operands is XXSWAPD, similar to XXPERM. It also reorganizes the
little-endian swap code on LE, swapping the vector operand after
adjusting the mask operand. This ensures that the vector operand is
swapped at the correct point in the code, resulting in a valid
constant pool for the mask operand.
Reviewed By: stefanp
Differential Revision: https://reviews.llvm.org/D149083
Diffstat (limited to 'clang/lib/Frontend/FrontendAction.cpp')
0 files changed, 0 insertions, 0 deletions