diff options
| author | Chad Rosier <mcrosier@codeaurora.org> | 2016-02-18 17:49:57 +0000 |
|---|---|---|
| committer | Chad Rosier <mcrosier@codeaurora.org> | 2016-02-18 17:49:57 +0000 |
| commit | c00ab4f27d43f008a09578862f241812ea5036c9 (patch) | |
| tree | 263ccc0524ca01b8be947b7571179c0e5f55b9fd /llvm/lib/Target | |
| parent | b8aea04ef51f02b9224a7a4a577ee44c5c69d899 (diff) | |
| download | bcm5719-llvm-c00ab4f27d43f008a09578862f241812ea5036c9.tar.gz bcm5719-llvm-c00ab4f27d43f008a09578862f241812ea5036c9.zip | |
[Hexagon] Remove redundant check.
llvm-svn: 261232
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp index d4eb2fc420d..ee96330d8cd 100644 --- a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp +++ b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp @@ -357,8 +357,8 @@ Hexagon::Fixups getFixupNoBits(MCInstrInfo const &MCII, const MCInst &MI, // The only relocs left should be GP relative: default: if (MCID.mayStore() || MCID.mayLoad()) { - for (const MCPhysReg *ImpUses = MCID.getImplicitUses(); - *ImpUses && *ImpUses; ++ImpUses) { + for (const MCPhysReg *ImpUses = MCID.getImplicitUses(); *ImpUses; + ++ImpUses) { if (*ImpUses != Hexagon::GP) continue; switch (HexagonMCInstrInfo::getAccessSize(MCII, MI)) { |

