canFoldMergeOpcode returns a bool result not an unsigned. NFCI.
This commit is contained in:
parent
dd870f6929
commit
65c5f4e929
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue