Skip to content

Commit 1195d37

Browse files
committed
[Hexagon] Fix HWBF16 PatLeaf type
Correct the definition of `HWBF16` to reference `VecPBF16` rather than `VecBF16`, aligning it with the existing pattern-leaf conventions for pointer vector types.
1 parent 1054a6e commit 1195d37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/Hexagon/HexagonPatternsHVX.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def HWI16: PatLeaf<(VecPI16 HvxWR:$R)>;
2222
def HWI32: PatLeaf<(VecPI32 HvxWR:$R)>;
2323
def HWF16: PatLeaf<(VecPF16 HvxWR:$R)>;
2424
def HWF32: PatLeaf<(VecPF32 HvxWR:$R)>;
25-
def HWBF16: PatLeaf<(VecBF16 HvxWR:$R)>;
25+
def HWBF16: PatLeaf<(VecPBF16 HvxWR:$R)>;
2626

2727
def SDTVecUnaryOp:
2828
SDTypeProfile<1, 1, [SDTCisVec<0>, SDTCisVec<1>]>;

0 commit comments

Comments
 (0)