Skip to content

Commit 59d169d

Browse files
author
git apple-llvm automerger
committed
Merge commit '77ade8905fe2' from llvm.org/main into next
2 parents 0bc65cc + 77ade89 commit 59d169d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ static void collectOtherInstr(MachineInstr &MI, SPIRV::ModuleAnalysisInfo &MAI,
635635
void SPIRVModuleAnalysis::processOtherInstrs(const Module &M) {
636636
InstrTraces IS;
637637
for (auto F = M.begin(), E = M.end(); F != E; ++F) {
638-
if ((*F).isDeclaration())
638+
if (F->isDeclaration())
639639
continue;
640640
MachineFunction *MF = MMI->getMachineFunction(*F);
641641
assert(MF);

0 commit comments

Comments
 (0)