FailedChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [windows] Add /Gw to compiler flags (details)
  2. fix some comment typos to cycle bots (details)
  3. [AsmPrinter] Use the McASMInfo to determine if we need descriptors. (details)
  4. [scudo][standalone] Allow setting release to OS (details)
  5. [mlir] Add MemRef filter to affine data copy optimization (details)
  6. [Hexagon] Add an explicit makeArrayRef to pacify gcc 5.5 (details)
  7. [llvm-exegesis] Rename range based for loop variable in a unit test so its different than the container being iterated over. NFC (details)
  8. [compiler-rt] Use the correct minimum version flag for simulators on Apple (details)
  9. [compiler-rt] Add `DARWIN_osx_MIN_VER_FLAG` variable to match the other Apple platforms. (details)
  10. [compiler-rt] Provide a lit config variable that defines the minimum deployment OS version flag appropriate for the configured OS. (details)
  11. [compiler-rt] Disable building LibFuzzer for WatchOS and the corresponding simulator. (details)
  12. [compiler-rt] Make various Apple lit substitutions work correctly for other Apple platforms. (details)
  13. [NFC][llvm-exegesis] CombinationGenerator::performGeneration(): pull put state increment into lambda (details)
  14. [lldb/Editline] Fix mistake in HistoryOperation mapping (details)
  15. [OpenMP][Part 2] Use reusable OpenMP context/traits handling (details)
  16. [lli] Add a '-dlopen <library-path>' option to lli. (details)
  17. Don't call computeHostNumPhysicalCores when LLVM_ENABLE_THREADS is off (details)
  18. [Attributor][FIX] Validate the type for AAValueConstantRange as needed (details)
  19. [FIX] Add missing InGroup to warning introduced as part of D71830 (details)
  20. Fix -Wstring-compare warnings in new OpenMP code (details)
  21. [WebAssembly] Add section names for some DWARF5 sections (details)
  22. [TBLGEN] Allow to override RC weight (details)
  23. GlobalISel: Remove unused function argument (details)
  24. AMDGPU/GlobalISel: Improve 16-bit bswap (details)
  25. AMDGPU: Use generated checks for memcpy expansion (details)
  26. AMDGPU/GlobalISel: Fix G_EXTRACT of 96-bit results (details)
  27. Fix 01b02a73de78 to use correct macro spelling and fix unit tests. (details)
  28. AMDGPU: Don't preserve analyses with div64 IR expansion (details)
  29. [Attributor] Derive memory location attributes (argmemonly, ...) (details)
  30. [RISCV] Correct the CallPreservedMask for the function call in an interrupt handler (details)
  31. Remove 'process launch failed:' message prefix in Target::Launch (details)
  32. [gn build] Make build locally deterministic (details)
  33. [MC] De-capitalize some MCStreamer::Emit* functions (details)
  34. [MC] De-capitalize another set of MCStreamer::Emit* functions (details)
  35. AMDGPU/GlobalISel: Fix missing impdef of scc on boolean bit ops (details)
  36. [llvm-ranlib][test] Fix rwx- after a4f3847f3d5742cfab7acdc614e7ca54643e0c85 (details)
  37. [Attributor][FIX] Do not RAUW void values (details)
  38. [Attributor][FIX] Carefully strip casts in AANoAlias (details)
  39. [Attributor][NFC] Add check lines for tests (details)
  40. [Attributor][FIX] Restrict cross-SCC call deletion (details)
  41. [Attributor][FIX] Collapse `undef` to a proper value (details)
  42. [Attributor] Manifest simplified (return) values properly (details)
  43. [Attributor][FIX] Ensure abstract attributes are existing before manifest (details)
  44. [MC][ELF] Make linked-to symbol name part of ELFSectionKey (details)
  45. [MC] Add MCSection::NonUniqueID and delete one MCContext::getELFSection overload (details)
  46. [AsmPrinter] Omit unique ID for __patchable_function_entries sections (details)
  47. [AArch64][FPenv] Update chain of int to fp conversion (details)
  48. [AsmPrinter][XRay] Omit unique ID for xray_instr_map and xray_fn_idx (details)
  49. [AsmPrinter] Omit unique ID for .stack_sizes (details)
  50. [Attributor] Fix -Wunused-variable for -DLLVM_ENABLE_ASSERTIONS=off builds after b4352e43d86e (details)
  51. [OpenMP][NFCI] Use the libFrontend DefaultKind in Clang (details)
  52. [OpenMP][NFC] Update OpenMPSupport table (details)
  53. NFC: add indexing operator for ArrayAttr (details)
  54. [MCStreamer] De-capitalize EmitValue EmitIntValue{,InHex} (details)
  55. [OpenMP][OMPIRBuilder] Add Directives (master and critical) to OMPBuilder. (details)
  56. [FIX] Repair clang-tidy check after D72304 (details)
  57. [FIX] Remove warnings and UB after 1228d42ddab8 (details)
Commit 09153ab9d267a86d6e9bce18d5074617de5879a5 by thakis
[windows] Add /Gw to compiler flags

This is like -fdata-sections, and it's not part of /O2 by default for some reason.

In the cmake build, reduces the size of clang.exe from 70,358,016 bytes to 69,982,720 bytes.

clang-format.exe goes from 3,703,296 bytes to 3,331,072 bytes.

Differential Revision: https://reviews.llvm.org/D74573
The file was modifiedllvm/cmake/modules/HandleLLVMOptions.cmake
The file was modifiedllvm/utils/gn/build/BUILD.gn
Commit 87e80e5e289249cb9c1b6ed0f9502434375335a9 by thakis
fix some comment typos to cycle bots
The file was modifiedclang/include/clang/AST/DeclObjC.h
The file was modifiedclang/include/clang-c/Index.h
The file was modifiedclang/include/clang-c/BuildSystem.h
Commit b75692c30e61b1a09a264034374963534c672e34 by sd.fertile
[AsmPrinter] Use the McASMInfo to determine if we need descriptors.

In https://reviews.llvm.org/rG8b737688c21a9755cae14cb9343930e0882164ab I
switched the condition gating the creation of the descriptor symbol from
checking the MCAsmInfo if we need to support descriptors, to if the OS
was AIX. Technically the 2 should be interchangeable: if we are
targeting AIX then we need to emit XCOFF object files, and the MCAsmInfo
must return true for needing function descriptors.

This doesn't account for lit test with runsteps that only set the arch.
Eg: test/CodeGen/XCore/section-name.ll
which when run natively on AIX we end up with a target xcore-ibm-aix and
needFunctionDescriptors is false.

This patch reverts to using the MCAsmInfo and adds an assert that the
target OS must be AIX since that is the only target using the descriptor
hook.

Differential Revision: https://reviews.llvm.org/D74622
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
Commit 5f91c7b9805729e94ff7e54f3f85e525f6f2427c by kostyak
[scudo][standalone] Allow setting release to OS

Summary:
Add a method to set the release to OS value as the system runs,
and allow this to be set differently in the primary and the secondary.
Also, add a default value to use for primary and secondary. This
allows Android to have a default that is different for
primary/secondary.

Update mallopt to support setting the release to OS value.

Reviewers: pcc, cryptoad

Reviewed By: cryptoad

Subscribers: cryptoad, jfb, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D74448
The file was modifiedcompiler-rt/lib/scudo/standalone/flags.inc
The file was modifiedcompiler-rt/lib/scudo/standalone/secondary.h
The file was modifiedcompiler-rt/lib/scudo/standalone/allocator_config.h
The file was modifiedcompiler-rt/lib/scudo/standalone/combined.h
The file was modifiedcompiler-rt/lib/scudo/standalone/primary32.h
The file was modifiedcompiler-rt/lib/scudo/standalone/primary64.h
The file was modifiedcompiler-rt/lib/scudo/standalone/wrappers_c.inc
Commit d7058acc145c637f82cf4aa90358bdcacccf766c by diego.caballero
[mlir] Add MemRef filter to affine data copy optimization

This patch extends affine data copy optimization utility with an
optional memref filter argument. When the memref filter is used, data
copy optimization will only generate copies for such a memref.

Note: this patch is just porting the memref filter feature from Uday's
'hop' branch: https://github.com/bondhugula/llvm-project/tree/hop.

Reviewed By: bondhugula

Differential Revision: https://reviews.llvm.org/D74342
The file was modifiedmlir/include/mlir/Transforms/LoopUtils.h
The file was modifiedmlir/test/lib/Transforms/CMakeLists.txt
The file was modifiedmlir/test/lib/Transforms/TestLoopFusion.cpp
The file was modifiedmlir/tools/mlir-opt/mlir-opt.cpp
The file was modifiedmlir/lib/Transforms/AffineDataCopyGeneration.cpp
The file was modifiedmlir/test/Transforms/affine-data-copy.mlir
The file was modifiedmlir/lib/Transforms/Utils/LoopUtils.cpp
The file was addedmlir/test/lib/Transforms/TestAffineDataCopy.cpp
The file was modifiedmlir/test/Transforms/dma-generate.mlir
Commit 8dc659c131f830911e9dd0c83f3b7a884c027739 by craig.topper
[Hexagon] Add an explicit makeArrayRef to pacify gcc 5.5

The array seemed to have decayed to a pointer before the ArrayRef
constructor got called so there was no size information available.
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
Commit 1fe6e6fd85f7da3b216fbb189ce365303512ad35 by craig.topper
[llvm-exegesis] Rename range based for loop variable in a unit test so its different than the container being iterated over. NFC

It seems like gcc 5.5 wants to iterate over the new variable instead
of the container that lives outside the loop. But of course this
new container is empty.

Plus using a different variable names makes the code more readable.
The file was modifiedllvm/tools/llvm-exegesis/lib/SnippetGenerator.h
Commit 86dceb9bcd9fdc5c24ef51908f330ac8caecbdcf by dan
[compiler-rt] Use the correct minimum version flag for simulators on Apple
platforms.

For the simulators this changes the following compilation flags (
used both for building the runtime and lit tests).

iOS simulator: `-miphoneos-version-min` -> `-mios-simulator-version-min`
watchOS simulator: `-mwatchos-version-min` -> `-mwatchos-simulator-version-min`
tvOS simulator: `-mtvos-version-min` -> `-mtvos-simulator-version-min`

rdar://problem/59463146
The file was modifiedcompiler-rt/cmake/config-ix.cmake
Commit 8337fb00e603613289096bfdce282114ab6e5a7e by dan
[compiler-rt] Add `DARWIN_osx_MIN_VER_FLAG` variable to match the other Apple platforms.

rdar://problem/59463146
The file was modifiedcompiler-rt/cmake/config-ix.cmake
Commit f5951bdc3a2693f896712bc1d25ae4a61accce4c by dan
[compiler-rt] Provide a lit config variable that defines the minimum deployment OS version flag appropriate for the configured OS.

This patch defines `config.apple_platform_min_deployment_target_flag`
in the ASan, LibFuzzer, TSan, and UBSan lit test configs.

rdar://problem/59463146
The file was modifiedcompiler-rt/test/fuzzer/CMakeLists.txt
The file was modifiedcompiler-rt/test/tsan/CMakeLists.txt
The file was modifiedcompiler-rt/test/ubsan/lit.site.cfg.py.in
The file was modifiedcompiler-rt/test/asan/CMakeLists.txt
The file was modifiedcompiler-rt/test/ubsan/CMakeLists.txt
The file was modifiedcompiler-rt/test/fuzzer/lit.site.cfg.py.in
The file was modifiedcompiler-rt/test/asan/lit.site.cfg.py.in
The file was modifiedcompiler-rt/test/lit.common.configured.in
The file was modifiedcompiler-rt/test/tsan/lit.site.cfg.py.in
Commit a7018e8a2edf05370f3b4e3cdc018e1f5bc932de by dan
[compiler-rt] Disable building LibFuzzer for WatchOS and the corresponding simulator.

rdar://problem/59466685
The file was modifiedcompiler-rt/cmake/config-ix.cmake
Commit f4141367d00dc8524626d682c8ad56a11df5c850 by dan
[compiler-rt] Make various Apple lit substitutions work correctly for other Apple platforms.

This change makes the following lit substitutions expand to the correct
thing for macOS, iOS, tvOS, and watchOS.

%darwin_min_target_with_full_runtime_arc_support
%macos_min_target_10_11

rdar://problem/59463146
The file was modifiedcompiler-rt/test/lit.common.cfg.py
Commit baf98375bde77ba4b9705acb3d4312d437f7b9f9 by lebedev.ri
[NFC][llvm-exegesis] CombinationGenerator::performGeneration(): pull put state increment into lambda

This avoids questionable code such as taking address of current
range-based for variable and comparing it with vector begin iterator.
While this may not be a problem in itself, it can be written more consice.
This was initially suggested by @aaronpuchert.
The file was modifiedllvm/tools/llvm-exegesis/lib/SnippetGenerator.h
Commit 4f2cccc5ce89855bfc5cc44f9bb45fec745e7de9 by Jonas Devlieghere
[lldb/Editline] Fix mistake in HistoryOperation mapping

In 0e9b0b6d11e882efec8505d97c4b65e1562e6715 I introduced the
HistoryOperation enum to navigate the history. While this fixed the
behavior of HistoryOperation::Older and HistoryOperation::Newer, it
confused the mapping for HistoryOperation::Oldest and
HistoryOperation::Newest.

I tried to write a PExpect test to make sure this doesn't regress, but
I'm unable to prime the history in such a way that it recalls a known
element. I suspect this is an LLDB bug, but the  most recent entry
doesn't get update with entries from the current session. I considered
spoofing the home directory but that needs to happen before libLLDB is
loaded and you'll need to account for the widechar support. If anyone
has another suggestion I'd love to hear it.
The file was modifiedlldb/source/Host/common/Editline.cpp
Commit 1228d42ddab832a236563515da5e6de3312fd93c by johannes
[OpenMP][Part 2] Use reusable OpenMP context/traits handling

This patch implements an almost complete handling of OpenMP
contexts/traits such that we can reuse most of the logic in Flang
through the OMPContext.{h,cpp} in llvm/Frontend/OpenMP.

All but construct SIMD specifiers, e.g., inbranch, and the device ISA
selector are define in `llvm/lib/Frontend/OpenMP/OMPKinds.def`. From
these definitions we generate the enum classes `TraitSet`,
`TraitSelector`, and `TraitProperty` as well as conversion and helper
functions in `llvm/lib/Frontend/OpenMP/OMPContext.{h,cpp}`.

The above enum classes are used in the parser, sema, and the AST
attribute. The latter is not a collection of multiple primitive variant
arguments that contain encodings via numbers and strings but instead a
tree that mirrors the `match` clause (see `struct OpenMPTraitInfo`).

The changes to the parser make it more forgiving when wrong syntax is
read and they also resulted in more specialized diagnostics. The tests
are updated and the core issues are detected as before. Here and
elsewhere this patch tries to be generic, thus we do not distinguish
what selector set, selector, or property is parsed except if they do
behave exceptionally, as for example `user={condition(EXPR)}` does.

The sema logic changed in two ways: First, the OMPDeclareVariantAttr
representation changed, as mentioned above, and the sema was adjusted to
work with the new `OpenMPTraitInfo`. Second, the matching and scoring
logic moved into `OMPContext.{h,cpp}`. It is implemented on a flat
representation of the `match` clause that is not tied to clang.
`OpenMPTraitInfo` provides a method to generate this flat structure (see
`struct VariantMatchInfo`) by computing integer score values and boolean
user conditions from the `clang::Expr` we keep for them.

The OpenMP context is now an explicit object (see `struct OMPContext`).
This is in anticipation of construct traits that need to be tracked. The
OpenMP context, as well as the `VariantMatchInfo`, are basically made up
of a set of active or respectively required traits, e.g., 'host', and an
ordered container of constructs which allows duplication. Matching and
scoring is kept as generic as possible to allow easy extension in the
future.

---

Test changes:

The messages checked in `OpenMP/declare_variant_messages.{c,cpp}` have
been auto generated to match the new warnings and notes of the parser.
The "subset" checks were reversed causing the wrong version to be
picked. The tests have been adjusted to correct this.
We do not print scores if the user did not provide one.
We print spaces to make lists in the `match` clause more legible.

Reviewers: kiranchandramohan, ABataev, RaviNarayanaswamy, gtbercea, grokos, sdmitriev, JonChesterfield, hfinkel, fghanim

Subscribers: merge_guards_bot, rampitec, mgorny, hiraditya, aheejin, fedor.sergeev, simoncook, bollu, guansong, dexonsmith, jfb, s.egerton, llvm-commits, cfe-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D71830
The file was modifiedclang/utils/TableGen/ClangAttrEmitter.cpp
The file was modifiedclang/test/OpenMP/declare_variant_messages.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/AST/OpenMPClause.cpp
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/test/OpenMP/declare_variant_messages.c
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/include/clang/AST/OpenMPClause.h
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/nvptx_declare_variant_device_kind_codegen.cpp
The file was modifiedclang/lib/Basic/OpenMPKinds.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPContext.h
The file was modifiedclang/include/clang/Serialization/ASTRecordReader.h
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedllvm/lib/Frontend/OpenMP/OMPContext.cpp
The file was modifiedllvm/unittests/Frontend/OpenMPContextTest.cpp
The file was modifiedclang/include/clang/Parse/Parser.h
The file was modifiedclang/include/clang/Basic/OpenMPKinds.h
The file was modifiedclang/include/clang/Basic/OpenMPKinds.def
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/test/OpenMP/declare_variant_mixed_codegen.cpp
The file was modifiedclang/include/clang/Serialization/ASTRecordWriter.h
The file was modifiedclang/test/OpenMP/declare_variant_device_kind_codegen.cpp
The file was modifiedclang/test/OpenMP/declare_variant_ast_print.cpp
The file was modifiedclang/include/clang/AST/Attr.h
The file was modifiedclang/test/OpenMP/declare_variant_ast_print.c
Commit b7be6b480b8681902e4b7aa4eb479ccedbde1990 by Lang Hames
[lli] Add a '-dlopen <library-path>' option to lli.

Passing '-dlopen <library-path>' to lli will cause the specified library to be
loaded (via llvm::sys::DynamicLibrary::LoadLibraryPermanently) before JIT'd code
is executed, making the library's symbols accessible to JIT'd code.
The file was modifiedllvm/tools/lli/lli.cpp
Commit 01b02a73de78146c2072e0b5399d2a40c01eca08 by akhuang
Don't call computeHostNumPhysicalCores when LLVM_ENABLE_THREADS is off

Summary:
Fix change from 8404aeb56a73 to avoid calling
computeHostNumPhysicalCores if LLVM_ENABLE_THREADS is off.

Reviewers: rnk, aganea

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74654
The file was modifiedllvm/lib/Support/Host.cpp
Commit 7cbb107feb45a58f34199d2da4b84f8670c1c831 by johannes
[Attributor][FIX] Validate the type for AAValueConstantRange as needed

Due to the genericValueTraversal we might visit values for which we did
not create an AAValueConstantRange object, e.g., as they are behind a
PHI or select or call with `returned` argument. As a consequence we need
to validate the types as we are about to query AAValueConstantRange for
operands.
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/range.ll
Commit 859654c065583a320d3621d22a09cad89abfc3e9 by johannes
[FIX] Add missing InGroup to warning introduced as part of D71830
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
Commit 1a93285c686a4ad6e4311f55898cb116ca51b5b0 by rnk
Fix -Wstring-compare warnings in new OpenMP code
The file was modifiedllvm/lib/Frontend/OpenMP/OMPContext.cpp
Commit 2504f14a06872f2e1755a88b3aab7e6bc280bec7 by dschuff
[WebAssembly] Add section names for some DWARF5 sections

Summary:
Addresses PR44728 but no tests because I've not yet made any attempt to verify
correctness of the debug info.

Reviewers: sbc100, aardappel

Differential Revision: https://reviews.llvm.org/D74656
The file was modifiedllvm/lib/MC/MCObjectFileInfo.cpp
Commit 922197d664d34612e0bd657b066a0bf0d392e774 by Stanislav.Mekhanoshin
[TBLGEN] Allow to override RC weight

Differential Revision: https://reviews.llvm.org/D74509
The file was modifiedllvm/lib/Target/AMDGPU/R600RegisterInfo.cpp
The file was modifiedllvm/utils/TableGen/CodeGenRegisters.h
The file was addedllvm/test/TableGen/rc-weight-override.td
The file was modifiedllvm/lib/Target/AMDGPU/R600RegisterInfo.h
The file was modifiedllvm/include/llvm/Target/Target.td
The file was modifiedllvm/utils/TableGen/CodeGenRegisters.cpp
The file was modifiedllvm/utils/TableGen/RegisterInfoEmitter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600RegisterInfo.td
Commit 3bb0ff8341fc4ac8330f5315fe554cef0223aee1 by Matthew.Arsenault
GlobalISel: Remove unused function argument
The file was modifiedllvm/lib/CodeGen/GlobalISel/InstructionSelector.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/Utils.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/Utils.h
Commit 60fea2713d3f37d70383aacaa75f61344cc3234a by Matthew.Arsenault
AMDGPU/GlobalISel: Improve 16-bit bswap

Match the new DAG behavior and use v_perm_b32 when available. Also
does better on SI/CI by expanding 16-bit swaps. Also fix
non-power-of-2 cases.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-bswap.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/bswap.ll
Commit 630b47e5185c7c11dd6e88844134b8e19d00d57b by Matthew.Arsenault
AMDGPU: Use generated checks for memcpy expansion
The file was modifiedllvm/test/CodeGen/AMDGPU/lower-mem-intrinsics.ll
Commit dc3e499dd4a6bd0882ca0af453cea99620320ffe by Matthew.Arsenault
AMDGPU/GlobalISel: Fix G_EXTRACT of 96-bit results

This would assert on an unhandled size in getRegSplitParts.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-extract.mir
Commit cb36bfa3de3ecba0e30de766999243eb72360533 by akhuang
Fix 01b02a73de78 to use correct macro spelling and fix unit tests.
The file was modifiedllvm/lib/Support/Host.cpp
The file was modifiedllvm/unittests/Support/Host.cpp
Commit 65dbdc329f6ca171fc78393ffd2eada859185c85 by arsenm2
AMDGPU: Don't preserve analyses with div64 IR expansion

The dominator tree needs to be updated, but that isn't handled now.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/srem64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/urem64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sdiv64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/udiv64.ll
Commit 282f5d7ad1637b47da7cbc505e0afaa3870df5c7 by johannes
[Attributor] Derive memory location attributes (argmemonly, ...)

In addition to memory behavior attributes (readonly/writeonly) we now
derive memory location attributes (argmemonly/inaccessiblememonly/...).
The former is part of AAMemoryBehavior and the latter part of
AAMemoryLocation. While they are similar in nature it got messy when
they were put in a single AA. Location attributes for arguments and
floating values will follow later.

Note that both memory attributes kinds can derive readnone. If there are
no accesses AAMemoryBehavior will derive readnone. If there are accesses
but only to stack (=local) locations AAMemoryLocation will derive
readnone.

Reviewed By: uenoku

Differential Revision: https://reviews.llvm.org/D73426
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/byval-2.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/fp80.ll
The file was modifiedllvm/test/Transforms/Attributor/nosync.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/X86/min-legal-vector-width.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/range.ll
The file was modifiedllvm/test/Transforms/Attributor/read_write_returned_arguments_scc.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead.ll
The file was addedllvm/test/Transforms/Attributor/memory_locations.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/attrs.ll
The file was modifiedllvm/test/Transforms/Attributor/nofree.ll
The file was modifiedllvm/lib/Transforms/Utils/CallGraphUpdater.cpp
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/byval.ll
The file was modifiedllvm/test/Transforms/Attributor/willreturn.ll
The file was modifiedllvm/test/Transforms/Attributor/liveness.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/2009-09-24-byval-ptr.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/X86/attributes.ll
Commit 1cae2f9d192c69833e22684ca338660942ab464e by shiva0217
[RISCV] Correct the CallPreservedMask for the function call in an interrupt handler

CallPreservedMask is used to describe the register liveness after a
function call. The function call in an interrupt handler should use the same
CallPreservedMask as normal functions. So that only callee save registers
can live through the function call.
The file was addedllvm/test/CodeGen/RISCV/interrupt-attr-callee.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
Commit 83bea6d99dd17d893b7160e045700aef6173a49d by Jason Molenda
Remove 'process launch failed:' message prefix in Target::Launch

SB API clients can describe the failure message in a more natural
way for their UI, this doesn't add information for them.

Differential Revision: https://reviews.llvm.org/D74585
<rdar://problem/49953304>
The file was modifiedlldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
The file was modifiedlldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py
The file was modifiedlldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp
The file was modifiedlldb/source/Target/Target.cpp
The file was modifiedlldb/test/Shell/Process/Windows/launch_failure.yaml
Commit ead0b76382a5a20e8164583d86900de5b3fa9288 by thakis
[gn build] Make build locally deterministic

This follows http://blog.llvm.org/2019/11/deterministic-builds-with-clang-and-lld.html
to make the GN build locally deterministic.

With this, I've built lld at two different build paths on my Windows box and got
identical binaries. (I'd expect the same to happen on Linux, and with other
binaries.)

This doesn't have the bits to get universal determinism yet.

Differential Revision: https://reviews.llvm.org/D74519
The file was addedllvm/utils/gn/docs/deterministic.md
The file was modifiedllvm/utils/gn/build/BUILD.gn
The file was modifiedllvm/utils/gn/build/toolchain/BUILD.gn
Commit a55daa146166353236aa528546397226bee9363b by maskray
[MC] De-capitalize some MCStreamer::Emit* functions
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DIE.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
The file was modifiedllvm/include/llvm/MC/MCWasmStreamer.h
The file was modifiedllvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp
The file was modifiedllvm/lib/MC/MCWinCOFFStreamer.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was modifiedllvm/tools/dsymutil/DwarfStreamer.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/lib/MC/MCParser/WasmAsmParser.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/ARMException.cpp
The file was modifiedllvm/lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/SnippetFile.cpp
The file was modifiedllvm/lib/Object/RecordStreamer.cpp
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was modifiedllvm/lib/Target/MSP430/AsmParser/MSP430AsmParser.cpp
The file was modifiedllvm/lib/MC/MCMachOStreamer.cpp
The file was modifiedllvm/lib/MC/MCStreamer.cpp
The file was modifiedllvm/lib/Target/X86/X86MCInstLower.cpp
The file was modifiedllvm/lib/MC/MCContext.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMWinCOFFStreamer.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
The file was modifiedllvm/lib/MC/MCNullStreamer.cpp
The file was modifiedllvm/include/llvm/MC/MCXCOFFStreamer.h
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h
The file was modifiedllvm/tools/llvm-dwp/DWPStringPool.h
The file was modifiedllvm/include/llvm/MC/MCObjectStreamer.h
The file was modifiedllvm/include/llvm/MC/MCStreamer.h
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
The file was modifiedllvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
The file was modifiedllvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
The file was modifiedllvm/lib/MC/MCParser/COFFAsmParser.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
The file was modifiedllvm/lib/MC/ConstantPools.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonAsmPrinter.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.h
The file was modifiedllvm/lib/MC/MCParser/DarwinAsmParser.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modifiedllvm/lib/MC/MCObjectStreamer.cpp
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
The file was modifiedllvm/lib/MC/MCELFStreamer.cpp
The file was modifiedllvm/lib/Target/X86/X86AsmPrinter.cpp
The file was modifiedllvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
The file was modifiedllvm/lib/MC/MCCodeView.cpp
The file was modifiedllvm/include/llvm/MC/MCELFStreamer.h
The file was modifiedllvm/include/llvm/MC/MCWinCOFFStreamer.h
The file was modifiedllvm/lib/Target/MSP430/MCTargetDesc/MSP430ELFStreamer.cpp
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp
The file was modifiedllvm/lib/MC/MCAsmStreamer.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
The file was modifiedllvm/tools/llvm-mca/CodeRegionGenerator.cpp
The file was modifiedllvm/tools/llvm-dwp/llvm-dwp.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonTargetStreamer.h
The file was modifiedllvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfStringPool.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
The file was modifiedllvm/lib/MC/MCWasmStreamer.cpp
The file was modifiedllvm/lib/MC/MCParser/ELFAsmParser.cpp
The file was modifiedllvm/lib/Target/BPF/BTFDebug.cpp
The file was modifiedllvm/lib/Target/XCore/XCoreAsmPrinter.cpp
The file was modifiedllvm/lib/Target/ARM/ARMAsmPrinter.cpp
The file was modifiedllvm/lib/Target/Mips/MipsAsmPrinter.cpp
The file was modifiedllvm/lib/MC/MCDwarf.cpp
The file was modifiedllvm/lib/Object/RecordStreamer.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/MC/MCXCOFFStreamer.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/WinException.cpp
The file was modifiedllvm/lib/Target/AVR/MCTargetDesc/AVRTargetStreamer.cpp
Commit 6d2d589b06fcb31220bdf5aa09b7a6d5b34ef252 by maskray
[MC] De-capitalize another set of MCStreamer::Emit* functions

Emit{ValueTo,Code}Alignment Emit{DTP,TP,GP}* EmitSymbolValue etc
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
The file was modifiedllvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was modifiedllvm/lib/Target/BPF/BTFDebug.cpp
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCELFStreamer.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
The file was modifiedllvm/tools/dsymutil/DwarfStreamer.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/WasmException.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
The file was modifiedllvm/lib/MC/MCParser/DarwinAsmParser.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/WinException.cpp
The file was modifiedllvm/lib/MC/MCWin64EH.cpp
The file was modifiedllvm/lib/Object/RecordStreamer.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
The file was modifiedllvm/lib/MC/MCDwarf.cpp
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
The file was modifiedllvm/include/llvm/MC/MCELFStreamer.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
The file was modifiedllvm/lib/MC/MCMachOStreamer.cpp
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86WinCOFFTargetStreamer.cpp
The file was modifiedllvm/lib/MC/MCNullStreamer.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonTargetStreamer.h
The file was modifiedllvm/lib/Target/XCore/XCoreAsmPrinter.cpp
The file was modifiedllvm/include/llvm/MC/MCWinCOFFStreamer.h
The file was modifiedllvm/lib/Target/ARM/ARMAsmPrinter.cpp
The file was modifiedllvm/tools/llvm-mca/CodeRegionGenerator.cpp
The file was modifiedllvm/lib/CodeGen/FaultMaps.cpp
The file was modifiedllvm/lib/Target/X86/X86AsmPrinter.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/lib/MC/MCWinCOFFStreamer.cpp
The file was modifiedllvm/lib/MC/MCAsmStreamer.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/SnippetFile.cpp
The file was modifiedllvm/lib/CodeGen/StackMaps.cpp
The file was modifiedllvm/lib/Target/ARM/ARMMCInstLower.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/lib/Target/X86/X86MCInstLower.cpp
The file was modifiedllvm/lib/Target/Sparc/SparcAsmPrinter.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
The file was modifiedllvm/lib/MC/MCWasmStreamer.cpp
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfStringPool.cpp
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp
The file was modifiedllvm/include/llvm/MC/MCObjectStreamer.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp
The file was modifiedllvm/test/MC/RISCV/align.s
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
The file was modifiedllvm/include/llvm/MC/MCStreamer.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AddressPool.cpp
The file was modifiedllvm/lib/MC/MCObjectStreamer.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonAsmPrinter.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCELFStreamer.cpp
The file was modifiedllvm/lib/Object/RecordStreamer.h
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
The file was modifiedllvm/lib/MC/MCXCOFFStreamer.cpp
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
The file was modifiedllvm/lib/Target/MSP430/MSP430AsmPrinter.cpp
The file was modifiedllvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
The file was modifiedllvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/ARMException.cpp
The file was modifiedllvm/lib/Target/Mips/MipsAsmPrinter.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsELFStreamer.h
The file was modifiedllvm/lib/MC/MCAsmInfo.cpp
The file was modifiedllvm/lib/MC/MCParser/ELFAsmParser.cpp
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
The file was modifiedllvm/lib/Target/TargetLoweringObjectFile.cpp
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
The file was modifiedllvm/include/llvm/MC/MCWasmStreamer.h
The file was modifiedllvm/lib/MC/ConstantPools.cpp
The file was modifiedllvm/lib/MC/MCCodeView.cpp
The file was modifiedllvm/lib/MC/MCELFStreamer.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/MC/MCStreamer.cpp
The file was modifiedllvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
The file was modifiedllvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp
Commit 8d8d46b57a479ece4e512958307ba173e52605f1 by arsenm2
AMDGPU/GlobalISel: Fix missing impdef of scc on boolean bit ops
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-or.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-xor.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-and.mir
Commit 89fa653d721458f84df12d4e8b4ca4708a34792a by maskray
[llvm-ranlib][test] Fix rwx- after a4f3847f3d5742cfab7acdc614e7ca54643e0c85
The file was modifiedllvm/test/tools/llvm-ranlib/D-flag.test
Commit b4352e43d86e0b2ab93665e46c9cb9bddef3fd7a by johannes
[Attributor][FIX] Do not RAUW void values

This caused an error when passes iterated over cached assumptions in the
tracker and assumed them to be `null` or an instruction. I failed to
create a test case so far.
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 32e98a7089a591f0417a7fbd9806be1b60da7e8f by johannes
[Attributor][FIX] Carefully strip casts in AANoAlias

We can strip casts in AANoAlias but that might cause us to end up with a
non-pointer type. We do properly handle that case now.
The file was modifiedllvm/test/Transforms/Attributor/noalias.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 40b30672182829a053a243c54947c362ce49f68e by johannes
[Attributor][NFC] Add check lines for tests
The file was modifiedllvm/test/Transforms/Attributor/range.ll
Commit 137c99a6a5cd419086824035c1498baddbd46962 by johannes
[Attributor][FIX] Restrict cross-SCC call deletion

If we know a call was not needed we might have ended up deleting it even
if it was in a different SCC. This prevents us from doing so.
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead.ll
The file was modifiedllvm/test/Transforms/Attributor/range.ll
Commit b53af0e7f952feb0a54eff2ef9c9e38e62620a4b by johannes
[Attributor][FIX] Collapse `undef` to a proper value

If we see an undef we cannot assume it's the same as "no value". For now
we just collapse it to 0.
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/range.ll
The file was modifiedllvm/test/Transforms/Attributor/undefined_behavior.ll
Commit ad121ea14d85ea3216048d4e956eb234899f41f7 by johannes
[Attributor] Manifest simplified (return) values properly

If we simplify a function return value we have to modify the return
instructions.
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/PR16052.ll
Commit b70297a39ab9c8ad27e5681928b10073ed7db2fb by johannes
[Attributor][FIX] Ensure abstract attributes are existing before manifest

While the function return updateImpl did only look at call sites the
manifest method looked at return values. If we don't do this during the
updateImpl we might create new abstract attributes during manifest. This
is a problem when it comes to liveness information.
The file was addedllvm/test/Transforms/Attributor/reduced/register_benchmark_test.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 0fbe2215438b6598b4bc54c64812cab792ba5862 by maskray
[MC][ELF] Make linked-to symbol name part of ELFSectionKey

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

This rule has been implemented by GNU as https://sourceware.org/ml/binutils/2020-02/msg00028.html (binutils >= 2.35)

It allows us to simplify

```
.section .foo,"o",foo,unique,0
.section .foo,"o",bar,unique,1  # different section
```

to

```
.section .foo,"o",foo
.section .foo,"o",bar  # different section
```

We consider the two `.foo` different even if the linked-to symbols foo and bar
are defined in the same section.  This is a deliberate choice so that we don't
need to know the section where foo and bar are defined beforehand.

Differential Revision: https://reviews.llvm.org/D74006
The file was modifiedllvm/test/CodeGen/AArch64/patchable-function-entry-bti.ll
The file was modifiedllvm/include/llvm/MC/MCContext.h
The file was modifiedllvm/test/CodeGen/AArch64/patchable-function-entry.ll
The file was modifiedllvm/test/CodeGen/X86/patchable-function-entry.ll
The file was modifiedllvm/lib/MC/MCContext.cpp
The file was addedllvm/test/MC/ELF/section-combine.s
The file was modifiedllvm/test/CodeGen/X86/patchable-function-entry-ibt.ll
The file was removedllvm/test/MC/ELF/comdat-dup-group-name.s
Commit 1dc16c752dd3dcd41ed320c2ea7647ea5bd7736e by maskray
[MC] Add MCSection::NonUniqueID and delete one MCContext::getELFSection overload
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/lib/Target/ARM/ARMTargetObjectFile.cpp
The file was modifiedllvm/lib/MC/MCContext.cpp
The file was modifiedllvm/include/llvm/MC/MCSection.h
The file was modifiedllvm/include/llvm/MC/MCContext.h
The file was modifiedllvm/include/llvm/MC/MCSectionELF.h
Commit f554e27224b9fd888d5c803e555425076d5a8c1a by maskray
[AsmPrinter] Omit unique ID for __patchable_function_entries sections

Follow-up for D74006.

When the integrated assembler is used, we use SHF_LINK_ORDER.  The
linked-to symbol is part of ELFSectionKey, thus we can omit the unique
ID.
The file was modifiedllvm/test/CodeGen/X86/patchable-function-entry.ll
The file was modifiedllvm/include/llvm/CodeGen/AsmPrinter.h
The file was modifiedllvm/test/CodeGen/AArch64/patchable-function-entry-bti.ll
The file was modifiedllvm/test/CodeGen/AArch64/patchable-function-entry.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/X86/patchable-function-entry-ibt.ll
Commit 8bc790f9e6a6fc6d8fe8f41a7120269366fa0957 by diogo.sampaio
[AArch64][FPenv] Update chain of int to fp conversion

Summary:
When using strict fp, it is required to update the
chain when performing integer type promotion of a
operand to a integer to floating point conversion.

Reviewers: craig.topper, john.brawn

Reviewed By: craig.topper

Subscribers: kristof.beyls, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74597
The file was addedllvm/test/CodeGen/AArch64/strict-fp-int-promote.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
Commit 895cad1a133a9ec5fc3ebc042491aa78256d797f by maskray
[AsmPrinter][XRay] Omit unique ID for xray_instr_map and xray_fn_idx

Follow-up for D74006.
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/xray-attribute-instrumentation.ll
The file was modifiedllvm/include/llvm/CodeGen/AsmPrinter.h
The file was modifiedllvm/test/CodeGen/X86/xray-section-group.ll
The file was modifiedllvm/test/CodeGen/Mips/xray-section-group.ll
The file was modifiedllvm/test/DebugInfo/X86/xray-split-dwarf-interaction.ll
Commit 6b14814e10cf2a42d954d5adb9657cb083997827 by maskray
[AsmPrinter] Omit unique ID for .stack_sizes

Follow-up for D74006.
The file was modifiedllvm/lib/MC/MCObjectFileInfo.cpp
The file was modifiedllvm/test/CodeGen/SystemZ/stack-size-section.ll
The file was modifiedllvm/test/CodeGen/X86/stack-size-section.ll
The file was modifiedllvm/test/CodeGen/X86/stack-size-section-function-sections.ll
The file was modifiedllvm/include/llvm/MC/MCObjectFileInfo.h
The file was modifiedllvm/test/CodeGen/ARM/stack-size-section.ll
Commit fd5665af2cd28055e8d532f0a93d6c063587eed8 by maskray
[Attributor] Fix -Wunused-variable for -DLLVM_ENABLE_ASSERTIONS=off builds after b4352e43d86e
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 577c9b02ab572b7767420a34b4de8d5e19347117 by johannes
[OpenMP][NFCI] Use the libFrontend DefaultKind in Clang

This swaps out the OpenMPDefaultClauseKind enum with a
llvm::omp::DefaultKind enum which is stored in OMPConstants.h.

This should not change any functionality.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D74513
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedclang/include/clang/Basic/OpenMPKinds.h
The file was modifiedclang/lib/Basic/OpenMPKinds.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/include/clang/AST/OpenMPClause.h
The file was modifiedclang/include/clang/Basic/OpenMPKinds.def
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPConstants.h
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/AST/OpenMPClause.cpp
Commit 5313abdbca802d842ba1d27729420d186f653a2d by johannes
[OpenMP][NFC] Update OpenMPSupport table
The file was modifiedclang/docs/OpenMPSupport.rst
Commit 2101590a78b7189f89aa06513eeea2dee6a3c45a by riddleriver
NFC: add indexing operator for ArrayAttr

Summary: - add ArrayAttr::operator[](unsigned idx)

Differential Revision: https://reviews.llvm.org/D74663
The file was modifiedmlir/test/lib/TestDialect/TestOps.td
The file was modifiedmlir/include/mlir/IR/Attributes.h
The file was modifiedmlir/test/lib/TestDialect/TestDialect.cpp
The file was modifiedmlir/examples/toy/Ch7/mlir/ToyCombine.cpp
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/test/mlir-tblgen/predicate.td
The file was modifiedmlir/docs/Tutorials/Toy/Ch-7.md
The file was modifiedmlir/lib/Dialect/VectorOps/VectorOps.cpp
The file was modifiedmlir/lib/IR/Attributes.cpp
The file was modifiedmlir/docs/DeclarativeRewrites.md
Commit 774971030df946916b11fcdb1691511c3c1e27b7 by maskray
[MCStreamer] De-capitalize EmitValue EmitIntValue{,InHex}
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DIE.cpp
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86WinCOFFTargetStreamer.cpp
The file was modifiedllvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
The file was modifiedllvm/lib/Target/MSP430/MCTargetDesc/MSP430ELFStreamer.cpp
The file was modifiedllvm/lib/MC/MCAsmStreamer.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
The file was modifiedllvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AddressPool.cpp
The file was modifiedllvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
The file was modifiedllvm/lib/MC/MCStreamer.cpp
The file was modifiedllvm/lib/Target/BPF/BTFDebug.cpp
The file was modifiedllvm/tools/llvm-dwp/llvm-dwp.cpp
The file was modifiedllvm/lib/Target/AVR/AsmParser/AVRAsmParser.cpp
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.cpp
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsELFStreamer.h
The file was modifiedllvm/lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
The file was modifiedllvm/include/llvm/CodeGen/DIE.h
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
The file was modifiedllvm/lib/Target/X86/X86AsmPrinter.cpp
The file was modifiedllvm/lib/MC/MCELFStreamer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
The file was modifiedllvm/lib/CodeGen/FaultMaps.cpp
The file was modifiedllvm/tools/dsymutil/DwarfStreamer.cpp
The file was modifiedllvm/lib/MC/MCParser/ELFAsmParser.cpp
The file was modifiedllvm/lib/Target/MSP430/AsmParser/MSP430AsmParser.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
The file was modifiedllvm/lib/MC/MCDwarf.cpp
The file was modifiedllvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
The file was modifiedllvm/include/llvm/MC/MCStreamer.h
The file was modifiedllvm/lib/Target/AMDGPU/R600AsmPrinter.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h
The file was modifiedllvm/lib/CodeGen/StackMaps.cpp
The file was modifiedllvm/lib/MC/ConstantPools.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was modifiedllvm/lib/MC/MCWin64EH.cpp
The file was modifiedllvm/lib/MC/MCObjectStreamer.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfStringPool.cpp
The file was modifiedllvm/lib/Target/AVR/MCTargetDesc/AVRMCELFStreamer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
The file was modifiedllvm/lib/MC/MCCodeView.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
The file was modifiedllvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.cpp
The file was modifiedllvm/lib/Target/ARM/ARMAsmPrinter.cpp
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsOptionRecord.cpp
The file was modifiedllvm/lib/Target/AVR/MCTargetDesc/AVRMCELFStreamer.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/WinException.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonAsmPrinter.cpp
Commit 7438059a90326d4fe46377bf1833180333b48fff by johannes
[OpenMP][OMPIRBuilder] Add Directives (master and critical) to OMPBuilder.

Add support for Master and Critical directive in the OMPIRBuilder. Both make use of a new common interface for emitting inlined OMP regions called `emitInlinedRegion` which was added in this patch as well.

Also this patch modifies clang to use the new directives when  `-fopenmp-enable-irbuilder` commandline option is passed.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D72304
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedclang/test/OpenMP/critical_codegen.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
The file was modifiedllvm/lib/Frontend/OpenMP/OMPConstants.cpp
The file was modifiedclang/test/OpenMP/master_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedllvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
The file was modifiedllvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPConstants.h
Commit 803ad3137b6b81afca487e6b661460e05089699b by johannes
[FIX] Repair clang-tidy check after D72304
The file was modifiedclang-tools-extra/clang-tidy/openmp/UseDefaultNoneCheck.cpp
Commit b91c267380ff2e940a6d37a14cfb0b5057555b60 by johannes
[FIX] Remove warnings and UB after 1228d42ddab8
The file was modifiedllvm/lib/Frontend/OpenMP/OMPContext.cpp