[llvm] fd64038 - [CodeGen] getPointerMemTy - move FIXME to start of comment line so editors are more likely to detect it. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 21 04:58:37 PST 2023
Author: Simon Pilgrim
Date: 2023-11-21T12:58:23Z
New Revision: fd640384a5ac472e4f812ab5211d9d227078ec5e
URL: https://github.com/llvm/llvm-project/commit/fd640384a5ac472e4f812ab5211d9d227078ec5e
DIFF: https://github.com/llvm/llvm-project/commit/fd640384a5ac472e4f812ab5211d9d227078ec5e.diff
LOG: [CodeGen] getPointerMemTy - move FIXME to start of comment line so editors are more likely to detect it. NFC.
Added:
Modified:
llvm/include/llvm/CodeGen/TargetLowering.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/TargetLowering.h b/llvm/include/llvm/CodeGen/TargetLowering.h
index 9ebcc28c38ae672..d0dc1ea8881409b 100644
--- a/llvm/include/llvm/CodeGen/TargetLowering.h
+++ b/llvm/include/llvm/CodeGen/TargetLowering.h
@@ -368,8 +368,8 @@ class TargetLoweringBase {
}
/// Return the in-memory pointer type for the given address space, defaults to
- /// the pointer type from the data layout. FIXME: The default needs to be
- /// removed once all the code is updated.
+ /// the pointer type from the data layout.
+ /// FIXME: The default needs to be removed once all the code is updated.
virtual MVT getPointerMemTy(const DataLayout &DL, uint32_t AS = 0) const {
return MVT::getIntegerVT(DL.getPointerSizeInBits(AS));
}
More information about the llvm-commits
mailing list