[llvm] c2b7b9b - [Hexagon] Fix order of operands in V6_vdealb4w
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 8 20:10:51 PDT 2020
Author: Krzysztof Parzyszek
Date: 2020-09-08T22:09:28-05:00
New Revision: c2b7b9b642b3247061c4850e9c868c903e3b9654
URL: https://github.com/llvm/llvm-project/commit/c2b7b9b642b3247061c4850e9c868c903e3b9654
DIFF: https://github.com/llvm/llvm-project/commit/c2b7b9b642b3247061c4850e9c868c903e3b9654.diff
LOG: [Hexagon] Fix order of operands in V6_vdealb4w
Added:
Modified:
llvm/lib/Target/Hexagon/HexagonPatternsHVX.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/Hexagon/HexagonPatternsHVX.td b/llvm/lib/Target/Hexagon/HexagonPatternsHVX.td
index b656a845b152..c9435cd21c2e 100644
--- a/llvm/lib/Target/Hexagon/HexagonPatternsHVX.td
+++ b/llvm/lib/Target/Hexagon/HexagonPatternsHVX.td
@@ -407,7 +407,7 @@ let Predicates = [UseHVX] in {
def: Pat<(srl HVI32:$Vs, HVI32:$Vt), (V6_vlsrwv HvxVR:$Vs, HvxVR:$Vt)>;
def: Pat<(VecI8 (vpackl HVI16:$Vs)), (V6_vdealb HvxVR:$Vs)>;
- def: Pat<(VecI8 (vpackl HVI32:$Vs)), (V6_vdealb4w HvxVR:$Vs, (IMPLICIT_DEF))>;
+ def: Pat<(VecI8 (vpackl HVI32:$Vs)), (V6_vdealb4w (IMPLICIT_DEF), HvxVR:$Vs)>;
def: Pat<(VecI16 (vpackl HVI32:$Vs)), (V6_vdealh HvxVR:$Vs)>;
def: Pat<(VecI16 (bswap HVI16:$Vs)),
More information about the llvm-commits
mailing list