[AMDGPU] Fix build failure after #97070 (NFC)

/llvm-project/llvm/lib/Target/AMDGPU/AMDGPUAsanInstrumentation.h:55:21:
error: use of undeclared identifier 'InterestingMemoryOperand'
    SmallVectorImpl<InterestingMemoryOperand> &Interesting);
                    ^
This commit is contained in:
Jie Fu
2024-08-08 14:11:16 +08:00
parent 5ce793e7df
commit d3c9bb0cf8
2 changed files with 2 additions and 2 deletions

View File

@@ -181,7 +181,7 @@ void instrumentAddress(Module &M, IRBuilder<> &IRB, Instruction *OrigIns,
void getInterestingMemoryOperands(
Module &M, Instruction *I,
SmallVectorImpl<InterestingMemoryOperand> &Interesting) {
SmallVectorImpl<MemoryRefInfo> &Interesting) {
const DataLayout &DL = M.getDataLayout();
if (LoadInst *LI = dyn_cast<LoadInst>(I)) {
Interesting.emplace_back(I, LI->getPointerOperandIndex(), false,

View File

@@ -52,7 +52,7 @@ void instrumentAddress(Module &M, IRBuilder<> &IRB, Instruction *OrigIns,
/// that needs to be instrumented
void getInterestingMemoryOperands(
Module &M, Instruction *I,
SmallVectorImpl<InterestingMemoryOperand> &Interesting);
SmallVectorImpl<MemoryRefInfo> &Interesting);
} // end namespace AMDGPU
} // end namespace llvm