Changes

Summary

  1. clang-ve-staging: Staging builder for VE work-in-progress features (details)
Commit b4e033604f7e6eba38e0a6341d267c7f4f592ee8 by simon.moll
clang-ve-staging: Staging builder for VE work-in-progress features
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)

Summary

  1. [clang-tidy][docs][NFC] Improve documentation of bugprone-unhandled-exception-at-new (details)
  2. [libc] Select FPUtils implementations via code instead of build (details)
  3. [MemoryLocation] Move DSE intrinsic handling to MemoryLocation. (NFC) (details)
  4. [gn build] Build with Fission on non-mac non-win when using lld (details)
  5. [libc] Fix invalid include for SqrtLongDouble.h (details)
  6. [ARM] Replace if's with a switch, NFC (details)
Commit 1cefe91d40aef043ec949c6ddb053b47b4d5b8e6 by 1.int32
[clang-tidy][docs][NFC] Improve documentation of bugprone-unhandled-exception-at-new

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D114602
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/bugprone-unhandled-exception-at-new.rst (diff)
Commit 71405d90f042792c243d6c134c5cc2bc23853980 by gchatelet
[libc] Select FPUtils implementations via code instead of build

We want to simplify the build system and rely on code to do the implementation selection.
This is in preparation of adding a Bazel configuration (D114712).

Differential Revision: https://reviews.llvm.org/D115034
The file was removedlibc/src/__support/FPUtil/SqrtLongDoubleX86.h
The file was modifiedlibc/src/__support/FPUtil/x86_64/FMA.h (diff)
The file was modifiedlibc/src/__support/FPUtil/ManipulationFunctions.h (diff)
The file was modifiedlibc/src/__support/FPUtil/Sqrt.h (diff)
The file was modifiedlibc/src/__support/FPUtil/x86_64/FEnvImpl.h (diff)
The file was addedlibc/src/__support/FPUtil/FEnvImpl.h
The file was removedlibc/src/__support/FPUtil/NextAfterLongDoubleX86.h
The file was removedlibc/src/__support/FPUtil/DummyFEnvImpl.h
The file was modifiedlibc/src/__support/FPUtil/aarch64/FEnvImpl.h (diff)
The file was removedlibc/src/__support/FPUtil/LongDoubleBitsX86.h
The file was modifiedlibc/src/__support/FPUtil/FMA.h (diff)
The file was addedlibc/src/__support/FPUtil/x86_64/NextAfterLongDouble.h
The file was addedlibc/src/__support/FPUtil/x86_64/LongDoubleBits.h
The file was addedlibc/src/__support/FPUtil/x86_64/SqrtLongDouble.h
The file was modifiedlibc/src/__support/FPUtil/FPBits.h (diff)
The file was modifiedlibc/src/__support/FPUtil/CMakeLists.txt (diff)
The file was modifiedlibc/src/__support/FPUtil/aarch64/FMA.h (diff)
Commit ead3979a92fc33add4710c4510d6906260dcb4ad by flo
[MemoryLocation] Move DSE intrinsic handling to MemoryLocation. (NFC)

Suggested in D114872.
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp (diff)
The file was modifiedllvm/lib/Analysis/MemoryLocation.cpp (diff)
Commit 1217b4b46fce698cfbc869ec0f43b074f3f5f874 by thakis
[gn build] Build with Fission on non-mac non-win when using lld

In release+sym builds (-O2 -g), reduces time to link `clang`
from 2.3s to 1.3s (-42%).

In debug builds (-g), reduces time to link `clang`
from 5.4s to 4.5s (-17.4%).

See the phab review for full `ministat` numbers.

In the CMake build this is opt-in via LLVM_USE_SPLIT_DWARF.
Since the GN build is targeted at developers, enabling it by default
seems like a better default setting here. (If it turns out to cause
problems, we can add an opt-out.)

Time to load the binary into gdb and to set a breakpoint is unchanged.
Time from `run` to hitting a breakpoint in `main` feel a bit faster
(~4s -> ~2s), but I dind't do a careful statistical anlysis for this.

Differential Revision: https://reviews.llvm.org/D115040
The file was modifiedllvm/utils/gn/build/BUILD.gn (diff)
Commit b902b314ffa7ee3a13e2b1cfcfe28a946904b2ce by gchatelet
[libc] Fix invalid include for SqrtLongDouble.h
The file was modifiedlibc/src/__support/FPUtil/x86_64/SqrtLongDouble.h (diff)
Commit 11f67f5a2c286e33fece6c56cd5333549307549a by david.green
[ARM] Replace if's with a switch, NFC

I'm not having a lot of luck with the microosft compiler recently. Maybe
this will help it with its errors:
llvm\lib\IR\AutoUpgrade.cpp(3726): fatal error C1061: compiler limit: blocks nested too deeply

If not, it's a good code cleanup anyway.
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp (diff)