Add a way to pop arguments based on the call expression instead of the function and use that.
clang/test/Sema/constant-builtins-fmin.cpp is the promised test form the other reviews.
Paths
| Differential D155369
[clang][Interp] Implement __builtin_isnan() ClosedPublic Authored by tbaeder on Jul 15 2023, 6:30 AM.
Details Summary Add a way to pop arguments based on the call expression instead of the function and use that. clang/test/Sema/constant-builtins-fmin.cpp is the promised test form the other reviews.
Diff Detail Event Timeline
tbaeder marked an inline comment as done. This revision is now accepted and ready to land.Jul 16 2023, 11:30 PM tbaeder marked an inline comment as done. This revision was landed with ongoing or failed builds.Jul 28 2023, 11:50 AM Closed by commit rG8ad9dcb38693: [clang][Interp] Implement __builtin_isnan() (authored by tbaeder). · Explain Why This revision was automatically updated to reflect the committed changes. tbaeder added a reverting change: rG9016514c6bc3: Revert "[clang][Interp] Implement __builtin_isnan()".Jul 28 2023, 12:00 PM
Revision Contents
Diff 540681 clang/lib/AST/Interp/Function.h
clang/lib/AST/Interp/Interp.h
clang/lib/AST/Interp/Interp.cpp
clang/lib/AST/Interp/InterpBuiltin.cpp
clang/test/Sema/constant-builtins-fmin.cpp
|
You can compare getBuiltinID(), which is better than using strings, it's what we seem to be doing elsewhere