SuccessChanges

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

Summary

  1. Update LLVM_LIT_ARGS for LLDB Arm Linux bots (details)
Commit 353012a742ef606c9cc20702bb6facdf871473db by omair.javaid
Update LLVM_LIT_ARGS for LLDB Arm Linux bots
The file was modifiedbuildbot/osuosl/master/config/builders.py

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

Summary

  1. [Support] Optimize SHA1 implementation (details)
  2. [Attributor] Use must-be-executed-context in align deduction (details)
  3. [yaml2obj/obj2yaml] - Add support for SHT_LLVM_LINKER_OPTIONS sections. (details)
  4. [llvm-readelf/llvm-readobj][test] - Convert elf-linker-options.ll to use (details)
  5. [VFABI] Remove unused variables in testcase, fix buildbot (details)
  6. [X86] Update stale comment. NFC (details)
  7. [X86] Add fptosi test to fp-intrinsics.ll (details)
  8. MCP: Fixed bug with dest overlapping copy source (details)
  9. [NFC][InstCombine] Add tests that show a number of canonicalization (details)
  10. [lldb] Check if we actually have a Clang type in (details)
  11. [lldb][NFC] Remove unused CompilerType::IsPossibleCPlusPlusDynamicType (details)
  12. [lldb][NFC] Move LLVM RTTI implementation from enum to static ID (details)
  13. [lldb] Add missing include to ObjCLanguage.cpp to fix build (details)
  14. [clang-format] [PR36294] AlwaysBreakAfterReturnType works incorrectly (details)
  15. [X86] Add more add/sub carry tests (details)
  16. DWARFDebugLoclists: add location list "interpretation" logic (details)
  17. [lldb][NFC] Simplify a return in (details)
  18. [LoopInterchange] Only skip PHIs with incoming values from the inner (details)
  19. [lldb][test] Macros in expressions require DWARF 5 (details)
  20. [X86] Add PR39464 addcarry/subborrow test cases (details)
  21. FileCheckPattern::FindRegexVarEnd - make helper function static. NFC (details)
  22. [X86] Cleanup prefixes + regenerate for fp-intrinsics-fma.ll (details)
  23. [InstCombine] Skip scalable vectors in combineLoadToOperationType (details)
  24. [AArch64ExpandPseudos] Preserve renamable state when expanding MOVi64 & (details)
  25. [lldb] [Process/NetBSD] Use PT_STOP to stop the process [NFCI] (details)
  26. AArch64: add arm64_32 support to Clang. (details)
  27. Mark llvm::ConstantExpr::getAsInstruction as const (details)
  28. [lldb] Fix some warnings in the python plugin (details)
  29. [lldb] Fix more -Wdeprecated-copy warnings (details)
  30. Revert "Fix lookup of symbols at the same address with no size vs. size" (details)
  31. [Examples] Add IRTransformations directory to examples. (details)
  32. [PowerPC][NFC]Fix typo in desc for enable-ppc-prefetching (details)
  33. [DBG][OPT] Attempt to salvage or undef debug info when removing (details)
  34. [PowerPC] Remove allow-deprecated-dag-overlap and fix broken tests (details)
  35. [Hexagon] Require PS_aligna whenever variable-sized objects are present (details)
  36. [Hexagon] Handle stack realignment in hexagon-vextract (details)
  37. [Hexagon] Convert stack object offsets to int64, NFC (details)
  38. [Hexagon] Fix vector spill expansion to use proper alignment (details)
  39. [SLP] add test for miscompile with reduction (PR43948); NFC (details)
  40. clang/Modules: Error if ReadASTBlock does not find the main module (details)
  41. [lit] Better/earlier errors for empty runs (details)
  42. Performance: Add a set of visited SymbolFiles to the other FindFiles (details)
  43. [Hexagon] Update PS_aligna with max stack alignment once isel completes (details)
  44. [libcxxabi] Prevent cmake from removing our explicit system C++ include (details)
  45. [OPENMP]Use copy constructors instead of assignment operators in declare (details)
Commit 43ff63477256d584cf506dba0c222c28231b0ccc by maskray
[Support] Optimize SHA1 implementation
* Add inline to the helper functions because gcc-9 won't inline all of
them without the hint. I've avoided `__attribute__((always_inline))`
because gcc and clang will inline without it, and improves
compatibility.
* Replace the byte-by-byte copy in update() with endian::readbe32()
since perf reports that 1/2 of the time is spent copying into the
buffer before this patch.
When lld uses --build-id=sha1 it spends 30-45% of CPU in SHA1 depending
on the binary (not wall-time since it is parallel). This patch speeds up
SHA1 by a factor of 2 on clang-8 and 3 on gcc-6. This leads to a >10%
improvement in overall linking time.
lld-speed-test benchmarks run on an Intel i9-9900k with Turbo disabled
on CPU 0 compiled with clang-9. Stats recorded with `perf stat -r 5`.
All inputs are using `--build-id=sha1`.
| Input | Before (seconds) | After (seconds) |
| --- | --- | --- |
| chrome | 2.14 | 1.82 (-15%) |
| chrome-icf | 2.56 | 2.29 (-10%) |
| clang | 0.65 | 0.53 (-18%) |
| clang-fsds | 0.69 | 0.58 (-16%) |
| clang-gdb-index | 21.71 | 19.3 (-11%) |
| gold | 0.42 | 0.34 (-19%) |
| gold-fsds | 0.431 | 0.355 (-17%) |
| linux-kernel | 0.625 | 0.575 (-8%) |
| llvm-as | 0.045 | 0.039 (-14%) |
| llvm-as-fsds | 0.035 | 0.039 (-11%) |
| mozilla | 11.3 | 9.8  (-13%) |
| mozilla-gc | 11.84 | 10.36 (-12%) |
| mozilla-O0 | 8.2 | 5.84 (-28%) |
| scylla | 5.59 | 4.52 (-19%) |
Reviewed By: ruiu, MaskRay
Differential Revision: https://reviews.llvm.org/D69295
The file was modifiedllvm/lib/Support/SHA1.cpp
The file was modifiedllvm/unittests/Support/raw_sha1_ostream_test.cpp
Commit 88b04ef8327cdd45bd1e973ec98be5d71e7b8383 by uenoku.tokotoko
[Attributor] Use must-be-executed-context in align deduction
Summary: This patch introduces align attribute deduction for callsite
argument, function argument, function returned and floating value based
on must-be-executed-context.
Reviewers: jdoerfert, sstefan1
Reviewed By: jdoerfert
Subscribers: hiraditya, jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69797
The file was modifiedllvm/test/Transforms/InferFunctionAttrs/dereferenceable.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_nocapture.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/internal-noalias.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nosync.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/dereferenceable.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nofree-attributor.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/align.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_returned.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit dd101539dac5e464042c04b72090741317d48c23 by grimar
[yaml2obj/obj2yaml] - Add support for SHT_LLVM_LINKER_OPTIONS sections.
SHT_LLVM_LINKER_OPTIONS section contains pairs of null-terminated
strings. This patch adds support for them.
Differential revision: https://reviews.llvm.org/D69895
The file was addedllvm/test/tools/obj2yaml/linker-options.yaml
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was addedllvm/test/tools/yaml2obj/linker-options.yaml
The file was modifiedllvm/tools/obj2yaml/elf2yaml.cpp
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
Commit e80e9b975218c2bd6ca4de8b1035103e43442d7c by grimar
[llvm-readelf/llvm-readobj][test] - Convert elf-linker-options.ll to use
YAML.
This converts elf-linker-options.ll to use yaml2obj instead of llc,
improves and cleanups it a bit.
This opens a road to add an additional tests for checking the broken
cases.
Differential revision: https://reviews.llvm.org/D70004
The file was removedllvm/test/tools/llvm-readobj/elf-linker-options.ll
The file was addedllvm/test/tools/llvm-readobj/elf-linker-options.test
Commit c8e4b536771e2ebb4702da3de0a7e4238b433bbf by mikael.holmen
[VFABI] Remove unused variables in testcase, fix buildbot
E.g. the buildbot at

http://lab.llvm.org:8011/builders/ppc64le-lld-multistage-test/builds/7259/steps/build-stage2-unified-tree/logs/stdio
failed with
/home/buildbots/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/Transforms/Utils/VFABIUtils.cpp:50:22:
error: unused variable 'FnAttrs' [-Werror,-Wunused-variable]
const AttributeSet FnAttrs = Attrs.getFnAttributes();
                    ^ 1 error generated.
The file was modifiedllvm/unittests/Transforms/Utils/VFABIUtils.cpp
Commit ff1504da6fa9977a20e2e3ba11a157cf9acf3bad by craig.topper
[X86] Update stale comment. NFC
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 22a535e91a795e52c8b8c01ad04e3577e9f7ae5b by craig.topper
[X86] Add fptosi test to fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/fp-intrinsics.ll
Commit 07ebd741546e399f3db0a7c08a7fb1932e14080c by tim.renouf
MCP: Fixed bug with dest overlapping copy source
In MachineCopyPropagation, when propagating the source of a copy into
the operand of a later instruction, bail if a destination overlaps
(partly defines) the copy source. If the instruction where the
substitution is happening is also a copy, allowing the propagation
confuses the tracking mechanism.
Differential Revision: https://reviews.llvm.org/D69953
Change-Id: Ic570754f878f2d91a4a50a9bdcf96fbaa240726d
The file was addedllvm/test/CodeGen/AMDGPU/mcp-overlap-after-propagation.mir
The file was modifiedllvm/lib/CodeGen/MachineCopyPropagation.cpp
Commit a85e676916b6babe9a5479ad3425ccce32f1ecaa by suc-daniil
[NFC][InstCombine] Add tests that show a number of canonicalization
opportunities
Reviewers: spatel, RKSimon, lebedev.ri, apilipenko
Reviewed-By: apilipenko
Tags: #llvm
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D68263
The file was addedllvm/test/Transforms/InstCombine/phi-equal-incoming-pointers.ll
Commit bd7d9a85b8b09c945b98d374cc37cb374db012e6 by Raphael Isemann
[lldb] Check if we actually have a Clang type in
ObjCLanguage::GetPossibleFormattersMatches
We call IsPossibleDynamicType but we also need to check if this is a
Clang type, otherwise other languages with dynamic types (like Swift)
might end up being interpreted as potential Obj-C dynamic types.
The file was modifiedlldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp
Commit 6cc853b416a2b0d0b435d145988c5d3b6faaa712 by Raphael Isemann
[lldb][NFC] Remove unused CompilerType::IsPossibleCPlusPlusDynamicType
Reviewers: davide, xiaobai
Reviewed By: davide, xiaobai
Subscribers: davide, JDevlieghere, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D70074
The file was modifiedlldb/include/lldb/Symbol/CompilerType.h
Commit 52f3a2faf92c4d8efd0e626d52d5f64b7c5d468f by Raphael Isemann
[lldb][NFC] Move LLVM RTTI implementation from enum to static ID
variable
Summary: swift-lldb currently has to patch the ExpressionKind enum to
add support for Swift expressions. If we implement LLVM's RTTI with a
static ID variable instead of a centralised enum we can drop that patch.
Reviewers: labath, davide
Reviewed By: labath
Subscribers: JDevlieghere, lldb-commits
Tags: #upstreaming_lldb_s_downstream_patches, #lldb
Differential Revision: https://reviews.llvm.org/D70070
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
The file was modifiedlldb/include/lldb/Expression/UtilityFunction.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp
The file was modifiedlldb/include/lldb/Expression/FunctionCaller.h
The file was modifiedlldb/include/lldb/Expression/UserExpression.h
The file was modifiedlldb/source/Expression/Expression.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.h
The file was modifiedlldb/source/Expression/FunctionCaller.cpp
The file was modifiedlldb/source/Expression/LLVMUserExpression.cpp
The file was modifiedlldb/source/Expression/UtilityFunction.cpp
The file was modifiedlldb/include/lldb/Expression/Expression.h
The file was modifiedlldb/include/lldb/Expression/LLVMUserExpression.h
The file was modifiedlldb/source/Expression/UserExpression.cpp
Commit 874b6495b5fd6d7e2dc91d6a756eea67486ea7bb by Raphael Isemann
[lldb] Add missing include to ObjCLanguage.cpp to fix build
The file was modifiedlldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp
Commit a75f8d98d7ac9e557b238a229a9a2647c71feed1 by paulhoad
[clang-format] [PR36294] AlwaysBreakAfterReturnType works incorrectly
for some operator functions
Summary: https://bugs.llvm.org/show_bug.cgi?id=36294
Addressing bug related to returning after return type not being honoured
for some operator types.
```
$ bin/clang-format --style="{BasedOnStyle: llvm,
AlwaysBreakAfterReturnType: TopLevelDefinitions}" /tmp/foo.cpp class Foo
{ public:
bool operator!() const;
bool operator<(Foo const &) const;
bool operator*() const;
bool operator->() const;
bool operator+() const;
bool operator-() const;
bool f() const;
};
bool Foo::operator!() const { return true; } bool Foo::operator<(Foo
const &) const {
return true;
} bool Foo::operator*() const { return true; } bool Foo::operator->()
const { return true; } bool Foo::operator+() const {
return true;
} bool Foo::operator-() const {
return true;
} bool Foo::f() const {
return true;
}
```
Reviewers: mitchell-stellar, klimek, owenpan, sammccall, rianquinn
Reviewed By: sammccall
Subscribers: merge_guards_bot, cfe-commits
Tags: #clang-format, #clang-tools-extra, #clang
Differential Revision: https://reviews.llvm.org/D69573
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
Commit a9018fddf9ba17e53a35674bf0a93e78382c4c23 by dave
[X86] Add more add/sub carry tests
Preparation for: https://reviews.llvm.org/D70079
https://reviews.llvm.org/D70077
The file was modifiedllvm/test/CodeGen/X86/addcarry.ll
The file was modifiedllvm/test/CodeGen/X86/subcarry.ll
The file was modifiedllvm/test/CodeGen/SystemZ/int-uadd-03.ll
The file was modifiedllvm/test/CodeGen/SystemZ/int-usub-03.ll
Commit ebe2f56030458e7a4c2375c6d92a48f0ed01eb5b by pavel
DWARFDebugLoclists: add location list "interpretation" logic
Summary: This patch extracts the logic for computing the "absolute"
locations, which was partially present in the debug_loclists dumper,
completes it, and moves it into a separate function. This makes it
possible to later reuse the same logic for uses other than dumping.
The dumper is changed to reuse the location list interpreter, and its
format is changed somewhat. In "verbose" mode it prints the "raw" value
of a location list, the interpreted location (if available) and the
expression itself. In non-verbose mode it prints only one of the
location forms: it prefers the interpreted form, but falls back to the
"raw" format if interpretation is not possible (for instance, because we
were not given a base address, or the resolution of indirect addresses
failed).
This patch also undos some of the changes made in D69672, namely the
part about making all functions static. The main reason for this is that
I learned that the original approach (dumping only fully resolved
locations) meant that it was impossible to rewrite one of the existing
tests. To make that possible (and make the "inline location" dump work
in more cases), I now reuse the same dumping mechanism as is used for
section-based dumping. As this required having more objects know about
the various location lists classes, it seemed like a good idea to create
an interface abstracting the difference between them.
Therefore, I now create a DWARFLocationTable class, which will serve as
a base class for the location list classes. DWARFDebugLoclists is made
to inherit from that. DWARFDebugLoc will follow.
Another positive effect of this change is that section-based dumping
code will not need to use templates (as originally) envisioned, and that
the argument lists of the dumping functions become shorter.
Reviewers: dblaikie, probinson, JDevlieghere, aprantl, SouraVX
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70081
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
The file was addedllvm/include/llvm/DebugInfo/DWARF/DWARFLocationExpression.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_loc_dwo.s
The file was modifiedllvm/test/DebugInfo/X86/loclists-dwp.ll
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_loclists_startx_length.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDie.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_loclists.s
The file was modifiedllvm/test/CodeGen/X86/debug-loclists.ll
The file was modifiedllvm/test/DebugInfo/X86/fission-ranges.ll
Commit ec4c96d68566debcc4588c4189b4ef8a5f78729a by Raphael Isemann
[lldb][NFC] Simplify a return in
ThreadPlanStepInRange::DefaultShouldStopHereCallback
We know should_stop_here is false here, so we might as well return false
directly.
The file was modifiedlldb/source/Target/ThreadPlanStepInRange.cpp
Commit 1ee93240c02b0fd505a539691d58565376f8acdf by flo
[LoopInterchange] Only skip PHIs with incoming values from the inner
loop.
Currently we have limited support for outer loops with multiple basic
blocks after the inner loop exit. But the current checks for creating
PHIs for loop exit values only assumes the header and latches of the
outer loop. It is better to just skip incoming values defined in the
original inner loops. Those are handled earlier.
Reviewers: efriedma, mcrosier
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D70059
The file was addedllvm/test/Transforms/LoopInterchange/pr43797-lcssa-for-multiple-outer-loop-blocks.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopInterchange.cpp
Commit 3130a88137ddc6ee277c4e896f235cf93d883dfa by Tatyana Krasnukha
[lldb][test] Macros in expressions require DWARF 5
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/macros/TestMacros.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/macros/Makefile
Commit 002625113ba815d1d08463411e67875be6e19a3f by llvm-dev
[X86] Add PR39464 addcarry/subborrow test cases
Additional coverage for D70079
The file was modifiedllvm/test/CodeGen/X86/addcarry.ll
The file was modifiedllvm/test/CodeGen/X86/subcarry.ll
Commit 6da34a8b847f2c858f421278a38dd343d2e8507b by llvm-dev
FileCheckPattern::FindRegexVarEnd - make helper function static. NFC
Fixes cppcheck warning.
The file was modifiedllvm/lib/Support/FileCheckImpl.h
Commit 8794f6787685655223be8a029bf51a1565f7a231 by llvm-dev
[X86] Cleanup prefixes + regenerate for fp-intrinsics-fma.ll
The file was modifiedllvm/test/CodeGen/X86/fp-intrinsics-fma.ll
Commit 7f1dcc8952e6a1a4ba918159ab86bd787d584930 by diana.picus
[InstCombine] Skip scalable vectors in combineLoadToOperationType
Don't try to canonicalize loads to scalable vector types to loads of
integers.
This removes one assertion when trying to use a TypeSize as a parameter
to DataLayout::isLegalInteger. It does not handle the second part of the
function (which looks at bitcasts).
This patch also contains a NFC fix for Load Analysis, where a variable
initialization that would cause the same assertion is moved closer to
its use. This allows us to run the new test for InstCombine without
having to teach LocationSize to play nicely with scalable vectors.
Differential Revision: https://reviews.llvm.org/D70075
The file was modifiedllvm/test/Transforms/InstCombine/load.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
The file was modifiedllvm/lib/Analysis/Loads.cpp
Commit 636412bf31fc4285d63faeea67e4d71e44e3799c by flo
[AArch64ExpandPseudos] Preserve renamable state when expanding MOVi64 &
co.
If the MOVi operand was renamable, the operands of the expanded
instructions are also renamable.
Reviewers: thegameg, samparker, zatrazz
Reviewed By: thegameg
Differential Revision: https://reviews.llvm.org/D70061
The file was addedllvm/test/CodeGen/AArch64/expand-movi-renamable.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
Commit 77cc246412ca40082c0902f1300f53d29dd98c02 by mgorny
[lldb] [Process/NetBSD] Use PT_STOP to stop the process [NFCI]
Differential Revision: https://reviews.llvm.org/D70060
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h
Commit 44e5879f0fb7c28b90e8042fde81bba30b4090a3 by Tim Northover
AArch64: add arm64_32 support to Clang.
The file was modifiedclang/test/CodeGen/builtins-arm64.c
The file was addedclang/test/Preprocessor/arm64_32.c
The file was addedclang/test/CodeGen/arm64_32.c
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/test/Sema/aarch64-neon-vector-types.c
The file was modifiedclang/lib/Basic/Targets.cpp
The file was modifiedclang/test/CodeGenCXX/armv7k.cpp
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/lib/Driver/ToolChain.cpp
The file was modifiedclang/test/Driver/aarch64-cpus.c
The file was modifiedclang/test/Preprocessor/init-v7k-compat.c
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was addedclang/test/Driver/arm64_32-link.c
The file was modifiedclang/lib/Basic/Targets/AArch64.h
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/test/Sema/types.c
The file was modifiedclang/lib/Basic/Targets/AArch64.cpp
The file was modifiedclang/test/CodeGen/target-data.c
The file was addedclang/test/CodeGen/arm64_32-vaarg.c
The file was modifiedclang/test/Preprocessor/aarch64-target-features.c
The file was modifiedclang/test/Preprocessor/stdint.c
Commit 5022a5fcaef9e8e5a739d5794954d67bc6f291a2 by alex
Mark llvm::ConstantExpr::getAsInstruction as const
Summary: getAsInstruction is the only non-const member method. It is
impossible to enforce const-correctness because of it.
Reviewers: jmolloy, majnemer
Reviewed By: jmolloy
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70113
The file was modifiedllvm/lib/IR/Constants.cpp
The file was modifiedllvm/include/llvm/IR/Constants.h
Commit 1dfb1a85e7cbc37bf6fff9bb046c6e8be0c26b8e by pavel
[lldb] Fix some warnings in the python plugin
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Commit 6aa60b0514865751ea9dd208236db60eb69aaf1e by pavel
[lldb] Fix more -Wdeprecated-copy warnings
This warning triggers when a class defines a copy constructor but not a
copy-assignment operator (which then gets auto-generated by the
compiler). Fix the warning by deleting the other operator too, as the
default implementation works just fine.
The file was modifiedlldb/include/lldb/Core/SearchFilter.h
The file was modifiedlldb/source/Core/SearchFilter.cpp
The file was modifiedlldb/include/lldb/Utility/StringExtractorGDBRemote.h
The file was modifiedlldb/source/Host/common/SocketAddress.cpp
The file was modifiedlldb/include/lldb/Host/SocketAddress.h
The file was modifiedlldb/source/Host/common/TCPSocket.cpp
Commit a6c40f56aed1556a80867209b6846f7eedc4dc78 by omair.javaid
Revert "Fix lookup of symbols at the same address with no size vs. size"
This reverts commit 3f594ed1686b44138bee245c708773e526643aaf.
This change has cause LLDB expression evaluation to fail on Arm Linux.
Differential Revision: https://reviews.llvm.org/D63540
The file was removedlldb/test/Shell/SymbolFile/sizeless-symbol.test
The file was removedlldb/test/Shell/SymbolFile/Inputs/sizeless-symbol.s
The file was modifiedlldb/source/Symbol/Symtab.cpp
Commit 7d0b1d77b3d4d47df477519fd1bf099b3df6f899 by flo
[Examples] Add IRTransformations directory to examples.
This patch adds a new IRTransformations directory to llvm/examples/.
This is intended to serve as a new home for example
transformations/analysis code used by various tutorials.
If LLVM_BUILD_EXAMPLES is enabled, the ExamplesIRTransforms library is
linked into the opt binary and the example passes become available.
To start off with, it contains the CFG simplifications used in the IR
part of the 'Getting Started With LLVM: Basics' tutorial at the US LLVM
Developers Meeting 2019.
Reviewers: paquette, jfb, meikeb, lhames, kbarton
Reviewed By: paquette
Differential Revision: https://reviews.llvm.org/D69416
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg-blockaddress.ll
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg4-multiple-duplicate-cfg-updates.ll
The file was modifiedllvm/tools/opt/opt.cpp
The file was modifiedllvm/examples/CMakeLists.txt
The file was addedllvm/examples/IRTransforms/SimplifyCFG.cpp
The file was modifiedllvm/tools/opt/CMakeLists.txt
The file was addedllvm/examples/IRTransforms/CMakeLists.txt
The file was addedllvm/examples/IRTransforms/InitializePasses.cpp
The file was addedllvm/examples/IRTransforms/InitializePasses.h
The file was addedllvm/examples/IRTransforms/SimplifyCFG.h
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg3-phis.ll
The file was modifiedllvm/CMakeLists.txt
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg6-dead-self-loop.ll
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg1.ll
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg2-dead-block-order.ll
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg5-del-phis-for-dead-block.ll
Commit 4cc0c2998d64156c9f848a8c2b2aed375ebd58b6 by Jinsong Ji
[PowerPC][NFC]Fix typo in desc for enable-ppc-prefetching
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetMachine.cpp
Commit 41c3f76dcd0daeec60eddfcb56008a31ad6e8738 by Tom.Weaver
[DBG][OPT] Attempt to salvage or undef debug info when removing
trivially deletable instructions in the Reassociate Expression pass.
Reviewed By: aprantl, vsk
Differential revision: https://reviews.llvm.org/D69943
The file was addedllvm/test/Transforms/Reassociate/undef_intrinsics_when_deleting_instructions.ll
The file was addedllvm/test/Transforms/Reassociate/reassociate_salvages_debug_info.ll
The file was modifiedllvm/lib/Transforms/Scalar/Reassociate.cpp
Commit 228dd96c6fddad6d070c29a6830c7bd161982e3a by Jinsong Ji
[PowerPC] Remove allow-deprecated-dag-overlap and fix broken tests
Summary: This is found during review of https://reviews.llvm.org/D67088.
CHECK-DAG is non-overlapping after https://reviews.llvm.org/D47106.
-allow-deprecated-dag-overlap was introduced to temporary accept old
behavior.
But it actually hide some broken tests, eg:
`test/CodeGen/PowerPC/swaps-le-1.ll` The codegen has changed, but the
CHECK-DAG still PASS due to allowing `overlap`.
This patch remove the deprecated options, and fix the broken tests.
Reviewers: #powerpc, hfinkel, nemanjai, steven.zhang, shchenz
Reviewed By: shchenz
Subscribers: shchenz, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69733
The file was modifiedllvm/test/CodeGen/PowerPC/memcpy-vec.ll
The file was modifiedllvm/test/CodeGen/PowerPC/uint-to-fp-v4i32.ll
The file was modifiedllvm/test/CodeGen/PowerPC/machine-combiner.ll
The file was modifiedllvm/test/CodeGen/PowerPC/build-vector-tests.ll
The file was modifiedllvm/test/CodeGen/PowerPC/swaps-le-1.ll
Commit 0a58ef5eb5e1a243756f649f82834281ac3dd7ff by kparzysz
[Hexagon] Require PS_aligna whenever variable-sized objects are present
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
Commit 67294c97fbfde6541b5f89d9d83c7fcba31c5f3b by kparzysz
[Hexagon] Handle stack realignment in hexagon-vextract
The file was modifiedllvm/lib/Target/Hexagon/HexagonVExtract.cpp
Commit e3eb10c5419d89171bc97ca21aba7c381827c45e by kparzysz
[Hexagon] Convert stack object offsets to int64, NFC
This will print [SP-56] instead of [SP+4294967240].
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
Commit 592dd459242946593920911936aea47461e0faaa by kparzysz
[Hexagon] Fix vector spill expansion to use proper alignment
1. Add pseudos PS_vloadrv_ai and PS_vstorerv_ai: those are now used
  for single vector registers in loadRegFromStackSlot (and store...). 2.
Remove pseudos PS_vloadrwu_ai and PS_vstorerwu_ai. The alignment is
  now checked when expanding spill pseudos (both in frame lowering
  and in expand-post-ra-pseudos), and a proper instruction is generated.
3. Update MachineMemOperands when dealigning vector spill slots. 4.
Return vector predicate registers in getCallerSavedRegs.
The file was addedllvm/test/CodeGen/Hexagon/spill-vector-alignment.mir
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonPseudo.td
The file was modifiedllvm/test/CodeGen/Hexagon/v6-unaligned-spill.ll
The file was modifiedllvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
Commit 2d06375c3fa02275c1292643216cdb00bb17c32c by spatel
[SLP] add test for miscompile with reduction (PR43948); NFC
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reduction.ll
Commit 83dcb34b6bf4c175040b18d3e8c3c468418009fc by Duncan P. N. Exon Smith
clang/Modules: Error if ReadASTBlock does not find the main module
If ReadASTBlock does not find its top-level submodule, there's something
wrong the with the PCM.  Error in that case, to avoid hitting problems
further from the source.
Note that the Swift compiler sometimes hits a case in
CompilerInstance::loadModule where the top-level submodule mysteriously
does not have Module::IsFromModuleFile set.  That will emit a confusing
warn_missing_submodule, which was never intended for the main module.
The recent audit of error-handling in ReadAST may have rooted out the
real problem.  If not, this commit will help to clarify the real
problem, and replace a confusing warning with an error pointing at the
malformed PCM file.
We're specifically sniffing out whether the top-level submodule was
found/processed, in case there is a malformed module file that is
missing it.  If there is an error encountered during ReadSubmoduleBlock
the return status should already propagate through.  It would be nice to
detect other missing submodules around here to catch other instances of
warn_missing_submodule closer to the source, but that's left as a future
exercise.
https://reviews.llvm.org/D70063
The file was modifiedclang/include/clang/Basic/DiagnosticSerializationKinds.td
The file was modifiedclang/include/clang/Serialization/Module.h
The file was modifiedclang/lib/Serialization/ASTReader.cpp
Commit 54a9b4c02ff57e9847e0c501578e51db6f73d3be by julian.lettner
[lit] Better/earlier errors for empty runs
Fail early, when we discover no tests at all, or filter out all of them.
There is also `--allow-empty-runs` to disable test to allow workflows
like `LIT_FILTER=abc ninja check-all`.  Apparently `check-all` invokes
lit multiple times if certain projects are enabled, which would produce
unwanted "empty runs". Specify via `LIT_OPTS=--allow-empty-runs`.
There are 3 causes for empty runs: 1) No tests discovered.  This is
always an error.  Fix test suite config
  or command line. 2) All tests filtered out.  This is an error by
default, but can be
  suppressed via `--alow-empty-runs`.  Should prevent accidentally
  passing empty runs, but allow the workflow above. 3) The number of
shards is greater than the number of tests.  Currently,
  this is never an error.  Personally, I think we should consider
  making this an error by default; if this happens, you are doing
  something wrong. I added a warning but did not change the behavior,
  since this warrants more discussion.
Reviewed By: atrick, jdenny
Differential Revision: https://reviews.llvm.org/D70105
The file was modifiedllvm/utils/lit/lit/main.py
The file was modifiedllvm/utils/lit/lit/cl_arguments.py
The file was modifiedllvm/utils/lit/lit/run.py
The file was modifiedllvm/utils/lit/tests/selecting.py
Commit 3b73dcdc9656e156c4380454150b8986c5b9aad1 by Adrian Prantl
Performance: Add a set of visited SymbolFiles to the other FindFiles
variant.
This is basically the same bug as in r260434.
SymbolFileDWARF::FindTypes has exponential worst-case when digging
through dependency DAG of .pcm files because each object file and .pcm
file may depend on an already-visited .pcm file, which may again have
dependencies. Fixed here by carrying a set of already visited
SymbolFiles around.
rdar://problem/56993424
Differential Revision: https://reviews.llvm.org/D70106
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h
The file was modifiedlldb/tools/lldb-test/lldb-test.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
The file was modifiedlldb/source/Core/Module.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
The file was modifiedlldb/source/Symbol/SymbolFile.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was modifiedlldb/include/lldb/Symbol/SymbolFile.h
The file was modifiedlldb/include/lldb/Core/Module.h
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Commit ef150e2ea51960e4a9689850d16b2dda355cdcd8 by kparzysz
[Hexagon] Update PS_aligna with max stack alignment once isel completes
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelDAGToDAG.h
Commit 4230fa939021e7a85f3ec06a4b1d8c661dfe329b by sbc
[libcxxabi] Prevent cmake from removing our explicit system C++ include
paths
We build with `-nostdinc++` and add our own header path via
`LIBCXXABI_LIBCXX_INCLUDES`.  However cmake tried to be clever and if
`LIBCXXABI_LIBCXX_INCLUDES` happens to match the compilers system path
it will remove the `-I` flag meaning we can't access any C++ headers.
Ideally cmake would be able see that we are using `-nostdinc++` and
disable this behaviour.
Differential Revision: https://reviews.llvm.org/D69973
The file was modifiedlibcxxabi/CMakeLists.txt
Commit 3c676e3891b962b859e7613781419ee0dacce7dd by a.bataev
[OPENMP]Use copy constructors instead of assignment operators in declare
reduction initializers.
Better to use copy constructor at the initialization of the declare
reduction construct rather than assignment operator.
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/test/OpenMP/declare_reduction_messages.cpp
The file was modifiedclang/test/AST/dump.cpp
The file was modifiedclang/test/OpenMP/for_reduction_codegen_UDR.cpp