Skip to content

Commit 7f5a5f4

Browse files
committed
[CodeGen][MachineLoop] Address code comment
1 parent a31fac8 commit 7f5a5f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/MachineLoopInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ MDNode *MachineLoop::getLoopID() const {
192192
const auto *TI = BB->getTerminator();
193193
if (!TI)
194194
return nullptr;
195-
MDNode *MD = TI->getMetadata(LLVMContext::MD_loop);
196195

196+
MDNode *MD = TI->getMetadata(LLVMContext::MD_loop);
197197
if (!MD)
198198
return nullptr;
199199

0 commit comments

Comments
 (0)