llvm-project
36c710c4 - [CIR] Change default assumption about allowing builtins (#144004)

Commit
148 days ago
[CIR] Change default assumption about allowing builtins (#144004) The code to read the "nobuiltins" attributes hasn't been implemented yet, but we were defaulting to the assumption that use of builtins is allowed for function calls that we recognize as standard C library calls and have builtin equivalents of. This change reverses that assumption so that when such calls are encountered, we just emit the call. This is a better default assumption, and since our builtin handling for these functions isn't implemented yet, it also allows us to compile more programs.
Author
Parents
Loading