Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
2,820 ms | linux > Clang.Preprocessor::init.c | |
8,740 ms | windows > Clang.Preprocessor::init.c |
Event Timeline
llvm/unittests/ADT/APIntTest.cpp | ||
---|---|---|
1785–1786 | This comment needs to be updated |
Comment Actions
I would prefer to remove if def completly and always compile with if (this == &that)
Original patch justified removing of (this == &that) to save 4k. I don't think it's worth it.
However if want to remove this from release maybe we should do the following, as EXPENSIVE_CHECKS is the one who triggers std::shuffle in llvm::sort?
#ifdef EXPENSIVE_CHECKS if (this == &that) return *this; #endif
Comment Actions
This makes sense to me - we keep the codesize savings on main builds and we have a better chance of seeing self-moves on windows bots.
This comment needs to be updated