Skip to content

Commit d3c9bb0

Browse files
committed
[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); ^
1 parent 5ce793e commit d3c9bb0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/lib/Target/AMDGPU/AMDGPUAsanInstrumentation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ void instrumentAddress(Module &M, IRBuilder<> &IRB, Instruction *OrigIns,
181181

182182
void getInterestingMemoryOperands(
183183
Module &M, Instruction *I,
184-
SmallVectorImpl<InterestingMemoryOperand> &Interesting) {
184+
SmallVectorImpl<MemoryRefInfo> &Interesting) {
185185
const DataLayout &DL = M.getDataLayout();
186186
if (LoadInst *LI = dyn_cast<LoadInst>(I)) {
187187
Interesting.emplace_back(I, LI->getPointerOperandIndex(), false,

llvm/lib/Target/AMDGPU/AMDGPUAsanInstrumentation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ void instrumentAddress(Module &M, IRBuilder<> &IRB, Instruction *OrigIns,
5252
/// that needs to be instrumented
5353
void getInterestingMemoryOperands(
5454
Module &M, Instruction *I,
55-
SmallVectorImpl<InterestingMemoryOperand> &Interesting);
55+
SmallVectorImpl<MemoryRefInfo> &Interesting);
5656

5757
} // end namespace AMDGPU
5858
} // end namespace llvm

0 commit comments

Comments
 (0)