diff options
Diffstat (limited to 'llvm/lib/CodeGen/TargetRegisterInfo.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetRegisterInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/TargetRegisterInfo.cpp b/llvm/lib/CodeGen/TargetRegisterInfo.cpp index f5cb518..6bcf7954 100644 --- a/llvm/lib/CodeGen/TargetRegisterInfo.cpp +++ b/llvm/lib/CodeGen/TargetRegisterInfo.cpp @@ -552,7 +552,7 @@ bool TargetRegisterInfo::getCoveringSubRegIndexes( // Abort if we cannot possibly implement the COPY with the given indexes. if (BestIdx == 0) - return 0; + return false; NeededIndexes.push_back(BestIdx); @@ -581,7 +581,7 @@ bool TargetRegisterInfo::getCoveringSubRegIndexes( } if (BestIdx == 0) - return 0; // Impossible to handle + return false; // Impossible to handle NeededIndexes.push_back(BestIdx); |