-
Notifications
You must be signed in to change notification settings - Fork 14.4k
TableGen: Generate enum for runtime libcall implementations #144973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TableGen: Generate enum for runtime libcall implementations #144973
Conversation
d0d6a5b
to
d5ea33f
Compare
f394b9d
to
098b3ea
Compare
098b3ea
to
2100301
Compare
Work towards separating the ABI existence of libcalls vs. the lowering selection. Set libcall selection through enums, rather than through raw string names.
d5ea33f
to
460bf5d
Compare
This change somehow broke some of the LTO tests on the emscripten waterfall. It seems to be related to the list of symbols that lld uses to determine the list of all libcall names. This comes from I added some logging an compared the results of this function before and after this change. It seems that |
i.e. in the generated
|
Yes, I'm guessing this drop_front no longer applies |
Yup this patch fixes it:
|
Actually this one should be drop_back until the RTLIB::Libcall enum is swapped to use 0 as invalid |
Fixes regression reported after #144973, which happened to be acosf.
Fixes regression reported after #144973, which happened to be acosf.
Fixes regression reported after #144973, which happened to be acosf.
Work towards separating the ABI existence of libcalls vs. the
lowering selection. Set libcall selection through enums, rather
than through raw string names.