Skip to content

Commit 6d7e92f

Browse files
committed
[Hexagon] Remove non-canonical matching
1 parent b6240c3 commit 6d7e92f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ bool PolynomialMultiplyRecognize::matchRightShift(SelectInst *SelI,
829829
return false;
830830

831831
Value *X = nullptr;
832-
if (!match(C, m_c_And(m_Value(X), m_One())))
832+
if (!match(C, m_And(m_Value(X), m_One())))
833833
return false;
834834
// Matched: select (X & 1) == +++ ? ... : ...
835835
// select (X & 1) != +++ ? ... : ...

0 commit comments

Comments
 (0)