Page MenuHomePhabricator

Fix unused variable warning in LoopFusion pass
ClosedPublic

Authored by kbarton on Apr 23 2019, 12:26 PM.

Details

Summary

Do not wrap the contents of printFusionCandidates in the LLVM_DEBUG macro. This fixes an unused variable warning generated when compiling without asserts but with -DENABLE_LLVM_DUMP.

Diff Detail

Repository
rL LLVM

Event Timeline

kbarton created this revision.Apr 23 2019, 12:26 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 23 2019, 12:26 PM
Meinersbur accepted this revision.Apr 23 2019, 2:34 PM

LGTM

llvm/lib/Transforms/Scalar/LoopFuse.cpp
326 ↗(On Diff #196300)

[nit] Added double empty line (would be cleaned up by clang-format)

This revision is now accepted and ready to land.Apr 23 2019, 2:34 PM
This revision was automatically updated to reflect the committed changes.