[llvm] [flang][runtime] fix intrinsics case of extends_type_of (PR #161466)
Peter Klausler via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 1 07:15:51 PDT 2025
================
@@ -227,6 +227,7 @@ class Descriptor {
RT_API_ATTRS bool IsPointer() const {
return raw_.attribute == CFI_attribute_pointer;
}
+ RT_API_ATTRS bool IsAssociated() const { return raw_.base_addr != nullptr; }
----------------
klausler wrote:
Isn't there already a predicate member function in Descriptor for a non-null base address?
https://github.com/llvm/llvm-project/pull/161466
More information about the llvm-commits
mailing list