SuccessChanges

Summary

  1. [libcxx] Adds [concept.same] (details)
  2. Fix -Wdeprecated-copy warning in XcodeSDK. (details)
  3. Clean up usages of asserting vector getters in Type (details)
  4. [libc++] Fix failing concepts tests (details)
  5. [mlir] Remove need for static global ctors from mlir-translate (details)
  6. [lldb/Python] Add lldbconfig module to make the lldb module configurable (details)
  7. Clean up usages of asserting vector getters in Type (details)
  8. Clean up usages of asserting vector getters in Type (details)
  9. [mlir] Mark ClassID::getID as LLVM_EXTERNAL_VISIBILITY to ensure only one version exists (details)
  10. [Attributor][NFC] Split AbstractAttributes out of Attributor.cpp (details)
  11. [InstCombine] Avoid a call to deprecated version of CreateCall. (details)
  12. [LoopVectorize] Move testing for SVML vectorization of exp2f_finite/exp2_finite from svml-calls.ll to svml-calls-finite.ll where the finite versions of log, pow, and exp already were. (details)
  13. [WebAssembly][MC] Use StringRef over std::string pointer (details)
  14. [mlir][NFC] Wrap the cl::opts in JitRunner within a struct to avoid global initializers. (details)
  15. MIR: Use Register (details)
  16. [lldb/Docs] Elaborate on reproducer testing (details)
  17. [MLIR] ShapedType accessor minor fixes + add isDynamicDim accessor (details)
  18. [ORC] Make mangling convenience methods part of the public API of LLJIT. (details)
  19. [CallGraphUpdater] Remove dead constants before replacing a function (details)
  20. [Attributor] Unify testing (=updates,prefixes,run configurations,...) (details)
  21. [X86] Add TSXLDTRK instructions. (details)
  22. [gn build] Port a3dc9490004 (details)
  23. [Attributor] Disable three tests until the SCC update bug was fixed (details)
  24. [NFC][SanitizerCoverage] Simplify alignment calculation (details)
  25. [SanitizerCoverage] sancov/inline-bool-flag instrumentation. (details)
  26. [FPEnv] Use single enum to represent rounding mode (details)
  27. [lldb] Fixing the bug that the "log timer" has no tab completion (details)
  28. [RDA] Avoid negative shift UB (details)
  29. [ValueTracking] Simplify KnownBits construction (details)
  30. [clang-tidy] [doc] Fix hicpp-noexcept-move alias links. (details)
Commit 601f7631827ae6ac08117a282c83a62b67dedf48 by eric
[libcxx] Adds [concept.same]

Patch from Christopher Di Bella (cjdb@google.com)
Reviewed as https://reviews.llvm.org/D74291

Adds `std::same_as` to libc++. Since there aren't clang-format rules for
//requires-expressions//, I'll need to disable the formatter in certain areas.
The file was modifiedlibcxx/include/module.modulemap
The file was modifiedlibcxx/CREDITS.TXT
The file was modifiedlibcxx/include/CMakeLists.txt
The file was modifiedlibcxx/test/libcxx/double_include.sh.cpp
The file was addedlibcxx/include/concepts
The file was addedlibcxx/test/std/concepts/lang/same_as.pass.cpp
Commit ff1658b167c835ca55f554a3ad5aac444a6f9c9c by echristo
Fix -Wdeprecated-copy warning in XcodeSDK.
The file was modifiedlldb/include/lldb/Utility/XcodeSDK.h
Commit 155740cc33a4b637d110216e229401d81987ed3d by ctetreau
Clean up usages of asserting vector getters in Type

Summary:
Remove usages of asserting vector getters in Type in preparation for the
VectorType refactor. The existence of these functions complicates the
refactor while adding little value.

Reviewers: sdesmalen, rriddle, efriedma

Reviewed By: sdesmalen

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77263
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
Commit bf90b8fc25ca0fc112c4beacbc9090980c9c7295 by eric
[libc++] Fix failing concepts tests
The file was modifiedlibcxx/test/std/concepts/lang/same_as.pass.cpp
The file was modifiedlibcxx/utils/libcxx/test/config.py
Commit 223154d267e2e935d1bbcba77fe222c8ef96e789 by Jonathan Roelofs
[mlir] Remove need for static global ctors from mlir-translate

Summary: https://bugs.llvm.org/show_bug.cgi?id=45436

Reviewers: mehdi_amini, mravishankar, antiagainst, rriddle, stephenneuendorffer

Reviewed By: mehdi_amini, rriddle, stephenneuendorffer

Subscribers: frgossen, stephenneuendorffer, jholewinski, mgorny, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, Joonsoo, bader, grosul1, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77515
The file was modifiedmlir/lib/Target/LLVMIR/LLVMAVX512Intr.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/TranslateRegistration.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp
The file was modifiedmlir/tools/mlir-translate/CMakeLists.txt
The file was modifiedmlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
The file was modifiedmlir/test/SDBM/CMakeLists.txt
The file was modifiedmlir/include/mlir/Translation.h
The file was modifiedmlir/tools/mlir-shlib/CMakeLists.txt
The file was modifiedmlir/unittests/SDBM/CMakeLists.txt
The file was modifiedmlir/lib/Target/LLVMIR/ConvertToNVVMIR.cpp
The file was modifiedmlir/tools/mlir-translate/mlir-translate.cpp
The file was modifiedmlir/cmake/modules/AddMLIR.cmake
The file was modifiedmlir/test/EDSC/CMakeLists.txt
The file was addedmlir/include/mlir/InitAllTranslations.h
The file was modifiedmlir/unittests/Dialect/SPIRV/CMakeLists.txt
Commit b0bdaf9ba2bfa9e099c7cb650650133f6ea2024f by Jonas Devlieghere
[lldb/Python] Add lldbconfig module to make the lldb module configurable

Using the approach suggested by Pavel in D77588, this patch introduces a
new lldbconfig module that lives next to the lldb module. It makes it
possible to make the lldb module configurable before importing it. More
specifically it makes it possible to delay initializing the debugger,
which is needed for testing the reproducer.

Differential revision: https://reviews.llvm.org/D77661
The file was addedlldb/packages/Python/lldbconfig/__init__.py
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest.py
The file was modifiedlldb/bindings/python.swig
Commit 49fd24fe9e45cade2763acbce59e683aebc3d13a by ctetreau
Clean up usages of asserting vector getters in Type

Summary:
Remove usages of asserting vector getters in Type in preparation for the
VectorType refactor. The existence of these functions complicates the
refactor while adding little value.

Reviewers: hfinkel, efriedma, sdesmalen

Reviewed By: efriedma

Subscribers: wuzish, nemanjai, hiraditya, kbarton, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77266
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
Commit fe69eb119657e9c1b56f4e7818be7c46752ac116 by ctetreau
Clean up usages of asserting vector getters in Type

Summary:
Remove usages of asserting vector getters in Type in preparation for the
VectorType refactor. The existence of these functions complicates the
refactor while adding little value.

Reviewers: espindola, efriedma, sdesmalen

Reviewed By: efriedma

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77275
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
Commit 21605a1207743c9256c147086afa05c5c3636b26 by riddleriver
[mlir] Mark ClassID::getID as LLVM_EXTERNAL_VISIBILITY to ensure only one version exists

Summary: ClassID is used as a type id and must be unique in the face of shared libraries to ensure correctness. This fixes failures related to BUILD_SHARED_LIBs on macos.

Differential Revision: https://reviews.llvm.org/D77764
The file was modifiedmlir/include/mlir/Support/STLExtras.h
Commit 0985554b709fe6856a2cb77f3739cdeb1bbf9ba5 by johannes
[Attributor][NFC] Split AbstractAttributes out of Attributor.cpp

Attributor.cpp became quite big and we need to start provide structure.
The Attributor code is now in Attributor.cpp and the classes derived
from AbstractAttribute are in AttributorAttributes.cpp. Minor changes
were required but no intended functional changes.

We also minimized includes as part of this.

Reviewed By: baziotis

Differential Revision: https://reviews.llvm.org/D76873
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was addedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/lib/Transforms/IPO/CMakeLists.txt
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn
Commit f3d3cec648202cde1f34b766b4d8fe147f68f1fe by craig.topper
[InstCombine] Avoid a call to deprecated version of CreateCall.

Passing a Value * to CreateCall has to call getPointerElementType
to find the type of the pointer.

In this case we can rely on the fact that Intrinsic::getDeclaration
returns a Function * and use that version of CreateCall.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
Commit ca376782ff8649d1a5405123f06a742e0e94b701 by craig.topper
[LoopVectorize] Move testing for SVML vectorization of exp2f_finite/exp2_finite from svml-calls.ll to svml-calls-finite.ll where the finite versions of log, pow, and exp already were.
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/svml-calls.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/svml-calls-finite.ll
Commit 7baad0c53c56bb18a54c16e20b046246e43ce917 by sbc
[WebAssembly][MC] Use StringRef over std::string pointer

This is followup based on feedback on 5be42f36f56.
See: https://reviews.llvm.org/D77627.

Differential Revision: https://reviews.llvm.org/D77674
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.h
The file was modifiedllvm/include/llvm/MC/MCSymbolWasm.h
The file was modifiedllvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
Commit 293c5210ecb53d706b3d144f9a295a002774ea67 by riddleriver
[mlir][NFC] Wrap the cl::opts in JitRunner within a struct to avoid global initializers.

Summary: This avoids the need for having global static initializers within the JITRunner support library, and only constructs the options when the runner is invoked.

Differential Revision: https://reviews.llvm.org/D77760
The file was modifiedmlir/lib/Support/JitRunner.cpp
Commit 0aa0d700678228261e08947914cc1dedd5db8ef5 by arsenm2
MIR: Use Register
The file was modifiedllvm/include/llvm/CodeGen/MIRParser/MIParser.h
The file was modifiedllvm/lib/CodeGen/MIRParser/MIParser.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/lib/CodeGen/MIRParser/MIRParser.cpp
Commit e7db1aec3bdb833832056894f5eba2f359a7c384 by Jonas Devlieghere
[lldb/Docs] Elaborate on reproducer testing
The file was modifiedlldb/docs/resources/reproducers.rst
Commit d314b7d5ca94e60f75fe23b4b052f131880e8a2f by uday
[MLIR] ShapedType accessor minor fixes + add isDynamicDim accessor

Minor fixes and cleanup for ShapedType accessors, use
ShapedType::kDynamicSize, add ShapedType::isDynamicDim.

Differential Revision: https://reviews.llvm.org/D77710
The file was modifiedmlir/include/mlir/IR/StandardTypes.h
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/lib/Analysis/Utils.cpp
The file was modifiedmlir/lib/IR/StandardTypes.cpp
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/lib/Dialect/Affine/IR/AffineOps.cpp
Commit 5877d6f5f46cb2a61b6887504508fdb4c60fb157 by Lang Hames
[ORC] Make mangling convenience methods part of the public API of LLJIT.

This saves clients from having to manually construct a MangleAndInterner.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLJIT.cpp
Commit cb0ecc5c33bd56a3eed0fa30ac787accec45d637 by johannes
[CallGraphUpdater] Remove dead constants before replacing a function

Dead constants might be left when a function is replaced, we can
gracefully handle this case and avoid complexity for the users who would
see an assertion otherwise.
The file was modifiedllvm/unittests/Analysis/CGSCCPassManagerTest.cpp
The file was modifiedllvm/lib/Transforms/Utils/CallGraphUpdater.cpp
Commit 2bcf5793e14577ed3c9f15a77a35179ae544fff4 by johannes
[Attributor] Unify testing (=updates,prefixes,run configurations,...)

When the Attributor was created the test update scripts were not well
suited to deal with the challenges of IR attribute checking. This
partially improved.

Since then we also added three additional configurations that need
testing; in total we now have the following four:
{ TUNIT, CGSCC } x { old pass manager (OPM), new pass manager (NPM) }

Finally, the number of developers and tests grew rapidly (partially due
to the addition of ArgumentPromotion and IPConstantProp tests), which
resulted in tests only being run in some configurations, different
prefixes being used, and different "styles" of checks being used.

Due to the above reasons I believed we needed to take another look at
the test update scripts. While we started to use them, via UTC_ARGS:
--enable/disable, the other problems remained. To improve the testing
situation for *all* configurations, to simplify future updates to the
test, and to help identify subtle effects of future changes, we now use
the test update scripts for (almost) all Attributor tests.

An exhaustive prefix list minimizes the number of check lines and makes
it easy to identify and compare configurations.

Tests have been adjusted in the process but we tried to keep their
intend unchanged.

Reviewed By: sstefan1

Differential Revision: https://reviews.llvm.org/D76588
The file was modifiedllvm/test/Transforms/Attributor/norecurse.ll
The file was modifiedllvm/test/Transforms/Attributor/memory_locations.ll
The file was modifiedllvm/test/Transforms/Attributor/dereferenceable-2.ll
The file was removedllvm/test/Transforms/Attributor/ArgumentPromotion/pr3085.ll
The file was modifiedllvm/test/Transforms/Attributor/noalias.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/variadic.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/control-flow2.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/return-constants.ll
The file was modifiedllvm/test/Transforms/Attributor/nocapture-1.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/reserve-tbaa.ll
The file was modifiedllvm/test/Transforms/Attributor/readattrs.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/basictest.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/aggregate-promote.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/dbg.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/byval.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/fp-bc-icmp-const-fold.ll
The file was modifiedllvm/test/Transforms/Attributor/misc.ll
The file was modifiedllvm/test/Transforms/Attributor/liveness_chains.ll
The file was modifiedllvm/test/Transforms/Attributor/read_write_returned_arguments_scc.ll
The file was modifiedllvm/test/Transforms/Attributor/dereferenceable-1.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/PR43857.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/X86/thiscall.ll
The file was modifiedllvm/test/Transforms/Attributor/internal-noalias.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/2009-09-24-byval-ptr.ll
The file was modifiedllvm/test/Transforms/Attributor/nonnull.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/musttail.ll
The file was modifiedllvm/test/Transforms/Attributor/nosync.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/byval-2.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/return-constant.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/X86/attributes.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/comdat-ipo.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/2008-09-08-CGUpdateSelfEdge.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/recursion.ll
The file was modifiedllvm/test/Transforms/Attributor/returned.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/nonzero-address-spaces.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/PR26044.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/openmp_parallel_for.ll
The file was modifiedllvm/test/Transforms/Attributor/nofree.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/global.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/solve-after-each-resolving-undefs-for-function.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/control-flow.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/musttail-call.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/attrs.ll
The file was modifiedllvm/test/Transforms/Attributor/liveness.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/pr33641_remove_arg_dbgvalue.ll
The file was modifiedllvm/test/Transforms/Attributor/nocapture-2.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/profile.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/chained.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/crash.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/2008-06-09-WeakProp.ll
The file was modifiedllvm/test/Transforms/Attributor/heap_to_stack.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/2008-07-02-array-indexing.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/thread_local_acs.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/deadarg.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/return-argument.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/arg-count-mismatch.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/remove-call-inst.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/fp80.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/inalloca.ll
The file was modifiedllvm/test/Transforms/Attributor/lvi-after-jumpthreading.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/pthreads.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/naked-return.ll
The file was modifiedllvm/test/Transforms/Attributor/willreturn.ll
The file was modifiedllvm/test/Transforms/Attributor/callbacks.ll
The file was modifiedllvm/test/Transforms/Attributor/lvi-for-ashr.ll
The file was modifiedllvm/test/Transforms/Attributor/alwaysinline.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/alignment.ll
The file was modifiedllvm/test/Transforms/Attributor/noreturn.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/PR16052.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/dangling-block-address.ll
The file was modifiedllvm/test/Transforms/Attributor/range.ll
The file was modifiedllvm/test/Transforms/Attributor/align.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/arg-type-mismatch.ll
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll
The file was modifiedllvm/test/Transforms/Attributor/undefined_behavior.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/pr32917.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/2008-02-01-ReturnAttrs.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead_2.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/naked_functions.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/pr27568.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/tail.ll
The file was modifiedllvm/test/Transforms/Attributor/nounwind.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/X86/min-legal-vector-width.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/sret.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/multiple_callbacks.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/2008-09-07-CGUpdate.ll
Commit a3dc9490004ce1601fb1bc67cf218b86a6fdf652 by xiang1.zhang
[X86] Add TSXLDTRK instructions.

Summary: For more details about these instructions, please refer to the latest ISE document: https://software.intel.com/en-us/download/intel-architecture-instruction-set-extensions-programming-reference

Reviewers: craig.topper, RKSimon, LuoYuanke

Reviewed By: craig.topper

Subscribers: mgorny, hiraditya, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D77205
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedllvm/lib/Support/Host.cpp
The file was modifiedclang/lib/Headers/CMakeLists.txt
The file was modifiedllvm/lib/Target/X86/X86.td
The file was modifiedclang/lib/Basic/Targets/X86.h
The file was modifiedllvm/test/MC/Disassembler/X86/x86-64.txt
The file was modifiedllvm/test/MC/X86/x86-64.s
The file was modifiedclang/test/Driver/x86-target-features.c
The file was modifiedllvm/test/MC/X86/x86-32-coverage.s
The file was modifiedllvm/test/MC/Disassembler/X86/x86-32.txt
The file was modifiedclang/lib/Headers/cpuid.h
The file was addedllvm/test/CodeGen/X86/tsxldtrk-intrinsic.ll
The file was modifiedllvm/test/MC/Disassembler/X86/x86-16.txt
The file was modifiedclang/lib/Basic/Targets/X86.cpp
The file was modifiedclang/include/clang/Basic/BuiltinsX86.def
The file was modifiedllvm/test/MC/X86/x86-16.s
The file was modifiedllvm/include/llvm/IR/IntrinsicsX86.td
The file was modifiedclang/lib/Headers/immintrin.h
The file was modifiedclang/docs/ClangCommandLineReference.rst
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was modifiedclang/test/Preprocessor/x86_target_features.c
The file was addedclang/lib/Headers/tsxldtrkintrin.h
The file was modifiedllvm/lib/Target/X86/X86Subtarget.h
The file was addedclang/test/CodeGen/x86-tsxldtrk-builtins.c
Commit 84e6d3ca08f61b8cb18cd388f7a5a8edb06ad428 by llvmgnsyncbot
[gn build] Port a3dc9490004
The file was modifiedllvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
Commit 2ae1a76c27295370d552f57352508b7af4dba791 by johannes
[Attributor] Disable three tests until the SCC update bug was fixed

D76588 exposed an SCC update bug in three tests which manifests
sometimes, e.g., on this bot that runs expensive checks:
  http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/23032/steps/test-check-all/logs/FAIL%3A%20LLVM%3A%3Afp80.ll

We disable the tests temporarily to investigate.
The file was modifiedllvm/test/Transforms/Attributor/noalias.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/fp80.ll
The file was modifiedllvm/test/Transforms/Attributor/liveness.ll
Commit 8b1a6c0a57640bc19028eecb34e8a2e9dcaa2caf by Vitaly Buka
[NFC][SanitizerCoverage] Simplify alignment calculation

This reverts commit e42f2a0cd8b8007c816d0e63f5000c444e29105e.
The file was modifiedllvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
Commit e8d1c6529b951131fe9c2636d672ed8073919820 by Vitaly Buka
[SanitizerCoverage] sancov/inline-bool-flag instrumentation.

Summary:
New SanitizerCoverage feature `inline-bool-flag` which inserts an
atomic store of `1` to a boolean (which is an 8bit integer in
practice) flag on every instrumented edge.

Implementation-wise it's very similar to `inline-8bit-counters`
features. So, much of wiring and test just follows the same pattern.

Reviewers: kcc, vitalybuka

Reviewed By: vitalybuka

Subscribers: llvm-commits, hiraditya, jfb, cfe-commits, #sanitizers

Tags: #clang, #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D77244
The file was addedllvm/test/Instrumentation/SanitizerCoverage/coff-pc-table-inline-bool-flag.ll
The file was addedllvm/test/Instrumentation/SanitizerCoverage/inline-bool-flag.ll
The file was modifiedllvm/include/llvm/Transforms/Instrumentation.h
The file was addedllvm/test/Instrumentation/SanitizerCoverage/trace-pc-guard-inline-bool-flag.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/pc-table.ll
Commit c7ff5b38f27f812dcd6e2e8732208a39232dc284 by sepavloff
[FPEnv] Use single enum to represent rounding mode

Now compiler defines 5 sets of constants to represent rounding mode.
These are:

1. `llvm::APFloatBase::roundingMode`. It specifies all 5 rounding modes
defined by IEEE-754 and is used in `APFloat` implementation.

2. `clang::LangOptions::FPRoundingModeKind`. It specifies 4 of 5 IEEE-754
rounding modes and a special value for dynamic rounding mode. It is used
in clang frontend.

3. `llvm::fp::RoundingMode`. Defines the same values as
`clang::LangOptions::FPRoundingModeKind` but in different order. It is
used to specify rounding mode in in IR and functions that operate IR.

4. Rounding mode representation used by `FLT_ROUNDS` (C11, 5.2.4.2.2p7).
Besides constants for rounding mode it also uses a special value to
indicate error. It is convenient to use in intrinsic functions, as it
represents platform-independent representation for rounding mode. In this
role it is used in some pending patches.

5. Values like `FE_DOWNWARD` and other, which specify rounding mode in
library calls `fesetround` and `fegetround`. Often they represent bits
of some control register, so they are target-dependent. The same names
(not values) and a special name `FE_DYNAMIC` are used in
`#pragma STDC FENV_ROUND`.

The first 4 sets of constants are target independent and could have the
same numerical representation. It would simplify conversion between the
representations. Also now `clang::LangOptions::FPRoundingModeKind` and
`llvm::fp::RoundingMode` do not contain the value for IEEE-754 rounding
direction `roundTiesToAway`, although it is supported natively on
some targets.

This change defines all the rounding mode type via one `llvm::RoundingMode`,
which also contains rounding mode for IEEE rounding direction `roundTiesToAway`.

Differential Revision: https://reviews.llvm.org/D77379
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedllvm/lib/IR/FPEnv.cpp
The file was modifiedllvm/include/llvm/IR/IntrinsicInst.h
The file was modifiedllvm/lib/IR/IntrinsicInst.cpp
The file was modifiedllvm/lib/Support/APFloat.cpp
The file was modifiedllvm/include/llvm/ADT/APFloat.h
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedllvm/include/llvm/ADT/FloatingPointMode.h
The file was modifiedllvm/unittests/IR/IRBuilderTest.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedllvm/lib/IR/IRBuilder.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedllvm/include/llvm/IR/FPEnv.h
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedclang/lib/Sema/SemaAttr.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedllvm/docs/LangRef.rst
Commit 1d3b7370c466eba4bf22dce4a51f885f76698053 by Raphael Isemann
[lldb] Fixing the bug that the "log timer" has no tab completion

I fixed the bug that the "log timer" has no tab command.

Original code has the only CommandObjectLogTimer class, but it is not
sufficient. Thus I divided the content of CommandObjectLog class into
CommandObjectLogEnable class, CommandObjectLogDisable class,
CommandObjectLogDump class, CommandObjectLogReset class,
CommandObjectLogIncrement class.

Reviewed by: teemperor

Differential Revision: https://reviews.llvm.org/D76906
The file was modifiedlldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py
The file was modifiedlldb/source/Commands/CommandObjectLog.cpp
Commit 8f66f25f52f9b4089d216a33283acdb87ea3c250 by nikita.ppv
[RDA] Avoid negative shift UB

Avoid "left shift of negative value -1" ubsan errors by casting
to uintptr_t before performing the shift, rather than after.
The file was modifiedllvm/include/llvm/CodeGen/ReachingDefAnalysis.h
Commit 94cc9eccf65f2282ae780c3e98d19c5b3b6b9069 by jay.foad
[ValueTracking] Simplify KnownBits construction

Use the simpler BitWidth constructor instead of the copy constructor to
make it clear when we don't actually need to copy an existing KnownBits
value. Split out from D74539. NFC.
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
Commit 340d1119eddaa30446853832c3ad1e95c6ff96dc by marek
[clang-tidy] [doc] Fix hicpp-noexcept-move alias links.
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/hicpp-noexcept-move.rst