SuccessChanges

Summary

  1. [clang][cli] Create accessors for exception models in LangOptions (details)
  2. [clang][cli] Squash exception model in LangOptions into one member (details)
  3. [clang][cli] Squash multiple cc1 -fxxx-exceptions flags into single -exception-model=xxx option (details)
  4. [VPlan] Use VPdef for VPWidenCall. (details)
  5. [VPlan] Use VPDef for VPWidenGEPRecipe. (details)
Commit f24e58df7ddf2dc9f13c8f8fc259f0374f04aca3 by jan_svoboda
[clang][cli] Create accessors for exception models in LangOptions

This abstracts away the members that are being replaced in a follow-up patch.

Depends on D83979.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D93214
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedclang/lib/CodeGen/CGException.cpp
The file was modifiedclang/lib/Frontend/InitPreprocessor.cpp
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
Commit 573255b47eb9b210e74a1c620fee363dfaa52794 by jan_svoboda
[clang][cli] Squash exception model in LangOptions into one member

This squashes multiple members in LangOptions into one. This is leveraged in a follow-up patch that implements marshalling of related command-line options.

Depends on D93214.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D93215
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.def
Commit 56c5548d7f07f5853a2e40562db08dc2e56ece03 by jan_svoboda
[clang][cli] Squash multiple cc1 -fxxx-exceptions flags into single -exception-model=xxx option

This patch enables marshalling of the exception model options while enforcing their mutual exclusivity. The clang driver interface remains the same, this only affects the cc1 command line.

Depends on D93215.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D93216
The file was modifiedclang/test/CodeGenCXX/mingw-w64-seh-exceptions.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedclang/test/Driver/arch-armv7k.c
The file was modifiedclang/test/CodeGenObjC/personality.m
The file was modifiedclang/test/CodeGenCXX/mingw-w64-exceptions.c
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/test/Driver/fsjlj-exceptions.c
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/Frontend/windows-exceptions.cpp
The file was modifiedclang/test/CodeGen/personality.c
The file was modifiedclang/test/Driver/windows-exceptions.cpp
The file was modifiedclang/test/Driver/freebsd.c
The file was modifiedclang/test/CodeGenCXX/personality.cpp
The file was modifiedclang/test/CodeGenCXX/wasm-eh.cpp
The file was modifiedclang/test/CodeGenObjCXX/personality.mm
The file was modifiedclang/test/Preprocessor/init-arm.c
The file was modifiedclang/test/Driver/ve-toolchain.c
The file was modifiedclang/include/clang/Basic/DiagnosticFrontendKinds.td
The file was modifiedclang/test/Driver/ve-toolchain.cpp
The file was modifiedclang/test/CodeGenObjCXX/objfw-exceptions.mm
The file was modifiedclang/test/CodeGen/exceptions.c
Commit ad1161f9b5ff251b80788033e4db82b5a11b187b by flo
[VPlan] Use VPdef for VPWidenCall.

This patch turns updates VPWidenREcipe to manage the value it defines
using VPDef.

Reviewed By: gilr

Differential Revision: https://reviews.llvm.org/D90559
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h
Commit 318f5798d8cb375e5af07812cede2f041ef839fe by flo
[VPlan] Use VPDef for VPWidenGEPRecipe.

This patch turns updates VPWidenGEPRecipe to manage the value it defines
using VPDef. The VPValue is used  during VPlan construction and
codegeneration instead of the plain IR reference where possible.

Reviewed By: gilr

Differential Revision: https://reviews.llvm.org/D90561
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h