[llvm] 77ade89 - [NFC] Use F->isDeclaration instead of (*F).isDeclaration (#164238)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 20 08:24:39 PDT 2025
Author: Juan Manuel Martinez CaamaƱo
Date: 2025-10-20T17:24:35+02:00
New Revision: 77ade8905fe2102255ebb84de905f376043b68c5
URL: https://github.com/llvm/llvm-project/commit/77ade8905fe2102255ebb84de905f376043b68c5
DIFF: https://github.com/llvm/llvm-project/commit/77ade8905fe2102255ebb84de905f376043b68c5.diff
LOG: [NFC] Use F->isDeclaration instead of (*F).isDeclaration (#164238)
Added:
Modified:
llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp b/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
index 14139c0c7f9cd..f7cdfcb65623b 100644
--- a/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
+++ b/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
@@ -635,7 +635,7 @@ static void collectOtherInstr(MachineInstr &MI, SPIRV::ModuleAnalysisInfo &MAI,
void SPIRVModuleAnalysis::processOtherInstrs(const Module &M) {
InstrTraces IS;
for (auto F = M.begin(), E = M.end(); F != E; ++F) {
- if ((*F).isDeclaration())
+ if (F->isDeclaration())
continue;
MachineFunction *MF = MMI->getMachineFunction(*F);
assert(MF);
More information about the llvm-commits
mailing list