[llvm] 515f890 - [CodeGen] Remove an outdated comment in MachinePointerInfo
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 28 01:08:01 PDT 2022
Author: Jay Foad
Date: 2022-04-28T09:06:36+01:00
New Revision: 515f890033ccaad3890333513731e4c5b6db2482
URL: https://github.com/llvm/llvm-project/commit/515f890033ccaad3890333513731e4c5b6db2482
DIFF: https://github.com/llvm/llvm-project/commit/515f890033ccaad3890333513731e4c5b6db2482.diff
LOG: [CodeGen] Remove an outdated comment in MachinePointerInfo
This comment has been untrue since D39758 changed
MachinePointerInfo to store AddrSpace separately from V.
Added:
Modified:
llvm/include/llvm/CodeGen/MachineMemOperand.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/MachineMemOperand.h b/llvm/include/llvm/CodeGen/MachineMemOperand.h
index 00080b1719744..1661d26bf1962 100644
--- a/llvm/include/llvm/CodeGen/MachineMemOperand.h
+++ b/llvm/include/llvm/CodeGen/MachineMemOperand.h
@@ -37,8 +37,6 @@ class ModuleSlotTracker;
/// as frame indices) that are exposed during codegen.
struct MachinePointerInfo {
/// This is the IR pointer value for the access, or it is null if unknown.
- /// If this is null, then the access is to a pointer in the default address
- /// space.
PointerUnion<const Value *, const PseudoSourceValue *> V;
/// Offset - This is an offset from the base Value*.
More information about the llvm-commits
mailing list