[llvm] r332521 - Fix up a misleading format warning.

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Wed May 16 13:33:59 PDT 2018


Author: echristo
Date: Wed May 16 13:33:59 2018
New Revision: 332521

URL: http://llvm.org/viewvc/llvm-project?rev=332521&view=rev
Log:
Fix up a misleading format warning.

Modified:
    llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp

Modified: llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp?rev=332521&r1=332520&r2=332521&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp Wed May 16 13:33:59 2018
@@ -657,7 +657,7 @@ unsigned HexagonMCCodeEmitter::getExprOp
           for (const MCPhysReg *U = D.getImplicitUses(); U && *U; ++U)
             if (*U == Hexagon::GP)
               return true;
-            return false;
+          return false;
         };
         if (UsesGP(MCID))
           FixupKind = GPRelFixups[Shift];




More information about the llvm-commits mailing list