[llvm] cc3af05 - [SPIRV] Fix CoverageInfo after D153758

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 08:36:03 PDT 2023


Author: Fangrui Song
Date: 2023-07-11T08:35:59-07:00
New Revision: cc3af05326c9d1e525612fc0984e9083166fad07

URL: https://github.com/llvm/llvm-project/commit/cc3af05326c9d1e525612fc0984e9083166fad07
DIFF: https://github.com/llvm/llvm-project/commit/cc3af05326c9d1e525612fc0984e9083166fad07.diff

LOG: [SPIRV] Fix CoverageInfo after D153758

Added: 
    

Modified: 
    llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp b/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
index 70437e397c354a..2fc7342458de57 100644
--- a/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
+++ b/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
@@ -201,7 +201,7 @@ SPIRVInstructionSelector::SPIRVInstructionSelector(const SPIRVTargetMachine &TM,
 }
 
 void SPIRVInstructionSelector::setupMF(MachineFunction &MF, GISelKnownBits *KB,
-                                       CodeGenCoverage &CoverageInfo,
+                                       CodeGenCoverage *CoverageInfo,
                                        ProfileSummaryInfo *PSI,
                                        BlockFrequencyInfo *BFI) {
   MRI = &MF.getRegInfo();


        


More information about the llvm-commits mailing list