1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

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 7d12a573ba
commit f520308e27

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: