[all-commits] [llvm/llvm-project] ab9521: [Hexagon] Use 'vnot' instead of 'not' in patterns ...
Krzysztof Parzyszek via All-commits
all-commits at lists.llvm.org
Thu Apr 22 13:37:11 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ab9521aaebc51de677741343184da768ee596c08
https://github.com/llvm/llvm-project/commit/ab9521aaebc51de677741343184da768ee596c08
Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
Date: 2021-04-22 (Thu, 22 Apr 2021)
Changed paths:
M llvm/lib/Target/Hexagon/HexagonPatterns.td
M llvm/lib/Target/Hexagon/HexagonPatternsHVX.td
A llvm/test/CodeGen/Hexagon/autohvx/logical-128b.ll
A llvm/test/CodeGen/Hexagon/autohvx/logical-64b.ll
A llvm/test/CodeGen/Hexagon/isel/logical.ll
Log Message:
-----------
[Hexagon] Use 'vnot' instead of 'not' in patterns with vectors
'not' expands to checking for an xor with a -1 constant. Since
this looks for a ConstantSDNode it will never match for a vector.
Co-authored-by: Craig Topper <craig.topper at sifive.com>
Differential Revision: https://reviews.llvm.org/D100687
More information about the All-commits
mailing list