Changes

Summary

  1. [libc++] Remove redundant request for enabling warnings (details)
Commit 8d129c03cb8cb7cf04c76b4cb9aaa4855fed5b01 by Louis Dionne
[libc++] Remove redundant request for enabling warnings

The libc++ test suite enables warnings with Clang and AppleClang by
default, so there's no need to request it explicitly when running Lit
in the build bots that are using Clang or AppleClang. Doing so only
creates confusion as to whether warnings are enabled by default.
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)

Summary

  1. [MLIR][SPIRV] Support flat, location, and noperspective decorations (details)
  2. [clang][BFloat] add NEON emitter for bfloat (details)
  3. [libc++] Link against libatomic when it is found (details)
  4. Fix a typo in AMDGPU docs (details)
  5. [Alignment][NFC] Migrate CallingConv tablegen code (details)
  6. [clang][BFloat] Add create/set/get/dup intrinsics (details)
  7. ScopedNoAliasAA.h - remove unnecessary InstrTypes.h include. NFC. (details)
  8. TargetLibraryInfo.h - reduce Triple.h include to forward declaration. NFC. (details)
  9. SyncDependenceAnalysis.h - remove orphan method declarations. NFCI. (details)
  10. [VE] Support branch instructions in MC layer (details)
  11. Fix return status of AddressSanitizer pass (details)
  12. Correctly report modified status for LoopSimplify (details)
  13. Return "[InstCombine] Simplify compare of Phi with constant inputs against a constant" (details)
  14. [libc++] Translate locale detection to the DSL (details)
  15. [llvm][AArch64] Fix unused variable (details)
  16. Correctly report modified status for ObjCARCOpt (details)
  17. Correctly report modified status for ObjCARCContract (details)
  18. Correctly report modified status for TailRecursionElimination (details)
  19. Correctly report modified status for DSE (details)
  20. Correctly report modified status for DivRemPairs (details)
  21. [SCCP] Report changes after removing stores to constant global (details)
  22. [CodeGen][SVE] Calculate correct type legalization for scalable vectors. (details)
  23. [mlir][gpu] Introduce mlir-rocm-runner. (details)
  24. [VE] Support logical operation instructions in MC layer (details)
  25. [AST] Record SourceLocation for TypoExpr. (details)
  26. Revert "[CodeGen][SVE] Calculate correct type legalization for scalable vectors." (details)
  27. [lit] Improve naming of test result categories (details)
  28. [mlir][SCF] Add single iteration scf.for promotion to the FuncOp level helper. (details)
  29. [dsymutil] Don't emit N_AST symbol entries in the Mach-O companion file (details)
  30. Fix crash on misc-redundant-expression (details)
  31. [ELF] Handle -u before input files (details)
  32. [flang] Fix crash on erroneous expressions (details)
  33. Fix the roundtrip test under llvm-profdata (details)
  34. [X86][SSE] Simplify MOVMSK patterns based on comparison (details)
  35. Mark lambda in use-after-scope-capture.cpp as noinline (details)
  36. Add ASan metadata globals to @llvm.compiler.used under COFF (details)
  37. [gn build] (manually) port a6fcf5ca033 (details)
  38. [PhaseOrdering] add tests for reductions; NFC (PR43953) (details)
  39. [x86] form reduction intrinsics from vectorizers instead of raw IR (details)
  40. TypeMetadataUtils.h - reduce Instructions.h include to forward declaration. NFC. (details)
  41. ScalarEvolutionNormalization.h - reduce ScalarEvolutionExpressions.h include to forward declaration. NFC. (details)
  42. [HIP] Add default header and include path (details)
  43. [CMake] Do not append -lm to CMAKE_REQUIRED_LIBRARIES on Apple (details)
  44. [mlir] Add verify method to adaptor (details)
  45. [mlir][Linalg] NFC - Cleanup debug, address post-commit review. (details)
  46. [libc++abi] Properly fix XFAILs for exception alignment (details)
  47. Reland D80640: [CodeGen][SVE] Calculate correct type legalization for scalable vectors. (details)
  48. Fix lit tests hip-include-path.hip and hip-host-cpu-macros.cu (details)
  49. [gn build] Port 11d06b9511b (details)
  50. [mlir][Vector] Add folding of memref_cast into vector_transfer ops (details)
  51. [llvm-ar] Add more tests for errors in opening archives (details)
  52. [llvm-ar] Update error messages and tests as per latest preferred style (details)
  53. [ARM] VQMOVN demand bits analysis (details)
  54. [libc++] Avoid passing -xc++ in Lit feature detection (details)
  55. [llvm-objcopy] Reorder --dump-section before --remove-section for ELF (details)
  56. [mlir][test][CPU] Reduce the size of mlir-cpu-runner-tests (details)
  57. [llvm-objcopy] Reorder --dump-section for MachO (details)
  58. [apple clang] disable in-process CC1 to preserve crashlog compatibility (details)
  59. GlobalISel: Infer nofpexcept flag during selection for non-strict ops (details)
  60. AMDGPU/GlobalISel: Fix some broken YAML in MIR test (details)
  61. [LiveDebugValues] Remove PendingInLocs (NFC) (details)
  62. [LiveDebugValues] Fix output stream (NFC) (details)
  63. [KernelAddressSanitizer] Make globals constructors compatible with kernel (details)
  64. [hwasan] Disable malloc-fill by default. (details)
  65. [WebAssembly] Improve clang diagnostics for wasm attributes (details)
  66. [X86] Teach combineVectorShiftImm to constant fold undef elements to 0 not undef. (details)
  67. AMDGPU: Fix missing immarg on buffer.atomic.fadd intrinsic (details)
  68. AMDGPU: Fix incorrect selection of buffer atomic fadd (details)
  69. Attempt to fix hip-include-path.hip (details)
  70. [gn build] (manually) merge 5eedf07ab999d (details)
  71. Fix -Wunused-variable after D80515 (details)
  72. Correctly report modified status for AMDGPUUnifyDivergentExitNodes (details)
  73. Revert "[WebAssembly] Improve clang diagnostics for wasm attributes" (details)
  74. GlobalISel: Add G_EXTRACT/G_INSERT offset to legalize info (details)
  75. GlobalISel: Make known bits/alignment API more consistent (details)
  76. Move GetXcode*Directory into HostInfo (NFC) (details)
  77. Teach GetXcodeSDK to look in the Xcode that contains LLDB (details)
  78. GlobalISel: Add helper for constructing load from offset (details)
  79. [llvm-pdbutil] Add missing --id-stats to dump the IPI stream (details)
  80. lld: use modern library search ordering (details)
  81. Attempt to fix hip-include-path.hip (details)
  82. Revert "[HIP] Add default header and include path" (details)
  83. SROA: Remove pointer from visited along with instruction (details)
  84. [gn build] Port 8a8c6913a93 (details)
  85. [codeview] Put !heapallocsite on calls to operator new (details)
  86. AMDGPU/GlobalISel: cmp/select method for extract element (details)
Commit cc2349e3cf0e1f492433941b359a03fc3f746410 by antiagainst
[MLIR][SPIRV] Support flat, location, and noperspective decorations

Add support for flat, location, and noperspective decorations in the
serializer and deserializer to be able to process basic shader files
for graphics applications.

Differential Revision: https://reviews.llvm.org/D80837
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/Deserializer.cpp
The file was addedmlir/test/Dialect/SPIRV/Serialization/decorations.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp
Commit a6fcf5ca033a83b815f760664e0cff91c2c13dcd by ties.stuij
[clang][BFloat] add NEON emitter for bfloat

Summary:
This patch adds the bfloat16_t struct typedefs (e.g. bfloat16x8x2_t) to
arm_neon.h

This patch is part of a series implementing the Bfloat16 extension of the
Armv8.6-a architecture, as detailed here:

https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/arm-architecture-developments-armv8-6-a

The bfloat type, and its properties are specified in the Arm Architecture
Reference Manual:

https://developer.arm.com/docs/ddi0487/latest/arm-architecture-reference-manual-armv8-for-armv8-a-architecture-profile

The following people contributed to this patch:
- Luke Cheeseman
- Simon Tatham
- Ties Stuij

Reviewers: t.p.northover, fpetrogalli, sdesmalen, az, LukeGeeson

Reviewed By: fpetrogalli

Subscribers: SjoerdMeijer, LukeGeeson, pbarrio, mgorny, kristof.beyls, ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D79708
The file was modifiedclang/test/CodeGen/arm-bf16-params-returns.c
The file was addedclang/include/clang/Basic/arm_bf16.td
The file was modifiedclang/utils/TableGen/TableGen.cpp
The file was modifiedclang/lib/Headers/CMakeLists.txt
The file was modifiedclang/utils/TableGen/TableGenBackends.h
The file was modifiedclang/lib/Basic/Targets/AArch64.cpp
The file was modifiedclang/include/clang/Basic/arm_neon_incl.td
The file was modifiedclang/test/Preprocessor/arm-target-features.c
The file was modifiedclang/utils/TableGen/NeonEmitter.cpp
The file was modifiedclang/test/Preprocessor/aarch64-target-features.c
The file was modifiedclang/lib/Basic/Targets/ARM.cpp
Commit e0184357fc781e939f4e4368fc8aff692ce227ed by Louis Dionne
[libc++] Link against libatomic when it is found

Before this patch, we tried detecting whether small atomics were available
without linking against libatomic. However, that's not really what we want
to know -- instead, we want to know what's required in order to support
atomics fully, which is to link against libatomic when it's provided.

That is both much simpler, and it doesn't suffer the problem that we would
not link against libatomic when small atomics didn't require it, which
lead to non-lockfree atomics never working.

Furthermore, because we understand that some platforms might not want to
(or be able to) ship non-lockfree atomics, we add that notion to the test
suite, independently of a potential extern library.

After this patch, we therefore:
(1) Link against libatomic when it is provided
(2) Independently detect whether non-lockfree atomics are supported in
    the test suite, regardless of whether that means we're linking against
    an external library or not (which is an implementation detail).

Differential Revision: https://reviews.llvm.org/D81190
The file was modifiedlibcxx/CMakeLists.txt
The file was modifiedlibcxx/cmake/config-ix.cmake
The file was addedlibcxx/test/libcxx/atomics/atomics.align/align.pass.pass.cpp
The file was modifiedlibcxx/utils/libcxx/test/config.py
The file was removedlibcxx/test/libcxx/atomics/atomics.align/align.pass.sh.cpp
The file was modifiedlibcxx/utils/libcxx/test/dsl.py
The file was modifiedlibcxx/utils/libcxx/test/target_info.py
The file was removedlibcxx/cmake/Modules/CheckLibcxxAtomic.cmake
The file was modifiedlibcxx/utils/libcxx/test/features.py
The file was modifiedlibcxx/test/libcxx/selftest/dsl/dsl.sh.py
The file was modifiedlibcxx/test/lit.site.cfg.in
Commit bca413b036bfce553a2d245e6783fc59a9994105 by Madhur.Amilkanthwar
Fix a typo in AMDGPU docs

Reviewers: t-tye, arsenm

Reviewed By: arsenm

Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81247
The file was modifiedllvm/docs/AMDGPUUsage.rst
Commit 80845db6a55c0c61e703ef7171511d03208f3d57 by gchatelet
[Alignment][NFC] Migrate CallingConv tablegen code

Summary:
We first migrate the generated code, more patches to come.

This patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81196
The file was modifiedllvm/include/llvm/CodeGen/CallingConvLower.h
The file was modifiedllvm/utils/TableGen/CallingConvEmitter.cpp
Commit 8b137a430636c6626fcc6ef93b05eb69d6183e57 by ties.stuij
[clang][BFloat] Add create/set/get/dup intrinsics

Summary:
This patch is part of a series that adds support for the Bfloat16 extension of
the Armv8.6-a architecture, as detailed here:

https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/arm-architecture-developments-armv8-6-a

The bfloat type and its properties are specified in the Arm Architecture
Reference Manual:

https://developer.arm.com/docs/ddi0487/latest/arm-architecture-reference-manual-armv8-for-armv8-a-architecture-profile

The following people contributed to this patch:
- Luke Cheeseman
- Momchil Velikov
- Luke Geeson
- Ties Stuij
- Mikhail Maltsev

Reviewers: t.p.northover, sdesmalen, fpetrogalli, LukeGeeson, stuij, labrinea

Reviewed By: labrinea

Subscribers: miyuki, dmgreen, labrinea, kristof.beyls, ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D79710
The file was modifiedclang/include/clang/Basic/arm_neon.td
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was addedclang/test/CodeGen/arm-bf16-getset-intrinsics.c
The file was addedclang/test/CodeGen/aarch64-bf16-getset-intrinsics.c
Commit 607e2a1fa90181e89e5667f07dcc190d1b816f79 by llvm-dev
ScopedNoAliasAA.h - remove unnecessary InstrTypes.h include. NFC.
The file was modifiedllvm/include/llvm/Analysis/ScopedNoAliasAA.h
Commit 06fd973c859cb845293e86bb44d18c438be8efe5 by llvm-dev
TargetLibraryInfo.h - reduce Triple.h include to forward declaration. NFC.

Move implicit include dependencies down to source files.
The file was modifiedllvm/unittests/Analysis/AliasSetTrackerTest.cpp
The file was modifiedllvm/unittests/Analysis/GlobalsModRefTest.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetLibraryInfo.h
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was modifiedllvm/unittests/Analysis/LazyCallGraphTest.cpp
Commit 39ff53984db796ad0ca19a88aea5eadde14fbe42 by llvm-dev
SyncDependenceAnalysis.h - remove orphan method declarations. NFCI.

These have been there since the header was added by D51491 but afaict without an implementation, all functionality is actually in DivergenceAnalysis
The file was modifiedllvm/include/llvm/Analysis/SyncDependenceAnalysis.h
Commit 117c0d7c1c12e5c82e0f5498fec511e8ae08d9ca by simon.moll
[VE] Support branch instructions in MC layer

Summary:
Add regression tests of asmparser, mccodeemitter, and disassembler for
branch instructions.  In order to support them, we enhance asmparser
by adding splitting mnemonic mechanism, e.g. "bgt.l.t" into "b", "gt",
and ".l.t", and parsing mechanism for AS style memory addressing.
We also implment encoding and decoding mechanism for branch instructions.

Differential Revision: https://reviews.llvm.org/D81215
The file was modifiedllvm/lib/Target/VE/AsmParser/VEAsmParser.cpp
The file was modifiedllvm/lib/Target/VE/VE.h
The file was modifiedllvm/lib/Target/VE/MCTargetDesc/VEMCCodeEmitter.cpp
The file was modifiedllvm/lib/Target/VE/VEInstrInfo.cpp
The file was modifiedllvm/lib/Target/VE/Disassembler/VEDisassembler.cpp
The file was addedllvm/test/MC/VE/BC.s
The file was modifiedllvm/lib/Target/VE/VEInstrInfo.td
The file was addedllvm/test/MC/VE/BCR.s
The file was addedllvm/test/MC/VE/BSIC.s
Commit 2fc085e0e5f6d78630e7d3648b389f1cd62b6e36 by sguelton
Fix return status of AddressSanitizer pass

Differential Revision: https://reviews.llvm.org/D81240
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
Commit 2e5940cf291517b3f7b31441f13812afa02a7f9b by sguelton
Correctly report modified status for LoopSimplify

Differential Revision: https://reviews.llvm.org/D81235
The file was modifiedllvm/lib/Transforms/Utils/LoopSimplify.cpp
Commit 23291b9863c8af7ad348c4a7d85d8d784df88eb1 by mkazantsev
Return "[InstCombine] Simplify compare of Phi with constant inputs against a constant"

This reverts commit c4b5a66e44f031eb89c9d6ea32b144f1169bdbae.

Returning along with Clang test fix
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modifiedllvm/test/Transforms/InstCombine/zext-or-icmp.ll
The file was modifiedclang/test/CodeGenObjC/exceptions.m
The file was modifiedllvm/test/Transforms/InstCombine/icmp-constant-phi.ll
The file was modifiedllvm/test/Transforms/InstCombine/indexed-gep-compares.ll
Commit 3864ee7722f7c3ae93801bc0ad4d4a3303ded0f5 by Louis Dionne
[libc++] Translate locale detection to the DSL
The file was modifiedlibcxx/utils/libcxx/test/config.py
The file was modifiedlibcxx/utils/libcxx/test/features.py
The file was modifiedlibcxx/utils/libcxx/test/target_info.py
Commit 6bad8b07e6c400cacc060d308fa5fad7c938d691 by kadircet
[llvm][AArch64] Fix unused variable
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit 80f1ec7008ff2d3e2b996755c3b928bc99d0f4ff by sguelton
Correctly report modified status for ObjCARCOpt

Differential Revision: https://reviews.llvm.org/D81234
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
Commit 1086d777bec39e77c0d91ae8124e8c414531c886 by sguelton
Correctly report modified status for ObjCARCContract

Differential Revision: https://reviews.llvm.org/D81226
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp
Commit f987cceb134200d575beda611fe190535155c7a2 by sguelton
Correctly report modified status for TailRecursionElimination

Differential Revision: https://reviews.llvm.org/D81232
The file was modifiedllvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
Commit 424510095d4d4fabcb1aa6526a0e78b98516e175 by sguelton
Correctly report modified status for DSE

Differential Revision: https://reviews.llvm.org/D81233
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
Commit 8405f6bcd48840de9ac8e519ddd3b4f0b616008d by sguelton
Correctly report modified status for DivRemPairs

Differential Revision: https://reviews.llvm.org/D81231
The file was modifiedllvm/lib/Transforms/Scalar/DivRemPairs.cpp
Commit 977d27d881fb06c03fd8ef1d62b543b696c508d4 by sguelton
[SCCP] Report changes after removing stores to constant global

Differential Revision: https://reviews.llvm.org/D81228
The file was modifiedllvm/lib/Transforms/Scalar/SCCP.cpp
Commit 164f4b9d26fdf3cd640a09b63b5ec44d033cbe8a by sander.desmalen
[CodeGen][SVE] Calculate correct type legalization for scalable vectors.

This patch updates TargetLoweringBase::computeRegisterProperties and
TargetLoweringBase::getTypeConversion to support scalable vectors,
and make the right calls on how to legalise them. These changes are required
to legalise both MVTs and EVTs.

Reviewers: efriedma, david-arm, ctetreau

Reviewed By: efriedma

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80640
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/include/llvm/Support/TypeSize.h
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/unittests/CodeGen/AArch64SelectionDAGTest.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
Commit 2fd6403a6d7a81c3c9d2676643bfeda042359d3c by whchung
[mlir][gpu] Introduce mlir-rocm-runner.

Summary:
`mlir-rocm-runner` is introduced in this commit to execute GPU modules on ROCm
platform. A small wrapper to encapsulate ROCm's HIP runtime API is also inside
the commit.

Due to behavior of ROCm, raw pointers inside memrefs passed to `gpu.launch`
must be modified on the host side to properly capture the pointer values
addressable on the GPU.

LLVM MC is used to assemble AMD GCN ISA coming out from
`ConvertGPUKernelToBlobPass` to binary form, and LLD is used to produce a shared
ELF object which could be loaded by ROCm HIP runtime.

gfx900 is the default target be used right now, although it could be altered via
an option in `mlir-rocm-runner`. Future revisions may consider using ROCm Agent
Enumerator to detect the right target on the system.

Notice AMDGPU Code Object V2 is used in this revision. Future enhancements may
upgrade to AMDGPU Code Object V3.

Bitcode libraries in ROCm-Device-Libs, which implements math routines exposed in
`rocdl` dialect are not yet linked, and is left as a TODO in the logic.

Reviewers: herhut

Subscribers: mgorny, tpr, dexonsmith, mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, csigg, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, stephenneuendorffer, Joonsoo, grosul1, frgossen, Kayjukh, jurahul, llvm-commits

Tags: #mlir, #llvm

Differential Revision: https://reviews.llvm.org/D80676
The file was modifiedmlir/CMakeLists.txt
The file was modifiedmlir/tools/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/GPUCommon/ConvertLaunchFuncToRuntimeCalls.cpp
The file was addedmlir/test/mlir-rocm-runner/two-modules.mlir
The file was modifiedmlir/test/CMakeLists.txt
The file was addedmlir/test/mlir-rocm-runner/lit.local.cfg
The file was addedmlir/test/mlir-rocm-runner/vecadd.mlir
The file was addedmlir/tools/mlir-rocm-runner/mlir-rocm-runner.cpp
The file was modifiedmlir/include/mlir/Conversion/GPUCommon/GPUCommonPass.h
The file was modifiedmlir/test/lit.cfg.py
The file was addedmlir/test/mlir-rocm-runner/gpu-to-hsaco.mlir
The file was addedmlir/tools/mlir-rocm-runner/rocm-runtime-wrappers.cpp
The file was modifiedmlir/test/lit.site.cfg.py.in
The file was addedmlir/tools/mlir-rocm-runner/CMakeLists.txt
Commit 8948eab28a47fd0978a300270b61aa21bd4c9fb0 by simon.moll
[VE] Support logical operation instructions in MC layer

Summary:
Add regression tests of asmparser, mccodeemitter, and disassembler for
logical operation instructions. Also change asmparser to support CMOV
instruction. And, add new EQV/MRG/NND isntructions also.

Differential Revision: https://reviews.llvm.org/D81219
The file was addedllvm/test/MC/VE/MRG.s
The file was addedllvm/test/MC/VE/AND.s
The file was modifiedllvm/lib/Target/VE/AsmParser/VEAsmParser.cpp
The file was addedllvm/test/MC/VE/XOR.s
The file was addedllvm/test/MC/VE/BSWP.s
The file was addedllvm/test/MC/VE/PCNT.s
The file was addedllvm/test/MC/VE/NND.s
The file was addedllvm/test/MC/VE/BRV.s
The file was addedllvm/test/MC/VE/LDZ.s
The file was addedllvm/test/MC/VE/CMOV.s
The file was modifiedllvm/lib/Target/VE/VEInstrInfo.td
The file was addedllvm/test/MC/VE/EQV.s
The file was addedllvm/test/MC/VE/OR.s
Commit 28c2bdf18f508460401ba1d6958de87b27d52618 by hokein.wu
[AST] Record SourceLocation for TypoExpr.

Reviewers: sammccall

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D81008
The file was modifiedclang/include/clang/AST/Expr.h
The file was modifiedclang/test/AST/ast-dump-recovery.cpp
The file was modifiedclang/lib/Sema/SemaLookup.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
Commit 9bcef270d7a319c6c0fdffc6c80984a8f0a30ecb by sander.desmalen
Revert "[CodeGen][SVE] Calculate correct type legalization for scalable vectors."

Seems to break some buildbots, reverting the patch for now.

This reverts commit 164f4b9d26fdf3cd640a09b63b5ec44d033cbe8a.
The file was modifiedllvm/unittests/CodeGen/AArch64SelectionDAGTest.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/include/llvm/Support/TypeSize.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
Commit 99d6e05e7144a2638c4e85ea75099e9dc6432cde by julian.lettner
[lit] Improve naming of test result categories

Improve consistency when printing test results:
Previously we were using different labels for group names (the header
for the list of, e.g., failing tests) and summary count lines.  For
example, "Failing Tests"/"Unexpected Failures".  This commit changes lit
to label things consistently.

Improve wording of labels:
When talking about individual test results, the first word in
"Unexpected Failures", "Expected Passes", and "Individual Timeouts" is
superfluous.  Some labels contain the word "Tests" and some don't.
Let's simplify the names.

Before:
```
Failing Tests (1):
  ...

Expected Passes    : 3
Unexpected Failures: 1
```

After:
```
Failed Tests (1):
  ...

Passed: 3
Failed: 1
```

Reviewed By: ldionne

Differential Revision: https://reviews.llvm.org/D77708
The file was modifiedllvm/utils/lit/lit/main.py
The file was modifiedmlir/test/Examples/standalone/test.toy
The file was modifiedllvm/utils/lit/tests/allow-retries.py
The file was modifiedllvm/utils/lit/tests/max-time.py
The file was modifiedllvm/utils/lit/tests/shtest-env.py
The file was modifiedllvm/utils/lit/tests/googletest-timeout.py
The file was modifiedllvm/utils/lit/tests/shtest-format.py
The file was modifiedllvm/utils/lit/tests/custom-result-category.py
The file was modifiedllvm/utils/lit/tests/shtest-not.py
The file was modifiedllvm/utils/lit/tests/selecting.py
The file was modifiedllvm/utils/lit/tests/parallelism-groups.py
The file was modifiedllvm/utils/lit/tests/shtest-inject.py
The file was modifiedllvm/utils/lit/tests/lit-opts.py
The file was modifiedllvm/utils/lit/tests/max-failures.py
The file was modifiedllvm/utils/lit/tests/shtest-timeout.py
The file was modifiedclang/www/hacking.html
The file was modifiedllvm/utils/lit/tests/googletest-upstream-format.py
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was modifiedllvm/utils/lit/tests/googletest-format.py
The file was modifiedllvm/utils/lit/tests/googletest-discovery-failed.py
Commit 38c407bf00b5a9867f512e4beb3955b0cb387d94 by ntv
[mlir][SCF] Add single iteration scf.for promotion to the FuncOp level helper.

Previously only the Affine version would be folded.

Differential Revision: https://reviews.llvm.org/D81261
The file was modifiedmlir/lib/Transforms/Utils/LoopUtils.cpp
Commit fe82d3a3ae32843069349eace204593520403964 by Jonas Devlieghere
[dsymutil] Don't emit N_AST symbol entries in the Mach-O companion file

Treat N_AST symbol table entries like other debug entries and don't emit
them in the linked binary.

Differential revision: https://reviews.llvm.org/D81205
The file was modifiedllvm/test/tools/dsymutil/X86/swift-ast-x86_64.test
The file was modifiedllvm/tools/dsymutil/MachOUtils.cpp
Commit c063b4a72bb39d9ae4bd13851873ddcbc16f6804 by Zinovy Nis
Fix crash on misc-redundant-expression

Differential Revision: https://reviews.llvm.org/D80896
The file was modifiedclang-tools-extra/clang-tidy/misc/RedundantExpressionCheck.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/misc-redundant-expression.cpp
Commit 7bee6e30fe634624a99b43615261f4b5311e7dd1 by maskray
[ELF] Handle -u before input files

If both a.a and b.so define foo

```
ld.bfd -u foo a.a b.so  # foo is defined
ld.bfd a.a b.so -u foo  # foo is defined
ld.bfd -u foo b.so a.a  # foo is undefined (provided at runtime by b.so)
ld.bfd b.so a.a -u foo  # foo is undefined (provided at runtime by b.so)
```

In all cases we make foo undefined in the output.  I tend to think the
GNU ld behavior makes more sense.

* In their model, they have to treat -u as a fake object file with an
  undefined symbol before all input files, otherwise the first archive would not be fetched.
* Following their behavior allows us to drop a --warn-backrefs special case.

Reviewed By: psmith

Differential Revision: https://reviews.llvm.org/D81052
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/test/ELF/undefined-opt.s
Commit 4d8c00c0595b6998e41373afadaaca3f51ae2cf8 by psteinfeld
[flang] Fix crash on erroneous expressions

Summary:
If you create an expression with parse errors, the `parser::Expr.typedExpr`
will be empty, which causes a compiler crash.  The crash is caused by the
check in check-do-forall.cpp that scans all expresssions to see if `DO`
variables are being modified.

It turned out that the problem was that I was fetching subexpressions of type
`parser::Expr`, which are not guaranteed to have a non-null `typedExpr`.  I
fixed this by only grabbing the top-level expression from which to gather
arguments as part of the DO loop analysis.  This, in turn, exposed a problem
where I wasn't collecting all of the actual arguments in an expression.  This
was caused by the fact that I wasn't recursing through the rest of the
expression after finding an argument.  I fixed this by recursing through the
argument in the member function in `CollectActualArgumentsHelper`.

Reviewers: klausler, tskeith, DavidTruby

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81101
The file was modifiedflang/lib/Semantics/check-do-forall.cpp
The file was modifiedflang/lib/Semantics/check-do-forall.h
The file was modifiedflang/test/Semantics/resolve91.f90
Commit 45f58bf469a77244d064ce13f9a81ecd16dc462a by aktoon
Fix the roundtrip test under llvm-profdata

Summary:
According to the comments, we want to convert the profile into two binary formats, and then into the md5text format.
We seems to have ignored the intermediate files.
This patch uses them to complete the full roundtrips.

Reviewers: wmi, wenlei

Reviewed By: wmi

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81202
The file was modifiedllvm/test/tools/llvm-profdata/roundtrip.test
Commit d194ff31cf76e888116bc25781825edc26855a1c by llvm-dev
[X86][SSE] Simplify MOVMSK patterns based on comparison

An initial patch adding combineSetCCMOVMSK to simplify MOVMSK and its vector input based on the comparison of the MOVMSK result.

This first stage just adds support for some simple MOVMSK(PACKSSBW()) cases where we remove the PACKSS if we're comparing ne/eq zero (any_of patterns), allowing us to directly compare against the v8i16 source vector(s) bitcasted to v16i8, with suitable masking to take into account of which signbits are valid.

Future combines could peek through further PACKSS, target shuffles, handle all_of patterns (ne/eq -1), optimize to a PTEST op, etc.

Differential Revision: https://reviews.llvm.org/D81171
The file was modifiedllvm/test/CodeGen/X86/vector-compare-any_of.ll
The file was modifiedllvm/test/CodeGen/X86/movmsk-cmp.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-or-bool.ll
Commit f59311e31dec9d439819d38353ac9fb098f9547b by aeubanks
Mark lambda in use-after-scope-capture.cpp as noinline

Summary:
As explained in https://bugs.llvm.org/show_bug.cgi?id=46208,
symbolization on Windows after inlining and around
lambdas/std::functions doesn't work very well. Under the new pass
manager, there is inlining at -O1.
use-after-scope-capture.cpp checks that the symbolization points to the
line containing "return x;", but the combination of
Windows/inlining/lambdas makes the symbolization point to the line
"f = [&x]() {".

Mark the lambda as noinline since this test is not a test for
symbolization.

Reviewers: hans, dblaikie, vitalybuka

Subscribers: #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D81193
The file was modifiedcompiler-rt/test/asan/TestCases/use-after-scope-capture.cpp
Commit 8133e289b6f697cb5d102d7f78223b64098808b5 by aeubanks
Add ASan metadata globals to @llvm.compiler.used under COFF

Summary:
This matches ELF.

This makes the number of ASan failures under the new pass manager on
Windows go from 18 to 1.

Under the old pass manager, the ASan module pass was one of the very
last things run, so these globals didn't get removed due to GlobalOpt.
But with the NPM the ASan module pass that adds these globals are run
much earlier in the pipeline and GlobalOpt ends up removing them.

Reviewers: vitalybuka, hans

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81175
The file was modifiedllvm/test/Instrumentation/AddressSanitizer/global_metadata_windows.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
Commit 7928f2c1778795f5e112503e22207a93734bc680 by thakis
[gn build] (manually) port a6fcf5ca033
The file was modifiedllvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
Commit 22c4c6dd382cad8e87dc2fc8494307b0b0914e80 by spatel
[PhaseOrdering] add tests for reductions; NFC (PR43953)
The file was modifiedllvm/test/Transforms/PhaseOrdering/X86/vector-reductions.ll
Commit e50059f6b6b32c134e0f4f81281a774cb460524e by spatel
[x86] form reduction intrinsics from vectorizers instead of raw IR

Motivating examples are seen in the PhaseOrdering tests based on:
https://bugs.llvm.org/show_bug.cgi?id=43953#c2 - if we have
intrinsics there, some pass can fold them.

The intrinsics are still named "experimental" at this point, but
if there is no fallout from this patch, that will be a good
indicator that it is safe to finalize them.

Differential Revision: https://reviews.llvm.org/D80867
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/vectorize-reorder-reuse.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/tail_loop_folding.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/undef_vect.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reduction_unrolled.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/pr35432.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reverse_extract_elements.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reduction.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/reduction-fastmath.ll
The file was modifiedllvm/test/Transforms/PhaseOrdering/X86/vector-reductions.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/PR39774.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/horizontal-minmax.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/PR40310.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/PR35628_2.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reassociated-loads.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reduction_loads.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/invariant-store-vectorization.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/imprecise-through-phis.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/pr42674.ll
The file was modifiedllvm/test/Transforms/PhaseOrdering/X86/vector-reductions-expanded.ll
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.h
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reorder_repeated_ops.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/load-deref-pred.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/strided_load_cost.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/horizontal-list.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/PR35628_1.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/scheduling.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/horizontal.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/remark_horcost.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/used-reduced-op.ll
Commit ea0880ddefbcd634e462d87ff09b7bc720562659 by llvm-dev
TypeMetadataUtils.h - reduce Instructions.h include to forward declaration. NFC.

Move implicit include dependencies down to source file.
The file was modifiedllvm/include/llvm/Analysis/TypeMetadataUtils.h
The file was modifiedllvm/lib/Analysis/TypeMetadataUtils.cpp
Commit a3597ecae95938351339b2011baedb3f23ea72de by llvm-dev
ScalarEvolutionNormalization.h - reduce ScalarEvolutionExpressions.h include to forward declaration. NFC.
The file was modifiedllvm/include/llvm/Analysis/ScalarEvolutionNormalization.h
Commit 11d06b9511bd25aabbfad10dff548b0ce29135a5 by Yaxun.Liu
[HIP] Add default header and include path

To support std::complex and some other standard C/C++ functions in HIP device code,
they need to be forced to be __host__ __device__ functions by pragmas. This is done
by some clang standard C++ wrapper headers which are shared between cuda-clang and hip-Clang.

For these standard C++ wapper headers to work properly, specific include path order
has to be enforced:

  clang C++ wrapper include path
  standard C++ include path
  clang include path

Also, these C++ wrapper headers require device version of some standard C/C++ functions
must be declared before including them. This needs to be done by including a default
header which declares or defines these device functions. The default header is always
included before any other headers are included by users.

This patch adds the the default header and include path for HIP.

Differential Revision: https://reviews.llvm.org/D81176
The file was removedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_unsafe_math_off.bc
The file was modifiedclang/test/Driver/rocm-detect.hip
The file was modifiedclang/lib/Driver/ToolChains/Linux.cpp
The file was addedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/ockl.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/ocml.bc
The file was addedclang/lib/Driver/ToolChains/ROCm.h
The file was removedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_isa_version_1011.bc
The file was addedclang/lib/Headers/__clang_hip_math.h
The file was removedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_isa_version_900.bc
The file was addedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_wavefrontsize64_on.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_wavefrontsize64_on.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_daz_opt_on.bc
The file was addedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_isa_version_1012.bc
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.h
The file was removedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_daz_opt_off.bc
The file was modifiedclang/lib/Driver/ToolChains/Linux.h
The file was removedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_finite_only_off.bc
The file was addedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_finite_only_off.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_isa_version_1010.bc
The file was modifiedclang/lib/Driver/ToolChains/MSVC.h
The file was modifiedclang/lib/Headers/CMakeLists.txt
The file was modifiedclang/lib/Driver/ToolChains/MSVC.cpp
The file was removedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_finite_only_on.bc
The file was modifiedclang/lib/Driver/ToolChain.cpp
The file was removedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_wavefrontsize64_off.bc
The file was modifiedclang/lib/Driver/ToolChains/HIP.h
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.cpp
The file was removedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/hip.bc
The file was addedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/opencl.bc
The file was addedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_daz_opt_on.bc
The file was addedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc
The file was addedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_isa_version_1011.bc
The file was modifiedclang/test/Driver/rocm-device-libs.cl
The file was addedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_isa_version_1010.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_correctly_rounded_sqrt_off.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_unsafe_math_on.bc
The file was modifiedclang/test/Driver/rocm-not-found.cl
The file was modifiedclang/lib/Driver/ToolChains/Gnu.h
The file was addedclang/test/Driver/Inputs/rocm/include/hip/hip_runtime.h
The file was modifiedclang/lib/Driver/ToolChains/Cuda.cpp
The file was modifiedclang/lib/Driver/ToolChains/HIP.cpp
The file was removedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc
The file was addedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_daz_opt_off.bc
The file was addedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/ocml.bc
The file was addedclang/test/Driver/hip-include-path.hip
The file was addedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_isa_version_803.bc
The file was addedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_finite_only_on.bc
The file was addedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/hip.bc
The file was addedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_correctly_rounded_sqrt_off.bc
The file was addedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_unsafe_math_on.bc
The file was modifiedclang/lib/Headers/__clang_cuda_math_forward_declares.h
The file was addedclang/lib/Headers/__clang_hip_runtime_wrapper.h
The file was addedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_wavefrontsize64_off.bc
The file was modifiedclang/include/clang/Basic/DiagnosticDriverKinds.td
The file was modifiedclang/include/clang/Driver/Options.td
The file was addedclang/lib/Headers/__clang_hip_libdevice_declares.h
The file was removedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/ockl.bc
The file was removedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_isa_version_1012.bc
The file was modifiedclang/test/Driver/rocm-detect.cl
The file was removedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/opencl.bc
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was addedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_unsafe_math_off.bc
The file was modifiedclang/test/Driver/hip-device-libs.hip
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was removedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_isa_version_803.bc
The file was modifiedclang/include/clang/Driver/ToolChain.h
The file was addedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_isa_version_900.bc
Commit f57dd41562340b0d5d9931b3f1becca761a54d26 by Louis Dionne
[CMake] Do not append -lm to CMAKE_REQUIRED_LIBRARIES on Apple

On Apple platforms, linking against libSystem.dylib is sufficient, and
some Apple platforms don't provide libm.dylib. On those platforms, adding
-lm to CMAKE_REQUIRED_LIBRARIES causes all subsequent compile-flag checks
to fail due to the missing library.

Differential Revision: https://reviews.llvm.org/D81265
The file was modifiedllvm/cmake/config-ix.cmake
Commit b0921f68e1eeb3ac0cf4e178014237e14c20be03 by jpienaar
[mlir] Add verify method to adaptor

This allows verifying op-indepent attributes (e.g., attributes that do not require the op to have been created) before constructing an operation. These include checking whether required attributes are defined or constraints on attributes (such as I32 attribute). This is not perfect (e.g., if one had a disjunctive constraint where one part relied on the op and the other doesn't, then this would not try and extract the op independent from the op dependent).

The next step is to move these out to a trait that could be verified earlier than in the generated method. The first use case is for inferring the return type while constructing the op. At that point you don't have an Operation yet and that ends up in one having to duplicate the same checks, e.g., verify that attribute A is defined before querying A in shape function which requires that duplication. Instead this allows one to invoke a method to verify all the traits and, if this is checked first during verification, then all other traits could use attributes knowing they have been verified.

It is a little bit funny to have these on the adaptor, but I see the adaptor as a place to collect information about the op before the op is constructed (e.g., avoiding stringly typed accessors, verifying what is possible to verify before the op is constructed) while being cheap to use even with constructed op (so layer of indirection between the op constructed/being constructed). And from that point of view it made sense to me.

Differential Revision: https://reviews.llvm.org/D80842
The file was modifiedmlir/test/Dialect/Vector/invalid.mlir
The file was modifiedmlir/test/IR/invalid-ops.mlir
The file was modifiedmlir/test/mlir-tblgen/predicate.td
The file was modifiedmlir/docs/OpDefinitions.md
The file was modifiedmlir/test/mlir-tblgen/op-attribute.td
The file was modifiedmlir/test/Dialect/LLVMIR/global.mlir
The file was modifiedmlir/test/Dialect/SPIRV/composite-ops.mlir
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
The file was modifiedmlir/test/Dialect/GPU/invalid.mlir
Commit 56ce65e2b649c665c5257131c691bf959959b912 by ntv
[mlir][Linalg] NFC - Cleanup debug, address post-commit review.
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
Commit d520dfec3bc4c5cfadaecbe5c2576d4fcfd5bfff by Louis Dionne
[libc++abi] Properly fix XFAILs for exception alignment

Since <unwind.h> is in the SDK, not in /usr/include, the XFAILs must
be predicated on the compiler version (ideally even on the SDK version)
instead of the target system version.
The file was modifiedlibcxxabi/test/test_exception_address_alignment.pass.cpp
Commit 937cb7a8c728e20c9c288bf328311e9b69187fcf by sander.desmalen
Reland D80640: [CodeGen][SVE] Calculate correct type legalization for scalable vectors.

This reverts commit 9bcef270d7a319c6c0fdffc6c80984a8f0a30ecb.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/include/llvm/Support/TypeSize.h
The file was modifiedllvm/unittests/CodeGen/AArch64SelectionDAGTest.cpp
Commit e987c372185d805e3a30097366af2c6f94bc0b29 by Yaxun.Liu
Fix lit tests hip-include-path.hip and hip-host-cpu-macros.cu
The file was modifiedclang/test/Driver/hip-include-path.hip
The file was modifiedclang/test/Preprocessor/hip-host-cpu-macros.cu
Commit e7cc6896f6344660fbf368a53107f17113416607 by llvmgnsyncbot
[gn build] Port 11d06b9511b
The file was modifiedllvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
Commit b56bf30d3cc15896956061fdbeb6d078b63ec91f by ntv
[mlir][Vector] Add folding of memref_cast into vector_transfer ops

Summary:
This revision adds a common folding pattern that starts appearing on
vector_transfer ops.

Differential Revision: https://reviews.llvm.org/D81281
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
The file was modifiedmlir/test/Dialect/Vector/canonicalize.mlir
Commit 399b12700b41cd58484c23639e61cace819229f6 by smeenai
[llvm-ar] Add more tests for errors in opening archives

Add 2 more tests for the function performOperation under llvm-ar.cpp. It
tests the scenario when the archive could not be opened for reasons
other than `no_such_file_or_directory` In particular, it tests for the
cases `permission_denied` and `is_a_directory` for the target archive.

Reviewed By: alexshap, jhenderson, smeenai, MaskRay

Differential Revision: https://reviews.llvm.org/D80838
The file was addedllvm/test/tools/llvm-ar/error-opening-permission.test
The file was addedllvm/test/tools/llvm-ar/error-opening-directory.test
Commit 99e1b0dc8fbdd35426ac39a98c05718cd482f48a by smeenai
[llvm-ar] Update error messages and tests as per latest preferred style

It updates two error messages under `performOperation` in the file
llvm-ar.cpp. Furthermore, it also updates tests that print out these
error messages: `llvm/test/Object/ar-create.test` and
`llvm/test/tools/llvm-ar/print.test`.

Reviewed By: jhenderson, MaskRay

Differential Revision: https://reviews.llvm.org/D80846
The file was modifiedllvm/test/Object/ar-create.test
The file was modifiedllvm/test/tools/llvm-ar/print.test
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
The file was modifiedllvm/test/tools/llvm-ar/error-opening-directory.test
The file was modifiedllvm/test/tools/llvm-ar/error-opening-permission.test
Commit e73bb45c2b7bb20eaac230d1708d07c55da47ee2 by david.green
[ARM] VQMOVN demand bits analysis

Similar to VMOVN, a VQMOVN will only demand the top/bottom lanes of it's
first input. However unlike VMOVN it will need access to the entire
second argument, as that value is saturated not just moved in place.

Differential Revision: https://reviews.llvm.org/D80515
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-satmul-loops.ll
Commit 339156ad63c4c876432a3109b4d4a67a9602836b by Louis Dionne
[libc++] Avoid passing -xc++ in Lit feature detection

Otherwise, if %{flags} contain other files like static libraries, those
files are treated as C++ source files instead of object files, and the
compiler gets all confused.
The file was modifiedlibcxx/utils/libcxx/test/dsl.py
Commit a018b538a6177b7fb50bad067ca4e828a85dbf76 by smeenai
[llvm-objcopy] Reorder --dump-section before --remove-section for ELF

Reorder `DumpSection` under `handleArgs` in file `ELFObjcopy.cpp`.
`DumpSection` is placed before `replaceAndRemoveSections` and is
therefore now the first operation under `handleArgs`. Thus, it is now
performed before both `add` and `remove` section operations.

Change for the MachO format at D81123. Together fixes https://bugs.llvm.org/show_bug.cgi?id=44283.

Reviewed By: alexshap, jhenderson, MaskRay

Differential Revision: https://reviews.llvm.org/D81097
The file was addedllvm/test/tools/llvm-objcopy/ELF/dump-section-before-add-remove.test
The file was modifiedllvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
Commit eb7db879af4f550da820e092e7b791243a3166f8 by ntv
[mlir][test][CPU] Reduce the size of mlir-cpu-runner-tests

Two tests regularly show up on the long tail when testing MLIR.
This revision reduces their size.
The file was modifiedmlir/test/mlir-cpu-runner/sgemm_naive_codegen.mlir
The file was modifiedmlir/test/mlir-cpu-runner/linalg_integration_test.mlir
Commit 12e5b02687af0ddc21abfdd17afbc2176fdaa3f9 by smeenai
[llvm-objcopy] Reorder --dump-section for MachO

Reorder `DumpSection` under `handleArgs` in file `MachOObjcopy.cpp`. The
operation to dump a section is now performed before both add and remove
section operations for MachO file format.

Change for the ELF format at D81097. Together fixes
https://bugs.llvm.org/show_bug.cgi?id=44283

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D81123
The file was addedllvm/test/tools/llvm-objcopy/MachO/dump-section-before-add-remove.test
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
Commit 5eedf07ab999d0a8ba43f41e0c1012d8f6e62c11 by Alex Lorenz
[apple clang] disable in-process CC1 to preserve crashlog compatibility

The in-process CC1 currently doesn't interoperate with the macOS crash analytics,
which we would like to keep enabled for Apple clang. This commit restores the
out-of-process CC1 to the Apple clang CMake configuration for now.

Differential Revision: https://reviews.llvm.org/D80849
The file was modifiedclang/cmake/caches/Apple-stage1.cmake
The file was modifiedclang/test/lit.cfg.py
The file was modifiedclang/cmake/caches/Apple-stage2.cmake
The file was modifiedclang/test/lit.site.cfg.py.in
The file was addedclang/test/Driver/apple-clang-defaults.c
Commit 3b5d4aa258a0f7ccbd5c3ade4286dca8f5d2d984 by arsenm2
GlobalISel: Infer nofpexcept flag during selection for non-strict ops

Match SelectionDAG's behavior of adding nofpexcept to out instructions
that may raise fp exceptions that are selected from instructions that
do not.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-uitofp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fceil.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fma.s32.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fract.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmaxnum.v2s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fptoui.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.sin.s16.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-add.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ffloor.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmaxnum-ieee.v2s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.ldexp.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/x86_64-select-sitofp.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-fmul-scalar.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rcp.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rsq.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fadd.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cos.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rcp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fminnum.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fadd.s32.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-sitofp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmul.v2s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmaxnum.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fcmp.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmaxnum.s16.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fadd.s64.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-fdiv-scalar.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fminnum-ieee.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fmed3.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cvt.pkrtz.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ffloor.s32.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmul.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ffloor.s64.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fminnum-ieee.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-intrinsic-trunc.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rsq.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-fpext-scalar.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fract.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rsq.legacy.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fceil.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cos.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rsq.clamp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-frint.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-frint.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fminnum.v2s16.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/x86_64-select-fptosi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.sin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-intrinsic-trunc.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fcmp.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-sub.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-fsub-scalar.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fminnum-ieee.v2s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fexp2.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmaxnum-ieee.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fminnum.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fcanonicalize.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmaxnum-ieee.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fptosi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rcp.legacy.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-fadd-scalar.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-fptrunc-scalar.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.ldexp.s16.mir
Commit 5ee2a1e476ca3eafaa184ec311168df91310e714 by arsenm2
AMDGPU/GlobalISel: Fix some broken YAML in MIR test

Different tools seem to be more or less strict with the markers
between different functions.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.exp.mir
Commit 6a5326492606d767a7eb94ef418799a95e02ed07 by nikita.ppv
[LiveDebugValues] Remove PendingInLocs (NFC)

PendingInLocs ends up having the same value as InLocs, just computed
a bit more indirectly. It is a leftover of a previous implementation
approach.

This patch drops PendingInLocs, as well as the Diff and Removed
calulations, which are no longer needed.

Differential Revision: https://reviews.llvm.org/D80868
The file was modifiedllvm/lib/CodeGen/LiveDebugValues.cpp
Commit d370088611873565d778add5a0a983fdb29d6872 by nikita.ppv
[LiveDebugValues] Fix output stream (NFC)

This should dump to the provided Out, rather than dbgs(), though
they coincide in current usage.
The file was modifiedllvm/lib/CodeGen/LiveDebugValues.cpp
Commit 866ee2353f7d0224644799d0d1faed53c7f3a06d by elver
[KernelAddressSanitizer] Make globals constructors compatible with kernel

Summary:
This makes -fsanitize=kernel-address emit the correct globals
constructors for the kernel. We had to do the following:

- Disable generation of constructors that rely on linker features such
  as dead-global elimination.

- Only emit constructors for globals *not* in explicit sections. The
  kernel uses sections for special globals, which we should not touch.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=203493

Tested:
1. With 'clang/test/CodeGen/asan-globals.cpp'.
2. With test_kasan.ko, we can see:

  BUG: KASAN: global-out-of-bounds in kasan_global_oob+0xb3/0xba [test_kasan]

Reviewers: glider, andreyknvl

Reviewed By: glider

Subscribers: cfe-commits, nickdesaulniers, hiraditya, llvm-commits

Tags: #llvm, #clang

Differential Revision: https://reviews.llvm.org/D80805
The file was modifiedllvm/lib/Transforms/Utils/ModuleUtils.cpp
The file was modifiedclang/test/CodeGen/asan-globals.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/ModuleUtils.h
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
Commit d1a6e4d2db493c0ce27ccba7f287acfeac1776a6 by eugenis
[hwasan] Disable malloc-fill by default.

Summary: Non-zero malloc fill is causing way too many hard to debug issues.

Reviewers: kcc, pcc, hctim

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D81284
The file was modifiedcompiler-rt/lib/hwasan/hwasan_flags.inc
The file was modifiedcompiler-rt/test/hwasan/TestCases/malloc_fill.cpp
Commit 931fcd3ba011c27626a95e5e35b657763284882a by sunfish
[WebAssembly] Improve clang diagnostics for wasm attributes

This patch addresses the review comments on r352930:

- Removes redundant diagnostic checking code
- Removes errnoneous use of diag::err_alias_is_definition, which
   turned out to be ineffective anyway since functions can be defined later
   in the translation unit and avoid detection.
- Adds a test for various invalid cases for import_name and import_module.

Differential Revision: https://reviews.llvm.org/D59520
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was addedclang/test/AST/ast-dump-wasm-attr-export.c
The file was addedclang/test/Sema/attr-wasm.c
The file was addedclang/test/AST/ast-dump-wasm-attr-import.c
Commit 7c9a89fed8f5d53d61fe3a61a2581a7c28b1b6d2 by craig.topper
[X86] Teach combineVectorShiftImm to constant fold undef elements to 0 not undef.

Shifts are supposed to always shift in zeros or sign bits regardless of their inputs. It's possible the input value may have been replaced with undef by SimplifyDemandedBits, but the shift in zeros are still demanded.

This issue was reported to me by ispc from 10.0. Unfortunately their failing test does not fail on trunk. Seems to be because the shl is optimized out earlier now and doesn't become VSHLI.

ispc bug https://github.com/ispc/ispc/issues/1771

Differential Revision: https://reviews.llvm.org/D81212
The file was modifiedllvm/test/CodeGen/X86/vec_shift5.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit a080e345e439936d7f2d4733d0512c1b7d51e648 by Matthew.Arsenault
AMDGPU: Fix missing immarg on buffer.atomic.fadd intrinsic
The file was modifiedllvm/test/Verifier/AMDGPU/intrinsic-immarg.ll
The file was modifiedllvm/include/llvm/IR/IntrinsicsAMDGPU.td
Commit 43bb1c239c27de0ef9fdb8a43da1ef0bc16fc42a by Matthew.Arsenault
AMDGPU: Fix incorrect selection of buffer atomic fadd

There were additional standalone patterns for these nodes which were
missing the subtarget predicate.
The file was addedllvm/test/CodeGen/AMDGPU/fail-select-buffer-atomic-fadd.ll
The file was modifiedllvm/lib/Target/AMDGPU/BUFInstructions.td
Commit ee608478623a716da38cd09383f640f3a96f8d61 by Yaxun.Liu
Attempt to fix hip-include-path.hip
The file was modifiedclang/test/Driver/hip-include-path.hip
Commit f029c165f92ec897e8d99b4b85501dc89713b4d7 by thakis
[gn build] (manually) merge 5eedf07ab999d
The file was modifiedllvm/utils/gn/secondary/clang/test/BUILD.gn
Commit d2bd075e8d1f4544357c0ab9784ec4e88bd229a7 by maskray
Fix -Wunused-variable after D80515
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit 72e4da45bd73e6cd16dbb564b2cc515bc8512e57 by jay.foad
Correctly report modified status for AMDGPUUnifyDivergentExitNodes

Related to https://reviews.llvm.org/D80916

Differential Revision: https://reviews.llvm.org/D81271
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
Commit 3aec298349fbc901a51b47004fb156090b3d6bce by sunfish
Revert "[WebAssembly] Improve clang diagnostics for wasm attributes"

It broke clang-check.

This reverts commit 931fcd3ba011c27626a95e5e35b657763284882a.
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was removedclang/test/Sema/attr-wasm.c
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was removedclang/test/AST/ast-dump-wasm-attr-import.c
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was removedclang/test/AST/ast-dump-wasm-attr-export.c
Commit 6c570f789dc827960f3b8f6acddf0a07a7746673 by Matthew.Arsenault
GlobalISel: Add G_EXTRACT/G_INSERT offset to legalize info

Immediate legalize fields were added for G_SEXT_INREG. Simiarly, these
are likely not legal except for certain offsets.
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
The file was modifiedllvm/include/llvm/Target/GenericOpcodes.td
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
The file was modifiedllvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
Commit 45e1a22a92bf2c33336ccc02ea4fa3996f60252b by arsenm2
GlobalISel: Make known bits/alignment API more consistent

Just computing the alignment makes sense without caring about the
general known bits, such as for non-integral pointers. Separate the
two and start calling into the TargetLowering hooks for frame indexes.

Start calling the TargetLowering implementation for FrameIndexes,
which improves the AMDGPU matching for stack addressing modes. Also
introduce a new hook for returning known alignment of target
instructions. For AMDGPU, it would be useful to report the known
alignment implied by certain intrinsic calls.

Also stop using MaybeAlign.
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-private.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-store-private.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/GISelKnownBits.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
Commit 3d7b926dd16ff9ff264337793b76080681636f15 by Adrian Prantl
Move GetXcode*Directory into HostInfo (NFC)

These functions really don't belong into PlatformDarwin, since they
actualy query state of the Host and not of the remote platform.
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
The file was modifiedlldb/include/lldb/Utility/XcodeSDK.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformAppleTVSimulator.cpp
The file was modifiedlldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
The file was modifiedlldb/unittests/Platform/PlatformDarwinTest.cpp
The file was modifiedlldb/unittests/Utility/XcodeSDKTest.cpp
The file was modifiedlldb/include/lldb/Host/HostInfoBase.h
The file was modifiedlldb/include/lldb/Host/macosx/HostInfoMacOSX.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
The file was modifiedlldb/source/Utility/XcodeSDK.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformAppleWatchSimulator.cpp
Commit 79daa3d896495e2755e530ce0658be3e80dfe4c9 by Adrian Prantl
Teach GetXcodeSDK to look in the Xcode that contains LLDB

instead of preferring the one chosen with xcode-select.

<rdar://problem/64000666>

Differential Revision: https://reviews.llvm.org/D81210
The file was modifiedlldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
Commit eaa8af93228c1e1bce078d66605db83b26eda8e5 by Matthew.Arsenault
GlobalISel: Add helper for constructing load from offset
The file was modifiedllvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
Commit b67f86020889852d2b318fbf4ec6c10389f8efd8 by alexandre.ganea
[llvm-pdbutil] Add missing --id-stats to dump the IPI stream

Before this patch, llvm-pdbutil supported only --type-stats to dump stats about a PDB TPI stream.
Adding --id-stats for completion.
The file was modifiedllvm/tools/llvm-pdbutil/llvm-pdbutil.cpp
The file was modifiedllvm/tools/llvm-pdbutil/llvm-pdbutil.h
The file was modifiedllvm/tools/llvm-pdbutil/DumpOutputStyle.cpp
Commit e78431354bcb6bec5be9adf4ea37d860445f8c16 by Saleem Abdulrasool
lld: use modern library search ordering

This merges the static and shared library and behaves as if
`-search_paths_first` was specified which is also the default behaviour
on ld64 (and now lld). Unify the paths, and use `llvm::sys::path` to
deal with the path to be truly agnostic to the host.
The file was addedlld/test/MachO/link-search-order.s
The file was modifiedlld/MachO/Driver.cpp
Commit 392843617acbce5baf6ca7c7fff8dbac58bf853f by Yaxun.Liu
Attempt to fix hip-include-path.hip
The file was modifiedclang/test/Driver/hip-include-path.hip
Commit 8a8c6913a931e8bbd119012f4badd81155a0f48a by Yaxun.Liu
Revert "[HIP] Add default header and include path"

This reverts commit 11d06b9511bd25aabbfad10dff548b0ce29135a5.
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_unsafe_math_off.bc
The file was removedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_finite_only_off.bc
The file was modifiedclang/include/clang/Driver/ToolChain.h
The file was removedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_daz_opt_on.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/opencl.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_correctly_rounded_sqrt_off.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_daz_opt_on.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/hip.bc
The file was removedclang/lib/Headers/__clang_hip_math.h
The file was removedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_finite_only_on.bc
The file was modifiedclang/lib/Driver/ToolChains/Linux.h
The file was removedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_isa_version_1011.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_isa_version_1012.bc
The file was removedclang/lib/Headers/__clang_hip_runtime_wrapper.h
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_isa_version_1011.bc
The file was removedclang/lib/Driver/ToolChains/ROCm.h
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_unsafe_math_on.bc
The file was removedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_daz_opt_off.bc
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_daz_opt_off.bc
The file was removedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_isa_version_1012.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_wavefrontsize64_off.bc
The file was removedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_wavefrontsize64_on.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_isa_version_1010.bc
The file was modifiedclang/lib/Driver/ToolChain.cpp
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_isa_version_900.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_finite_only_off.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_wavefrontsize64_on.bc
The file was modifiedclang/test/Driver/rocm-detect.cl
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_isa_version_803.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/ocml.bc
The file was removedclang/lib/Headers/__clang_hip_libdevice_declares.h
The file was modifiedclang/lib/Driver/ToolChains/HIP.cpp
The file was removedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/ockl.bc
The file was modifiedclang/lib/Driver/ToolChains/MSVC.cpp
The file was removedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/opencl.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/ockl.bc
The file was modifiedclang/lib/Driver/ToolChains/Cuda.cpp
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc
The file was removedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_wavefrontsize64_off.bc
The file was removedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc
The file was modifiedclang/test/Driver/rocm-not-found.cl
The file was removedclang/test/Driver/hip-include-path.hip
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.cpp
The file was modifiedclang/lib/Driver/ToolChains/HIP.h
The file was removedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/ocml.bc
The file was addedclang/test/Driver/Inputs/rocm-device-libs/amdgcn/bitcode/oclc_finite_only_on.bc
The file was modifiedclang/lib/Headers/CMakeLists.txt
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was removedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_correctly_rounded_sqrt_off.bc
The file was modifiedclang/lib/Driver/ToolChains/Gnu.h
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.h
The file was modifiedclang/test/Driver/rocm-detect.hip
The file was removedclang/test/Driver/Inputs/rocm/include/hip/hip_runtime.h
The file was removedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_unsafe_math_off.bc
The file was modifiedclang/test/Driver/hip-device-libs.hip
The file was modifiedclang/test/Driver/rocm-device-libs.cl
The file was modifiedclang/test/Preprocessor/hip-host-cpu-macros.cu
The file was removedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/hip.bc
The file was removedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_isa_version_803.bc
The file was modifiedclang/lib/Driver/ToolChains/MSVC.h
The file was modifiedclang/include/clang/Basic/DiagnosticDriverKinds.td
The file was removedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_unsafe_math_on.bc
The file was modifiedclang/lib/Headers/__clang_cuda_math_forward_declares.h
The file was removedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_isa_version_900.bc
The file was removedclang/test/Driver/Inputs/rocm/amdgcn/bitcode/oclc_isa_version_1010.bc
The file was modifiedclang/lib/Driver/ToolChains/Linux.cpp
Commit 1e9a0a4e04aa66f048ba791e25d32ce8c02a20a4 by Stanislav.Mekhanoshin
SROA: Remove pointer from visited along with instruction

If an instruction is erased we also need to remove it from
Visited set. There is a very small chance that an another
newly created instruction will be created with the same
pointer value in place of an erased one.

Differential Revision: https://reviews.llvm.org/D80958
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp
Commit 7e7ec2b32598083eec0c2a54e04e19f1b7c83594 by llvmgnsyncbot
[gn build] Port 8a8c6913a93
The file was modifiedllvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
Commit 672ed5386024ba5cee53e19d637b7920a4889837 by rnk
[codeview] Put !heapallocsite on calls to operator new

Clang marks calls to operator new as heap allocation sites, but the
operator declared at global scope returns a void pointer. There is no
explicit cast in the code, so the compiler has to write down the
allocated type itself.

Also generalize a cast to use CallBase, so that we mark heap alloc sites
when exceptions are enabled.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D80966
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was addedclang/test/CodeGenCXX/debug-info-codeview-heapallocsite.cpp
The file was modifiedclang/lib/CodeGen/CGExprCXX.cpp
The file was modifiedclang/test/CodeGen/debug-info-codeview-heapallocsite.c
The file was modifiedclang/lib/CodeGen/CGDebugInfo.h
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
Commit 5d62606f90554751098161b5e99a7bd45a8581ef by Stanislav.Mekhanoshin
AMDGPU/GlobalISel: cmp/select method for extract element

Differential Revision: https://reviews.llvm.org/D80749
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-extract-vector-elt.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp

Summary

  1. [libc++] Remove redundant request for enabling warnings (details)
Commit 8d129c03cb8cb7cf04c76b4cb9aaa4855fed5b01 by Louis Dionne
[libc++] Remove redundant request for enabling warnings

The libc++ test suite enables warnings with Clang and AppleClang by
default, so there's no need to request it explicitly when running Lit
in the build bots that are using Clang or AppleClang. Doing so only
creates confusion as to whether warnings are enabled by default.
The file was modifiedbuildbot/osuosl/master/config/builders.py