User Details
- User Since
- Jan 27 2020, 1:17 AM (164 w, 2 d)
Jan 27 2023
Looks good to me, but please give it a few days in case someone else has a comment.
LGTM
Jan 18 2023
Formatting
I would have prefered a comment instead of a straight revert without giving me a chance to fix it.
Anyway, here’s a version that embeds bitcode instead of textual IR.
Jan 17 2023
Jan 13 2023
The debian pre-checkin test is unfortunately quite unstable. I see the same failures in D141469 for example.
This looks good to go.
Jan 12 2023
Assemble callbacks in a struct, as suggested.
FYI, the CMake file should use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR, otherwise it breaks builds that use CMake’s add_subdirectory. I put up D141521 to fix that.
Jan 11 2023
Thanks for fixing the whitespace as well!
That looks good to me. I guess the same change applies to the duplicated code in flang, polly, lld and clang.
Jan 9 2023
Rebased. Any concerns with the current patch?
Jan 5 2023
The changes look good from my side. Can you add a unittest that converts an invalid DataLayout string to something legal?
Dec 20 2022
Dec 19 2022
For completeness, the patch avoids the creation of mentioned dir under some but not all circumstances?
I still get the ${CONFIGURATION} directory even with this patch
It is surprising to me that std::any can work without RTTI. Never thought it could be implemented.
Dec 16 2022
ping for review
I believe the motivation here is the default behavior
Dec 14 2022
I found a different way to fix the problem with msvc.
Marking the TypeId as non-const fixes the problem, at least in godbolt.
Dec 13 2022
Dec 12 2022
Dec 8 2022
I guess this is fine to merge. I’ll leave it for a day in case someone has more comments.
Seems like we can’t… msvc fails to link
https://developercommunity.visualstudio.com/t/stdany-doesnt-link-when-exceptions-are-disabled/376072
Dec 7 2022
I put up D139532, which includes the work done here and finishes it (also replaces any_cast with std::any_cast, compiles and passes llvm and clang tests).
Dec 1 2022
Nov 30 2022
Thanks for the review!
I updated the update_cc_tests tests and added a test where the FileCheck failed previously.
Nov 22 2022
Nov 17 2022
Nov 14 2022
Nov 11 2022
Nov 4 2022
Sep 28 2022
Looks good to me
Sep 14 2022
LGTM
Sep 9 2022
Aug 25 2022
I’m not sure if it’s the case for all places (as CMAKE_CFG_INTDIR is not defined at install time), but I think the CMAKE_BINARY_LIBDIR introduced here serves the same purpose as the already existing LLVM_LIBRARY_DIR.
Same for CMAKE_BINARY_INCLUDEDIR, which is LLVM_INCLUDE_DIR and CMAKE_BINARY_BINDIR which is LLVM_TOOLS_BINARY_DIR.
This is probably caused by using CMAKE_CFG_INTDIR (indirectly) in more places. Seems like it expands to $(Configuration) for Visual Studio.
Searching more about it, it’s only set at build time, but not at install time, which is a problem as well.
On top of all, CMAKE_CFG_INTDIR is deprecated and superseded by generator expression: https://cmake.org/cmake/help/latest/variable/CMAKE_CFG_INTDIR.html
Aug 24 2022
The build afterwards succeeded again. Seems like every ~20th build on that windows machine fails.
Thanks, looks good to me.
Aug 23 2022
Looks ok to me in general.
Aug 22 2022
Aug 18 2022
Aug 16 2022
Looks good to me, thanks!
Jul 28 2022
I pushed a potential fix (removing the backslash) in 50716ba2b337afe46ac256cc91673dc27356a776.
I don’t know which buildbots to look at though, it looks like the OpenMP ones all succeed.
Jul 27 2022
Looks good to me, I left three questions inline.
Jul 26 2022
Looks good to me
I found a regression when llvm is added with CMake’s add_subdirectory. D130555 has a fix.