canFoldMergeOpcode returns a bool result not an unsigned. NFCI.

This commit is contained in:
Simon Pilgrim 2019-11-07 18:00:43 +00:00
parent dd870f6929
commit 65c5f4e929
1 changed files with 2 additions and 2 deletions

View File

@ -217,8 +217,8 @@ public:
return false;
}
static unsigned canFoldMergeOpcode(unsigned MergeOp, unsigned ConvertOp,
LLT OpTy, LLT DestTy) {
static bool canFoldMergeOpcode(unsigned MergeOp, unsigned ConvertOp,
LLT OpTy, LLT DestTy) {
// Check if we found a definition that is like G_MERGE_VALUES.
switch (MergeOp) {
default: