-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Open
Labels
ClangIRAnything related to the ClangIR projectAnything related to the ClangIR project
Description
Overview
Upstream support for compare expressions and the cir.cmp operation.
Suggested minimal test case
struct Base {
virtual void f();
};
struct Derived : Base {};
Derived *ptr_cast(Base *b) {
return dynamic_cast<Derived *>(b);
}
Existing incubator tests
clang/test/CIR/CodeGen/dynamic-cast.cpp
clang/test/CIR/CodeGen/dynamic-cast-relative-layout.cpp
clang/test/CIR/CodeGen/dynamic-cast-exact.cpp
Metadata
Metadata
Assignees
Labels
ClangIRAnything related to the ClangIR projectAnything related to the ClangIR project