Skip to content

Commit 965e491

Browse files
authored
Add ubsan functions to KnownInactiveFunctions (EnzymeAD#2394)
* Add ubsan functions to KnownInactiveFunctions. * One more ubsan function.
1 parent 87d6696 commit 965e491

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

enzyme/Enzyme/ActivityAnalysis.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,10 @@ const StringSet<> KnownInactiveFunctions = {
297297
"\01_fopen",
298298
"fopen",
299299
"fclose",
300+
"__ubsan_handle_dynamic_type_cache_miss",
301+
"__ubsan_handle_pointer_overflow",
302+
"__ubsan_handle_type_mismatch_v1",
303+
"__ubsan_vptr_type_cache",
300304
};
301305

302306
const std::set<Intrinsic::ID> KnownInactiveIntrinsics = {

0 commit comments

Comments
 (0)