Changes

Summary

  1. [lldb/Test] s/skipIfDarwinEmbedded/skipIfRemote/ in VSCode tests. (details)
  2. [Attributor][FIX] Do not create new calls edge we cannot handle (details)
  3. [Attributor] Generalize `getAssumedConstantInt` interface (details)
  4. TableGen: Fix logic for default operands (details)
  5. [Attributor][FIX] Avoid setting wrong load/store alignments (details)
  6. [Attributor] Use existing `returned` information better (details)
  7. [Attributor][NFC] Add more memory_location tests (details)
  8. [Attributor][NFC] Improve the debug output & add a TODO (details)
  9. [MustExecute] Add backward exploration for must-be-executed-context (details)
  10. [ELF][test] Fix section sh_type and sh_flags (details)
  11. Fix compiler extension in standalone mode (details)
Commit 14fb31795a4bd25798bc2788dd4d4e38e3ea41c7 by Jonas Devlieghere
[lldb/Test] s/skipIfDarwinEmbedded/skipIfRemote/ in VSCode tests.

As pointed out on lldb-commits this skipIfRemote is the better fit for
the decorator.
The file was modifiedlldb/test/API/tools/lldb-vscode/variables/TestVSCode_variables.py
The file was modifiedlldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
The file was modifiedlldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py
The file was modifiedlldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py
The file was modifiedlldb/test/API/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py
The file was modifiedlldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py
The file was modifiedlldb/test/API/tools/lldb-vscode/step/TestVSCode_step.py
The file was modifiedlldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py
Commit 16188f9d70d77ca9ff1d1d2ff2db64479341e9bf by johannes
[Attributor][FIX] Do not create new calls edge we cannot handle

If we propagate function pointers across function boundaries we can
create new call edges. These need to be represented in the CG if we run
as a CGSCC pass. In the new pass manager that is currently not handled
by the CallGraphUpdater so we need to prevent the situation for now.
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit e1eed6c5b9faf89491beaa592180a1c96fe13e0e by johannes
[Attributor] Generalize `getAssumedConstantInt` interface

We are often interested in an assumed constant and sometimes it has to
be an integer constant. Before we only looked for the latter, now we can
ask for either.
The file was modifiedllvm/test/Transforms/Attributor/align.ll
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/thread_local_acs.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/chained.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/arg-count-mismatch.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/2008-07-02-array-indexing.ll
The file was modifiedllvm/test/Transforms/Attributor/liveness.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead_2.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/musttail-call.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/pthreads.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit de6e968c0d44d21b16da9b6ec07599e529b8482a by arsenm2
TableGen: Fix logic for default operands

This was checking for default operands in the current DAG instruction,
rather than the correct result operand list. I'm not entirly sure how
this managed to work before, but was failing for me when multiple
default operands were overridden.
The file was modifiedllvm/utils/TableGen/CodeGenDAGPatterns.cpp
The file was modifiedllvm/test/TableGen/DefaultOpsGlobalISel.td
Commit a801ee869dede6fcef4e6970e94f1a87dc805b76 by johannes
[Attributor][FIX] Avoid setting wrong load/store alignments
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/returned.ll
The file was modifiedllvm/test/Transforms/Attributor/align.ll
Commit f8ad735729bf8892d71863b4da44ca2dde24d778 by johannes
[Attributor] Use existing `returned` information better

We can look through calls with `returned` argument attributes when we
collect subsuming positions. This allows us to get existing attributes
from more places.
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/returned.ll
Commit 3c4da4d7454404b4b4b2376f089226443709f05c by johannes
[Attributor][NFC] Add more memory_location tests
The file was modifiedllvm/test/Transforms/Attributor/memory_locations.ll
Commit 8e76fec0ae89d724a8d20d48f34c6c596404b916 by johannes
[Attributor][NFC] Improve the debug output & add a TODO
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit e253cdda35eb24f29170aaaf102caed94a85201c by uenoku.tokotoko
[MustExecute] Add backward exploration for must-be-executed-context

Summary:
As mentioned in D71974, it is useful for must-be-executed-context to explore CFG backwardly.
This patch is ported from parts of D64975. We use a dominator tree to find the previous context if
a dominator tree is available.

Reviewers: jdoerfert, hfinkel, baziotis, sstefan1

Reviewed By: jdoerfert

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74817
The file was modifiedllvm/test/Analysis/MustExecute/must_be_executed_context.ll
The file was modifiedllvm/include/llvm/Analysis/MustExecute.h
The file was modifiedllvm/test/Transforms/Attributor/misc.ll
The file was modifiedllvm/test/Transforms/Attributor/heap_to_stack.ll
The file was modifiedllvm/test/Transforms/Attributor/nonnull.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/test/Transforms/Attributor/dereferenceable-1.ll
The file was modifiedllvm/lib/Analysis/MustExecute.cpp
Commit d6d640ebae65d7a9f556f3a957a7b36d025dd16f by maskray
[ELF][test] Fix section sh_type and sh_flags

A future MC change may add a warning/error when a .section directive
specifies incorrect sh_flags/sh_type.
The file was modifiedlld/test/ELF/invalid-cie-length2.s
The file was modifiedlld/test/ELF/Inputs/eh-frame-pcrel-overflow.s
The file was modifiedlld/test/ELF/eh-frame-value-format5.s
The file was modifiedlld/test/ELF/eh-frame-begin-end.s
The file was modifiedlld/test/ELF/eh-frame-value-format2.s
The file was modifiedlld/test/ELF/invalid-cie-length4.s
The file was modifiedlld/test/ELF/ppc64-ld-got-dtprel.s
The file was modifiedlld/test/ELF/linkerscript/compress-debug-sections.s
The file was removedlld/test/ELF/Inputs/eh-frame-end.s
The file was modifiedlld/test/ELF/invalid-cie-length3.s
The file was modifiedlld/test/ELF/eh-frame-value-format4.s
The file was modifiedlld/test/ELF/invalid-eh-frame3.s
The file was modifiedlld/test/ELF/eh-frame-value-format8.s
The file was modifiedlld/test/ELF/no-augmentation.s
The file was modifiedlld/test/ELF/compress-debug-sections-reloc.s
The file was modifiedlld/test/ELF/mips-nonalloc.s
The file was modifiedlld/test/ELF/ehframe-relocation.s
The file was modifiedlld/test/ELF/Inputs/ppc64-sort-small-cm-relocs-input4.s
The file was modifiedlld/test/ELF/eh-frame-value-format6.s
The file was modifiedlld/test/ELF/invalid-eh-frame.s
The file was modifiedlld/test/ELF/invalid-eh-frame8.s
The file was modifiedlld/test/ELF/invalid-eh-frame9.s
The file was modifiedlld/test/ELF/invalid-eh-frame5.s
The file was modifiedlld/test/ELF/linkerscript/compress-debug-sections-custom.s
The file was removedlld/test/ELF/Inputs/mips-nonalloc.s
The file was modifiedlld/test/ELF/eh-frame-value-format1.s
The file was modifiedlld/test/ELF/invalid-eh-frame7.s
The file was modifiedlld/test/ELF/eh-frame-pcrel-overflow.s
The file was modifiedlld/test/ELF/invalid-cie-length.s
The file was modifiedlld/test/ELF/invalid-eh-frame2.s
The file was modifiedlld/test/ELF/mips-micro-relocs.s
The file was modifiedlld/test/ELF/eh-frame-value-format3.s
The file was modifiedlld/test/ELF/eh-frame-value-format9.s
The file was modifiedlld/test/ELF/eh-frame-negative-pcrel-sdata8.s
The file was modifiedlld/test/ELF/linkerscript/Inputs/compress-debug-sections.s
The file was modifiedlld/test/ELF/invalid-cie-reference.s
The file was modifiedlld/test/ELF/eh-frame-negative-pcrel-sdata2.s
The file was modifiedlld/test/ELF/comdat-discarded-reloc.s
The file was modifiedlld/test/ELF/eh-frame-marker.s
The file was modifiedlld/test/ELF/invalid-cie-length5.s
The file was modifiedlld/test/ELF/invalid-eh-frame4.s
The file was modifiedlld/test/ELF/icf16.s
The file was modifiedlld/test/ELF/eh-frame-value-format7.s
The file was modifiedlld/test/ELF/invalid/eh-frame-hdr-no-out.s
The file was modifiedlld/test/ELF/invalid-fde-rel.s
The file was modifiedlld/test/ELF/invalid-eh-frame6.s
The file was modifiedlld/test/ELF/eh-frame-negative-pcrel-sdata4.s
Commit 3a0f6e699bb6d96dc62dce6faef20ac26cf103fd by sguelton
Fix compiler extension in standalone mode

Use a dedicated cmake file to store the extension configured within LLVM. That
way, a standalone build of clang can load this cmake file and get all the
configured standalone extensions.

This patch is related to https://reviews.llvm.org/D74602

Differential Revision: https://reviews.llvm.org/D74757
The file was modifiedllvm/CMakeLists.txt
The file was modifiedclang/CMakeLists.txt
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
The file was modifiedllvm/cmake/modules/CMakeLists.txt