diff options
-rw-r--r-- | llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h b/llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h index 479eb8c445f..376d07dee8b 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h @@ -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: |