[llvm] [CodeGen] Forbid passing a PointerType to MVT::getVT and EVT::getEVT (PR #92671)
Jessica Clarke via llvm-commits
llvm-commits at lists.llvm.org
Tue May 21 23:49:43 PDT 2024
================
@@ -488,8 +488,8 @@ namespace llvm {
Type *getTypeForEVT(LLVMContext &Context) const;
/// Return the value type corresponding to the specified type.
- /// This returns all pointers as iPTR. If HandleUnknown is true, unknown
- /// types are returned as Other, otherwise they are invalid.
+ /// If HandleUnknown is true, unknown types are returned as Other,
+ /// otherwise they are invalid.
----------------
jrtc27 wrote:
Sure. I should also add to the comment in MachineValueTypes.td like used to be in the .h.
https://github.com/llvm/llvm-project/pull/92671
More information about the llvm-commits
mailing list