commit | 50451d49fcc9dee4987182fadea967a2a4688a30 | [log] [tgz] |
---|---|---|
author | Matt Arsenault <Matthew.Arsenault@amd.com> | Thu Jun 02 18:37:21 2016 +0000 |
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Thu Jun 02 18:37:21 2016 +0000 |
tree | 9c3b2290c686d4f631782695cca6180f8b9c707b | |
parent | 8e00194be8cd1c20ee625b0adcb4fe5981301118 [diff] [blame] |
Use false for bool instead of 0 llvm-svn: 271562
diff --git a/llvm/lib/CodeGen/VirtRegMap.cpp b/llvm/lib/CodeGen/VirtRegMap.cpp index c064fd5..7713adb 100644 --- a/llvm/lib/CodeGen/VirtRegMap.cpp +++ b/llvm/lib/CodeGen/VirtRegMap.cpp
@@ -82,7 +82,7 @@ bool VirtRegMap::hasPreferredPhys(unsigned VirtReg) { unsigned Hint = MRI->getSimpleHint(VirtReg); if (!Hint) - return 0; + return false; if (TargetRegisterInfo::isVirtualRegister(Hint)) Hint = getPhys(Hint); return getPhys(VirtReg) == Hint;