Skip to content

Commit 77ade89

Browse files
authored
[NFC] Use F->isDeclaration instead of (*F).isDeclaration (#164238)
1 parent 2ecf122 commit 77ade89

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)