Skip to content

Commit fe33a0f

Browse files
tgymnicharsenm
andauthored
Update llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
Co-authored-by: Matt Arsenault <[email protected]>
1 parent a93a018 commit fe33a0f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -783,10 +783,7 @@ struct ClassifyOp_match {
783783

784784
FPClassTest TmpClass =
785785
static_cast<FPClassTest>(TmpMI->getOperand(2).getImm());
786-
if (T.match(MRI, TmpClass))
787-
return true;
788-
789-
return false;
786+
return T.match(MRI, TmpClass);
790787
}
791788
};
792789

0 commit comments

Comments
 (0)