1. [ObjCARC][NewPM] Port objc-arc-contract to NPM (details)
  2. [SCEV] Add additional max BTC tests with loop guards. (details)
  3. ImplicitNullChecks.cpp - use auto const& iterators in for-range loops to avoid copies. NFCI. (details)
  4. [SLP] simplify interface for gather(); NFC (details)
  5. The wrong placement of add pass with optimizations led to -funique-internal-linkage-names being disabled. (details)
  6. [lldb/Commands] Fix outdated `breakpoint command add` help string (details)
  7. [cmake] Centralize LLVM_ENABLE_WARNINGS option (details)
  8. [SLP] Use for-range loops across ValueLists. NFCI. (details)
  9. [NFC][SCEV] Add tests for @llvm.abs intrinsic (details)
  10. [SCEV] Recognize @llvm.abs as smax(x, -x) (details)
  11. [NFC][SCEV] Add tests for @llvm.*.sat intrinsics (details)
  12. [SCEV] Recognize @llvm.usub.sat as `%x - (umin %x, %y)` (details)
  13. [SCEV] Recognize @llvm.uadd.sat as `%y + umin(%x, (-1 - %y))` (details)
  14. [OpenMP] Protect unrecogonized CUDA error code (details)
  15. [IRBuilder][VectorCombine] make and use a convenience function for unary shuffle; NFC (details)
  16. [SLP] use unary shuffle creator to reduce code duplication; NFC (details)
  17. [AIX][Clang][Driver] Add handling of shared option (details)
  18. [ObjCARC] Initialize return value (details)
  19. [AMDGPU] Adding mutex to guard lld::elf::link interface use (details)
  20. [MS] On x86_32, pass overaligned, non-copyable arguments indirectly (details)
  21. [AMDGPU] Fixed typo in intrinsic comment. NFC. (details)
  22. [ELF][test] Delete large temporary files and make some temporary files smaller with two text segments (details)
  23. [NFC][SCEV] Cleanup lowering of @llvm.uadd.sat, (-1 - V) is just ~V (details)
  24. [DIE] Remove DeadInstEliminationPass (details)
  25. [libc++] Verify base substitutions earlier in the testing format (details)
  26. [LoopVectorize] use unary shuffle creator to reduce code duplication; NFC (details)
  27. [InstCombine] use unary shuffle creator to reduce code duplication; NFC (details)
  28. [Coverage] Add empty line regions to SkippedRegions (details)
  29. Reapply Revert "RegAllocFast: Rewrite and improve" (details)
  30. [mlir] Add missing space in debug message (details)
  31. AMDGPU: Don't add frame register to frame pseudos (details)
  32. [SLP] use std::distance/find to reduce code; NFC (details)
  33. [Analyzer] GNU named variadic macros in Plister (details)
  34. [clang] [MinGW] Add an implicit .exe suffix even when crosscompiling (details)
  35. [clang-cl] Always interpret the LIB env var as separated with semicolons (details)
  36. [CodeGen] [WinException] Only produce handler data at the end of the function if needed (details)
  37. [Hexagon] Make HexagonVLCR compatibile with New PM (details)
  38. [PowerPC] Remove unnecessary patterns and types (details)
  39. [EarlyCSE] Small refactoring changes, NFC (details)
  40. Revert "[clang-cl] Always interpret the LIB env var as separated with semicolons" (details)
  41. [ASTImporter] Modifying ImportDeclContext(...) to ensure that we also handle the case when the FieldDecl is an ArrayType whose ElementType is a RecordDecl (details)
  42. [NFC][regalloc] Use reverse iterator ranges for improved readability (details)
  43. Don't build a StringLiteral expression with reference type when (details)
  44. [AArch64][GlobalISel] Make <4 x s16> G_ASHR and G_LSHR legal. (details)
  45. [mlir] Add tutorial pages (details)
Commit 024979b7b657d0946b791798994f070a24265cb8 by aeubanks
[ObjCARC][NewPM] Port objc-arc-contract to NPM

Similar to

This is a module pass instead of a function pass since
ARCRuntimeEntryPoints can lazily add function declarations.

Reviewed By: ahatanak

Differential Revision:
The file was modifiedllvm/lib/Passes/PassRegistry.def (diff)
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARC.cpp (diff)
The file was modifiedllvm/include/llvm/Transforms/ObjCARC.h (diff)
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp (diff)
The file was modifiedllvm/test/Transforms/ObjCARC/contract.ll (diff)
The file was modifiedllvm/include/llvm/InitializePasses.h (diff)
Commit 3cbdfe424fec923b5ac1912742c62c22f856fb29 by flo
[SCEV] Add additional max BTC tests with loop guards.
The file was modifiedllvm/test/Analysis/ScalarEvolution/max-backedge-taken-count-guard-info.ll (diff)
Commit 6a0ed57a2259263d4f5923ff5c61850b8a731322 by llvm-dev
ImplicitNullChecks.cpp - use auto const& iterators in for-range loops to avoid copies. NFCI.
The file was modifiedllvm/lib/CodeGen/ImplicitNullChecks.cpp (diff)
Commit 46075e0b78c33be79c6c1ae5547a78ef87ddb374 by spatel
[SLP] simplify interface for gather(); NFC

The implementation of gather() should be reduced too,
but this change by itself makes things a little clearer:
we don't try to gather to a different type or
number-of-values than whatever is passed in as the value
list itself.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp (diff)
Commit 6950db36d33d85d18e3241ab6c87494c05ebe0fb by tmsriram
The wrong placement of add pass with optimizations led to -funique-internal-linkage-names being disabled.

Fixed the placement of the MPM.addpass for UniqueInternalLinkageNames to make
it work correctly with -O2 and new pass manager. Updated the tests to
explicitly check O0 and O2.

Previously, the addPass was placed before BackendUtil.cpp#L1373 which is wrong
as MPM gets assigned at this point and any additions to the pass vector before
this is wrong. This change just moves it after MPM is assigned and places it at
a point where O0 and O0+ can share it.

Differential Revision:
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp (diff)
The file was modifiedclang/test/CodeGen/unique-internal-linkage-names.cpp (diff)
Commit 3b3b9ba1c7d89afe4909a42e2a795354bb79e062 by
[lldb/Commands] Fix outdated `breakpoint command add` help string

Update the some examples in the help string for `breakpoint command add`.

Python breakpoint commands have different output than what's shown in the help string.

  * Removed an example containing an inner function, as it seems more about a Python technique than about `command script add`
  * Updated `print x` to `print(x)` to be python 2/3 agnostic

Differential Revision:
The file was modifiedlldb/source/Commands/CommandObjectBreakpointCommand.cpp (diff)
Commit b36bdfe5ca0c2b863248f327b03d41516b38dc11 by
[cmake] Centralize LLVM_ENABLE_WARNINGS option

Configure default value of `LLVM_ENABLE_WARNINGS` in `HandleLLVMOptions.cmake`.

`LLVM_ENABLE_WARNINGS` is documented as ON by default, but `HandleLLVMOptions` assumes the default has been set somewhere else. If it has not been explicitly set, then `HandleLLVMOptions` implicitly uses OFF as a default.

This removes the various `option()` declarations in favor of a single declaration in `HandleLLVMOptions`. This will prevent the unwanted use of `-w` that is mentioned in a couple of the comments.

Reviewed By: DavidTruby, #libunwind, JDevlieghere, compnerd

Differential Revision:
The file was modifiedlibunwind/CMakeLists.txt (diff)
The file was modifiedllvm/CMakeLists.txt (diff)
The file was modifiedclang/CMakeLists.txt (diff)
The file was modifiedllvm/cmake/modules/HandleLLVMOptions.cmake (diff)
The file was modifiedflang/CMakeLists.txt (diff)
The file was modifiedllvm/runtimes/CMakeLists.txt (diff)
The file was modifiedllvm/cmake/modules/ (diff)
Commit 005f826a0546eb11890b7bd36fea6b8b1c5e3fc4 by llvm-dev
[SLP] Use for-range loops across ValueLists. NFCI.

Also rename some existing loops that used a 'j' iterator to consistently use 'V'.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp (diff)
Commit 83c2d10d3cae57f71e23193d62989725b9b9f2f2 by lebedev.ri
[NFC][SCEV] Add tests for @llvm.abs intrinsic
The file was addedllvm/test/Analysis/ScalarEvolution/abs-intrinsic.ll
Commit 1bb7ab8c4a324aa380bddfc75069e24c19e2bdd0 by lebedev.ri
[SCEV] Recognize @llvm.abs as smax(x, -x)

As per alive2 (ignoring undef):

define i32 @src(i32 %x, i1 %y) {
  %r = abs i32 %x, 0
  ret i32 %r
define i32 @tgt(i32 %x, i1 %y) {
  %neg_x = mul i32 %x, 4294967295
  %r = smax i32 %x, %neg_x
  ret i32 %r
Transformation seems to be correct!

define i32 @src(i32 %x, i1 %y) {
  %r = abs i32 %x, 1
  ret i32 %r
define i32 @tgt(i32 %x, i1 %y) {
  %neg_x = mul nsw i32 %x, 4294967295
  %r = smax i32 %x, %neg_x
  ret i32 %r
Transformation seems to be correct!
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp (diff)
The file was modifiedllvm/test/Analysis/ScalarEvolution/abs-intrinsic.ll (diff)
Commit 0592de550f5c9ca9de44ed2c5c549f6a3b1c32b7 by lebedev.ri
[NFC][SCEV] Add tests for @llvm.*.sat intrinsics
The file was addedllvm/test/Analysis/ScalarEvolution/saturating-intrinsics.ll
Commit fedc9549d50d80f74169ecce4d0d0648a62249f0 by lebedev.ri
[SCEV] Recognize @llvm.usub.sat as `%x - (umin %x, %y)`

define i32 @src(i32 %x, i32 %y) {
  %r = usub_sat i32 %x, %y
  ret i32 %r
define i32 @tgt(i32 %x, i32 %y) {
  %t0 = umin i32 %x, %y
  %r = sub nuw i32 %x, %t0
  ret i32 %r
Transformation seems to be correct!
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp (diff)
The file was modifiedllvm/test/Analysis/ScalarEvolution/saturating-intrinsics.ll (diff)
Commit 64e2cb7e9605995d2efb625203cbd96db1404812 by lebedev.ri
[SCEV] Recognize @llvm.uadd.sat as `%y + umin(%x, (-1 - %y))`

define i32 @src(i32 %x, i32 %y) {
  %r = uadd_sat i32 %x, %y
  ret i32 %r
define i32 @tgt(i32 %x, i32 %y) {
  %t0 = sub nsw nuw i32 4294967295, %y
  %t1 = umin i32 %x, %t0
  %r = add nuw i32 %t1, %y
  ret i32 %r
Transformation seems to be correct!

The alternative, naive, lowering could be the following,
although i don't think it's better,
thought it will likely be needed for sadd/ssub/*shl:

define i32 @src(i32 %x, i32 %y) {
  %r = uadd_sat i32 %x, %y
  ret i32 %r
define i32 @tgt(i32 %x, i32 %y) {
  %t0 = zext i32 %x to i33
  %t1 = zext i32 %y to i33
  %t2 = add nuw i33 %t0, %t1
  %t3 = zext i32 4294967295 to i33
  %t4 = umin i33 %t2, %t3
  %r = trunc i33 %t4 to i32
  ret i32 %r
Transformation seems to be correct!
The file was modifiedllvm/test/Analysis/ScalarEvolution/saturating-intrinsics.ll (diff)
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp (diff)
Commit 03111e5e7a8690300966a39f0aa2e4f2b4ec919a by tianshilei1992
[OpenMP] Protect unrecogonized CUDA error code

If an error code can not be recognized by cuGetErrorString, errStr remains null and causes crashing at DP() printing.
Protect this case.

Reviewed By: jhuber6, tianshilei1992

Differential Revision:
The file was modifiedopenmp/libomptarget/plugins/cuda/src/rtl.cpp (diff)
Commit 1e6b240d7d336a36856268db5349468560e28a0e by spatel
[IRBuilder][VectorCombine] make and use a convenience function for unary shuffle; NFC

This reduces code duplication for common construct.
Follow-ups can use this in SLP, LoopVectorizer, and other passes.
The file was modifiedllvm/include/llvm/IR/IRBuilder.h (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/VectorCombine.cpp (diff)
Commit a44238cb443f13c1e9fd42f6269f019d505ff5dd by spatel
[SLP] use unary shuffle creator to reduce code duplication; NFC
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp (diff)
Commit d8540427419ec0c4b9bc02f432ef39c01898e826 by daltenty
[AIX][Clang][Driver] Add handling of shared option

Reviewed By: jasonliu

Differential Revision:
The file was modifiedclang/test/Driver/aix-ld.c (diff)
The file was modifiedclang/lib/Driver/ToolChains/AIX.cpp (diff)
Commit 746a2c3775658c4485a8e71a7d46ee55c30615b8 by aeubanks
[ObjCARC] Initialize return value

Mistakenly removed initialization of `Changed` in
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp (diff)
Commit f87ceb63eb011e5cd653218af619097b58bf568f by zhuoryin
[AMDGPU] Adding mutex to guard lld::elf::link interface use

check-mlir target run tests simultaneously with multiple threads. This caused multiple threads to invoke the `lld::elf::link()` interface at the same time. Since the interface does not have a thread-safe implementation, add a metex to prevent multi-threaded access.

I discovered this by looking the the failure stack trace. lld/ELF/symbolTable.cpp, SymbolTable::insert() hit into an assert with related to Epoch Trackers. The root cause is to due to there is no protection around the symMap (update) which is implemented in non-thread safe data structure: denseMap.

Differential Revision:
The file was modifiedmlir/tools/mlir-rocm-runner/mlir-rocm-runner.cpp (diff)
Commit 3b3a16548568f5b6c4146ca5129eb6af5000e4ff by rnk
[MS] On x86_32, pass overaligned, non-copyable arguments indirectly

This updates the C++ ABI argument classification code to use the logic
from D72114, fixing an ABI incompatibility with MSVC.

Part of PR44395.

Differential Revision:
The file was modifiedclang/lib/CodeGen/MicrosoftCXXABI.cpp (diff)
The file was modifiedclang/test/CodeGenCXX/inalloca-overaligned.cpp (diff)
Commit e8951474b1940bd81bc3bac8d506e08880ee35ea by Stanislav.Mekhanoshin
[AMDGPU] Fixed typo in intrinsic comment. NFC.
The file was modifiedllvm/include/llvm/IR/ (diff)
Commit 6d637fa560f0196b93e377b98489661ecd7a1af0 by i
[ELF][test] Delete large temporary files and make some temporary files smaller with two text segments

Large files are cumbersome on some filesystems and can more easily trigger ENOSPC.

Some tests use two text sections with output section addresses to test branch ranges.
Use two text segments to prevent LLD from filling the gap and unnecessarily increasing the output size.

With this change, there is no test/ELF temporary file larger than 100MiB.

Reviewed By: psmith

Differential Revision:
The file was modifiedlld/test/ELF/aarch64-thunk-pi.s (diff)
The file was modifiedlld/test/ELF/aarch64-thunk-section-location.s (diff)
The file was modifiedlld/test/ELF/arm-thumb-plt-range-thunk-os.s (diff)
The file was modifiedlld/test/ELF/aarch64-cortex-a53-843419-thunk-range.s (diff)
The file was modifiedlld/test/ELF/aarch64-cortex-a53-843419-large2.s (diff)
The file was modifiedlld/test/ELF/aarch64-thunk-script.s (diff)
The file was modifiedlld/test/ELF/aarch64-cortex-a53-843419-large.s (diff)
Commit 0ab99bb314203d8f3b40e805ffea03857ca5c21e by lebedev.ri
[NFC][SCEV] Cleanup lowering of @llvm.uadd.sat, (-1 - V) is just ~V
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp (diff)
Commit f4f7df037e71fa77b06a37d86f2596db47d583d0 by aeubanks
[DIE] Remove DeadInstEliminationPass

This pass is like DeadCodeEliminationPass, but only does one pass
through a function instead of iterating on users of eliminated

DeadCodeEliminationPass should be used in all cases.

Reviewed By: asbirlea

Differential Revision:
The file was modifiedllvm/test/Transforms/DeadArgElim/2008-06-23-DeadAfterLive.ll (diff)
The file was modifiedllvm/test/Transforms/InstSimplify/ConstProp/logicaltest.ll (diff)
The file was modifiedllvm/test/Transforms/InstCombine/deadcode.ll (diff)
The file was modifiedllvm/include/llvm/LinkAllPasses.h (diff)
The file was modifiedllvm/test/Transforms/Reassociate/otherops.ll (diff)
The file was modifiedllvm/test/Transforms/InstSimplify/ConstProp/basictest.ll (diff)
The file was modifiedllvm/lib/Transforms/Scalar/DCE.cpp (diff)
The file was modifiedllvm/test/Transforms/Reassociate/vaarg_movable.ll (diff)
The file was modifiedllvm/lib/Transforms/Scalar/Scalar.cpp (diff)
The file was modifiedllvm/test/Feature/optnone-opt.ll (diff)
The file was modifiedllvm/test/Transforms/NewGVN/rle.ll (diff)
The file was modifiedllvm/test/Transforms/Reassociate/inverses.ll (diff)
The file was modifiedllvm/test/Transforms/InstSimplify/ConstProp/remtest.ll (diff)
The file was modifiedllvm/include/llvm/InitializePasses.h (diff)
The file was modifiedllvm/test/Transforms/DeadArgElim/deadretval2.ll (diff)
The file was modifiedllvm/test/Transforms/GVN/PRE/rle.ll (diff)
The file was modifiedllvm/test/Transforms/GVN/PRE/rle-addrspace-cast.ll (diff)
The file was modifiedllvm/test/Transforms/InstSimplify/ConstProp/2002-09-03-SetCC-Bools.ll (diff)
The file was modifiedllvm/test/Transforms/InstSimplify/ConstProp/phi.ll (diff)
The file was modifiedllvm/include/llvm/Transforms/Scalar.h (diff)
Commit 43270c65cf48484d8b8cee5044480f6f1b00281d by Louis Dionne
[libc++] Verify base substitutions earlier in the testing format

This allows diagnosing missing substitution issues even when doing
availability feature detection in the DSL.
The file was modifiedlibcxx/utils/libcxx/test/ (diff)
Commit be9350598668015edb72da8a1ad8313cb87e0eef by spatel
[LoopVectorize] use unary shuffle creator to reduce code duplication; NFC
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp (diff)
Commit 6bad3caeb079748a25fd34bd21255824c8dcb8f1 by spatel
[InstCombine] use unary shuffle creator to reduce code duplication; NFC
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp (diff)
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp (diff)
Commit 9caa3fbe03f43e3eec30262fbba87c1ee15c05a3 by zequanwu
[Coverage] Add empty line regions to SkippedRegions

Differential Revision:
The file was modifiedclang/include/clang/Lex/Preprocessor.h (diff)
The file was modifiedclang/test/CoverageMapping/unreachable-macro.c (diff)
The file was modifiedclang/test/CoverageMapping/macroception.c (diff)
The file was modifiedclang/test/CoverageMapping/while.c (diff)
The file was modifiedcompiler-rt/test/profile/instrprof-set-file-object.c (diff)
The file was modifiedclang/test/CoverageMapping/casts.c (diff)
The file was modifiedclang/test/CoverageMapping/moremacros.c (diff)
The file was modifiedclang/test/CoverageMapping/ir.c (diff)
The file was modifiedclang/test/CoverageMapping/deferred-region.cpp (diff)
The file was modifiedclang/test/CoverageMapping/macroparams2.c (diff)
The file was modifiedclang/test/CoverageMapping/trycatch.cpp (diff)
The file was modifiedclang/test/CoverageMapping/implicit-def-in-macro.m (diff)
The file was modifiedclang/test/CoverageMapping/macro-expressions.cpp (diff)
The file was modifiedclang/test/CoverageMapping/macro-expansion.c (diff)
The file was modifiedclang/test/CoverageMapping/comment-in-macro.c (diff)
The file was modifiedclang/test/CoverageMapping/if.cpp (diff)
The file was modifiedclang/lib/CodeGen/CoverageMappingGen.h (diff)
The file was modifiedclang/test/CoverageMapping/objc.m (diff)
The file was modifiedclang/test/CoverageMapping/test.c (diff)
The file was modifiedclang/lib/CodeGen/CoverageMappingGen.cpp (diff)
The file was modifiedclang/test/CoverageMapping/loops.cpp (diff)
The file was modifiedclang/test/CoverageMapping/default-method.cpp (diff)
The file was modifiedclang/test/CoverageMapping/md.cpp (diff)
The file was modifiedclang/test/CoverageMapping/loopmacro.c (diff)
The file was modifiedclang/test/CoverageMapping/control-flow-macro.c (diff)
The file was modifiedclang/test/CoverageMapping/classtemplate.cpp (diff)
The file was modifiedclang/test/CoverageMapping/break.c (diff)
The file was modifiedclang/test/CoverageMapping/header.cpp (diff)
The file was modifiedclang/test/CoverageMapping/macroscopes.cpp (diff)
The file was modifiedclang/test/CoverageMapping/include-macros.c (diff)
The file was modifiedclang/test/CoverageMapping/trymacro.cpp (diff)
The file was modifiedclang/test/CoverageMapping/unused_function.cpp (diff)
The file was modifiedllvm/lib/ProfileData/Coverage/CoverageMapping.cpp (diff)
The file was modifiedclang/include/clang/Lex/Lexer.h (diff)
The file was modifiedclang/test/CoverageMapping/label.cpp (diff)
The file was modifiedclang/test/CoverageMapping/nestedclass.cpp (diff)
The file was modifiedclang/test/CoverageMapping/system_macro.cpp (diff)
The file was modifiedcompiler-rt/test/profile/instrprof-set-file-object-merging.c (diff)
The file was modifiedclang/lib/Lex/Preprocessor.cpp (diff)
The file was modifiedclang/test/CoverageMapping/block-storage-starts-region.m (diff)
The file was modifiedclang/test/CoverageMapping/lambda.cpp (diff)
The file was modifiedclang/test/CoverageMapping/logical.cpp (diff)
The file was modifiedclang/test/CoverageMapping/templates.cpp (diff)
The file was modifiedclang/test/CoverageMapping/macros.c (diff)
The file was modifiedclang/test/ (diff)
The file was modifiedclang/test/CoverageMapping/abspath.cpp (diff)
The file was modifiedclang/test/CoverageMapping/builtinmacro.c (diff)
The file was modifiedclang/test/CoverageMapping/empty-destructor.cpp (diff)
The file was modifiedclang/test/CoverageMapping/pr32679.cpp (diff)
The file was modifiedclang/test/CoverageMapping/includehell.cpp (diff)
The file was modifiedclang/test/CoverageMapping/switch.cpp (diff)
The file was modifiedclang/test/CoverageMapping/preprocessor.c (diff)
The file was addedcompiler-rt/test/profile/coverage_emptylines.cpp
The file was modifiedclang/test/CoverageMapping/macroparams.c (diff)
The file was modifiedclang/test/CoverageMapping/decl.c (diff)
The file was modifiedclang/test/CoverageMapping/return.c (diff)
The file was modifiedclang/test/CoverageMapping/macro-stringize-twice.cpp (diff)
The file was modifiedclang/test/CoverageMapping/openmp.c (diff)
The file was modifiedclang/test/CoverageMapping/unused_names.c (diff)
The file was modifiedclang/lib/Lex/Lexer.cpp (diff)
The file was modifiedclang/test/CoverageMapping/continue.c (diff)
The file was modifiedclang/test/CoverageMapping/switchmacro.c (diff)
The file was modifiedclang/test/CoverageMapping/coroutine.cpp (diff)
Commit 55f9f87da2c2ad791b9e62cccb1c035e037444fa by Matthew.Arsenault
Reapply Revert "RegAllocFast: Rewrite and improve"

This reverts commit dbd53a1f0c939a55e7719c39d08179468f9ad3dc.

Needed lldb test updates
The file was modifiedllvm/test/CodeGen/X86/x86-64-intrcc.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64-vcvt_f.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/popcount.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/Fast-ISel/memtest1.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/ (diff)
The file was modifiedllvm/test/CodeGen/X86/phys-reg-local-regalloc.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr32345.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/popcount.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/2009-04-14-IllegalRegs.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/win64_eh.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/cmpxchg-O0-be.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/vsx-args.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/mul.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/phi.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/fcmp.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/combine-loads.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/spill192.mir (diff)
The file was modifiedllvm/test/CodeGen/ARM/swifterror.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/legalize-bitcast.ll (diff)
The file was modifiedllvm/test/CodeGen/Hexagon/vect/vect-load-v4i16.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/float_constants.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/x86-32-intrcc.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/fp-int128-fp-combine.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/zextLoad_and_sextLoad.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/atomic-min-max.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/var_arg.ll (diff)
The file was addedllvm/test/CodeGen/X86/bug47278.mir
The file was addedllvm/test/CodeGen/X86/bug47278-eflags-error.mir
The file was modifiedllvm/test/CodeGen/X86/pr34592.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/atomic.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/avx512-mask-zext-bugfix.ll (diff)
The file was modifiedllvm/test/DebugInfo/X86/parameters.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/fptosi_and_fptoui.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/fast-isel-pcrel.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/stack-protector-strong-macho-win32-xor.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/unwind-preserved-from-mir.mir (diff)
The file was modifiedllvm/test/CodeGen/Mips/copy-fp64.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/builtins-ppc-p10vsx.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr34653.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/addegluecrash.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/fp64-to-int16.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/crash-O0.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/Windows/alloca.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/elf-common.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/2010-06-28-FastAllocTiedOperand.ll (diff)
The file was modifiedllvm/test/DebugInfo/X86/dbg-declare-arg.ll (diff)
The file was modifiedllvm/test/DebugInfo/Mips/prologue_end.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/high-reg-spill.mir (diff)
The file was modifiedllvm/test/CodeGen/ARM/crash-greedy-v6.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/swifterror.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/long_ambiguous_chain_s64.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/vsx.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr47000.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/br-cond-not-merge.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/long_ambiguous_chain_s32.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/fastregalloc-self-loop-heuristic.mir (diff)
The file was modifiedllvm/test/CodeGen/X86/atomic-monotonic.ll (diff)
The file was modifiedllvm/lib/CodeGen/RegAllocFast.cpp (diff)
The file was addedllvm/test/CodeGen/PowerPC/spill-nor0.mir
The file was modifiedllvm/test/CodeGen/PowerPC/aggressive-anti-dep-breaker-subreg.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/fp-strict-fcmp-noopt.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-m0.ll (diff)
The file was modifiedllvm/test/DebugInfo/X86/prologue-stack.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/store_4_unaligned.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/bitwise.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/fast-isel-select.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/fast-isel-x86-64.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/ctlz.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/implicit-sret.ll (diff)
The file was modifiedllvm/test/DebugInfo/X86/reference-argument.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/spill-nor0.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/load_split_because_of_memsize_or_align.ll (diff)
The file was addedllvm/test/CodeGen/AMDGPU/unexpected-reg-unit-state.mir
The file was modifiedllvm/test/CodeGen/X86/pr32451.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr39733.ll (diff)
The file was modifiedllvm/test/DebugInfo/ARM/prologue_end.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/fast-isel-cmpxchg.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/cmpxchg-O0.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/cmpxchg-O0.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/atomic64.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/fast-isel-cmp-branch.ll (diff)
The file was modifiedllvm/test/DebugInfo/X86/fission-ranges.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr27591.ll (diff)
The file was modifiedllvm/test/DebugInfo/X86/pieces-1.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/call.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/select.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/volatile.ll (diff)
The file was modifiedllvm/test/CodeGen/SystemZ/swift-return.ll (diff)
The file was modifiedllvm/test/DebugInfo/X86/sret.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/fast-isel-vararg.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/add_vec.ll (diff)
The file was modifiedllvm/test/DebugInfo/Mips/delay-slot.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/dyn_stackalloc.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/jump_table_and_brjt.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/stack-protector-msvc.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/Fast-ISel/pr40325.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64_32-fastisel.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/atomic6432.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/fast-isel-nontemporal.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/sub_vec.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/atomic-unordered.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr44749.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/fast-isel-call.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/stack-guard-reassign.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr11415.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr32484.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/wwm-reserved.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/2010-08-04-StackVariable.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/fast-isel-ldr-str-thumb-neg-index.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/fast-isel-select-sse.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fast-isel-call.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/ldrd.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr32284.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/atomic32.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/add.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64_32-null.ll (diff)
The file was modifiedllvm/test/CodeGen/SPARC/fp16-promote.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/swift-return.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/thumb-big-stack.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/sitofp_and_uitofp.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/ctpop.ll (diff)
The file was modifiedllvm/test/DebugInfo/AArch64/frameindices.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr32340.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/atomic64.ll (diff)
The file was modifiedllvm/test/CodeGen/SystemZ/swifterror.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/mixed-ptr-sizes-i686.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/unwind-preserved.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/mixed-ptr-sizes.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/reserve-vgpr-for-sgpr-spill.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/p9-vinsert-vextract.ll (diff)
The file was addedllvm/test/CodeGen/AMDGPU/fastregalloc-illegal-subreg-physreg.mir
The file was modifiedllvm/test/CodeGen/Mips/msa/ldr_str.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/control-flow-fastregalloc.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inline-asm.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/zext_and_sext.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/branch-targets.ll (diff)
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/disassembly.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/pr1489.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fast-isel-br.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/avx-load-store.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/2013-10-14-FastISel-incorrect-vreg.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/swifterror.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/load_4_unaligned.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr30813.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/swift-return.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/mul_vec.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/branch.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-agpr.mir (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/bitreverse.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/micromips-eva.mir (diff)
The file was modifiedllvm/test/DebugInfo/X86/op_deref.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/Fast-ISel/callabi.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/fast-isel-intrinsic.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/pr47454.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr42452.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/regalloc-fast-missing-live-out-spill.mir (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/store_split_because_of_memsize_or_align.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fast-isel-conversion-fallback.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr30430.ll (diff)
The file was addedllvm/test/CodeGen/AMDGPU/fast-ra-kills-vcc.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/aggregate_struct_return.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/sub.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/test_TypeInfoforMF.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/atomicCmpSwapPW.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/anon_aggr.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/global_address.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/mubuf-legalize-operands.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/cttz.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/bswap.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/icmp.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/stack-guard-reassign.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fast-isel-conversion.ll (diff)
The file was modifiedllvm/test/DebugInfo/AArch64/prologue_end.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr32241.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/brindirect.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/partial-sgpr-to-vgpr-spills.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/rem_and_div.ll (diff)
The file was modifiedllvm/test/DebugInfo/X86/subreg.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vector-spill.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/indirect-addressing-term.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/extend-set-cc-uses-dbg.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/debug-info-blocks.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/fast-isel-select.ll (diff)
The file was modifiedllvm/test/DebugInfo/X86/spill-indirect-nrvo.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/darwin-tls-call-clobber.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/global_address_pic.ll (diff)
Commit 3f5031f143b6bc8e41f49dffe5d9072793ee1e79 by stephen.neuendorffer
[mlir] Add missing space in debug message
The file was modifiedmlir/lib/IR/MLIRContext.cpp (diff)
Commit 6daddc213fe56dccf1e88de61065c7fee09deccf by Matthew.Arsenault
AMDGPU: Don't add frame register to frame pseudos

We no longer treat the frame register like a function argument, so the
problem this avoided is no longer relevant.
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp (diff)
Commit 7451bf0b0b6d77e9c39408aeedfa3fa90107fe7a by spatel
[SLP] use std::distance/find to reduce code; NFC

We were already using this code pattern right after
the loop, so this makes it consistent.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp (diff)
Commit 2697d138a65a51b8cf58baa2d4a924c1f43af482 by Chris.Hamilton
[Analyzer] GNU named variadic macros in Plister

Added support for GNU named variadic macros in
macro expansion for plist generation.

Fix for

Reviewed By: Szelethus

Differential Revision:
The file was modifiedclang/test/Analysis/Inputs/expected-plists/plist-macros-with-expansion.cpp.plist (diff)
The file was modifiedclang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp (diff)
The file was modifiedclang/test/Analysis/plist-macros-with-expansion.cpp (diff)
Commit ead7c3cdc34c63d8df78d8e333b7cc64d03236ea by martin
[clang] [MinGW] Add an implicit .exe suffix even when crosscompiling

GCC 8 changed behaviour wrt this, and made it consistent for cross
compilation cases. While it's a change, it's a more sensible behaviour
going forward.

Differential Revision:
The file was modifiedclang/lib/Driver/ToolChains/MinGW.cpp (diff)
The file was removedclang/test/Driver/mingw-implicit-extension-cross.c
The file was modifiedclang/test/Driver/mingw-implicit-extension-windows.c (diff)
Commit 4d85444b317a00a3e15da63cdb693d272c99a0cc by martin
[clang-cl] Always interpret the LIB env var as separated with semicolons

When cross compiling with clang-cl, clang splits the INCLUDE env
variable around semicolons (clang/lib/Driver/ToolChains/MSVC.cpp,
MSVCToolChain::AddClangSystemIncludeArgs) and lld splits the
LIB variable similarly (lld/COFF/Driver.cpp,
LinkerDriver::addLibSearchPaths). Therefore, the consensus for
cross compilation with clang-cl and lld-link seems to be to use
semicolons, despite path lists normally being separated by colons
on unix and EnvPathSeparator being set to that.

Therefore, handle the LIB variable similarly in Clang, when
handling lib file arguments when driving linking via Clang.

This fixes commands like "clang-cl test.c -Fetest.exe kernel32.lib" in
a cross compilation setting. Normally, most users call (lld-)link
directly, but meson happens to use this command syntax for
has_function() tests.

Differential Revision:
The file was modifiedllvm/include/llvm/Support/Process.h (diff)
The file was modifiedclang/test/Driver/cl-inputs.c (diff)
The file was modifiedllvm/lib/Support/Process.cpp (diff)
The file was modifiedclang/lib/Driver/Driver.cpp (diff)
Commit 36c64af9d7f97414d48681b74352c9684077259b by martin
[CodeGen] [WinException] Only produce handler data at the end of the function if needed

If we are going to write handler data (that is written as variable
length data following after the unwind info in .xdata), we need to
emit the handler data immediately, but for cases where no such
info is going to be written, skip emitting it right away. (Unwind
info for all remaining functions that hasn't gotten it emitted
directly is emitted at the end.)

This does slightly change the ordering of sections (triggering a
bunch of updates to DebugInfo/COFF tests), but the change should be

This also matches GCC's assembly output, which doesn't output
.seh_handlerdata unless it actually is needed.

For ARM64, the unwind info can be packed into the runtime function
entry itself (leaving no data in the .xdata section at all), but
that can only be done if there's no follow-on data in the .xdata
section. If emission of the unwind info is triggered via
EmitWinEHHandlerData (or the .seh_handlerdata directive), which
implicitly switches to the .xdata section, there's a chance of the
caller wanting to pass further data there, so the packed format
can't be used in that case.

Differential Revision:
The file was modifiedllvm/test/CodeGen/X86/avx512-regcall-Mask.ll (diff)
The file was modifiedllvm/test/DebugInfo/COFF/types-method-ref-qualifiers.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/conditional-tailcall.ll (diff)
The file was modifiedllvm/test/DebugInfo/COFF/enum-co.ll (diff)
The file was modifiedllvm/test/DebugInfo/COFF/defer-complete-type.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/win64-jumptable.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/break-false-dep.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/gnu-seh-nolpads.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/mingw-comdats.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/win64_frame.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/no-sse-win64.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/mixed-ptr-sizes.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/win64-jumptable.ll (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/WinException.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/musttail-varargs.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/avx512-regcall-NoMask.ll (diff)
The file was modifiedllvm/test/DebugInfo/COFF/global_visibility.ll (diff)
The file was modifiedllvm/test/DebugInfo/COFF/types-basic.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/avx512-intel-ocl.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/conditional-tailcall-pgso.ll (diff)
The file was modifiedllvm/test/DebugInfo/COFF/types-data-members.ll (diff)
The file was modifiedllvm/test/DebugInfo/COFF/types-recursive-struct.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/wineh1.mir (diff)
The file was modifiedllvm/test/DebugInfo/COFF/type-quals.ll (diff)
Commit e5fea37f1a2ac5bb9782c49183d4f2c790a77833 by pzheng
[Hexagon] Make HexagonVLCR compatibile with New PM

The patch modifies HexagonVectorLoopCarriedReuse pass to make it compatible with both Legacy Pass Manager through HexagonVectorLoopCarriedReuseLegacyPass and with New Pass Manager through HexagonVectorLoopCarriedReusePass.

Reviewed By: pzheng

Differential Revision:
The file was modifiedllvm/lib/Target/Hexagon/HexagonTargetMachine.cpp (diff)
The file was addedllvm/lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp (diff)
Commit bb821355387fb4320322b8c2ff63994fffaf49ce by baptiste.saleil
[PowerPC] Remove unnecessary patterns and types

These patterns and type uses were added by mistake by commit
The file was modifiedllvm/lib/Target/PowerPC/ (diff)
The file was modifiedllvm/lib/Target/PowerPC/ (diff)
Commit 2c768c7d6c6185e2c9a606027ee673bd2640e5ca by kparzysz
[EarlyCSE] Small refactoring changes, NFC

1. Store intrinsic ID in ParseMemoryInst instead of a boolean flag
   "IsTargetMemInst". This will make it easier to add support for
   target-independent intrinsics.
2. Extract the complex multiline conditions from EarlyCSE::processNode
   into a new function "getMatchingValue".

Differential Revision:
The file was modifiedllvm/lib/Transforms/Scalar/EarlyCSE.cpp (diff)
Commit 8c3ef08f8a4eb40609af55d541e5135856fde086 by martin
Revert "[clang-cl] Always interpret the LIB env var as separated with semicolons"

This reverts commit 4d85444b317a00a3e15da63cdb693d272c99a0cc.

This commit broke building lldb's NativeProcessProtocolTest.cpp,
with errors like these:

In file included from include/llvm/Support/Process.h:32:0,
                 from tools/lldb/unittests/Host/NativeProcessProtocolTest.cpp:12:
include/llvm/Support/Program.h:39:11: error: reference to ‘pid_t’ is ambiguous
   typedef pid_t procid_t;

/usr/include/sched.h:38:17: note: candidates are: typedef __pid_t pid_t
typedef __pid_t pid_t;

tools/lldb/include/lldb/lldb-types.h:85:18: note: typedef uint64_t lldb::pid_t
typedef uint64_t pid_t;
The file was modifiedllvm/include/llvm/Support/Process.h (diff)
The file was modifiedllvm/lib/Support/Process.cpp (diff)
The file was modifiedclang/lib/Driver/Driver.cpp (diff)
The file was modifiedclang/test/Driver/cl-inputs.c (diff)
Commit 6807f244fa67bb75ef09fb3db54743b5b358a7fa by shafik
[ASTImporter] Modifying ImportDeclContext(...) to ensure that we also handle the case when the FieldDecl is an ArrayType whose ElementType is a RecordDecl

When we fixed ImportDeclContext(...) in D71378 to make sure we complete each
FieldDecl of a RecordDecl when we are importing the definition we missed the
case where a FeildDecl was an ArrayType whose ElementType is a record.

This fix was motivated by a codegen crash during LLDB expression parsing. Since
we were not importing the definition we were crashing during layout which
required all the records be defined.

Differential Revision:
The file was addedlldb/test/API/commands/expression/codegen-crash-import-def-arraytype-element/Makefile
The file was addedlldb/test/API/commands/expression/codegen-crash-import-def-arraytype-element/
The file was addedlldb/test/API/commands/expression/codegen-crash-import-def-arraytype-element/main.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp (diff)
Commit 6a6b06f5262bb96523eceef4a42fe8e60ae2a630 by mtrofin
[NFC][regalloc] Use reverse iterator ranges for improved readability

Differential Revision:
The file was modifiedllvm/lib/CodeGen/RegAllocGreedy.cpp (diff)
Commit 0f6facca9701f6df87d13e55d70bd7111a0472aa by richard
Don't build a StringLiteral expression with reference type when
performing list-initialization of a char array reference from a braced
string literal of a smaller size.
The file was modifiedclang/test/CodeGenCXX/cxx0x-initializer-references.cpp (diff)
The file was modifiedclang/lib/Sema/SemaInit.cpp (diff)
Commit 825203daae7ffea0326757fdbb819682dfbef4f9 by Amara Emerson
[AArch64][GlobalISel] Make <4 x s16> G_ASHR and G_LSHR legal.

Selection support for these is coming up.
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-shift.mir (diff)
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp (diff)
Commit 3a799deed72963d124cc9ab8141fb32976cfc846 by jpienaar
[mlir] Add tutorial pages

Sets the content for the section entry pages Hugo side.

Differential Revision:
The file was addedmlir/docs/Tutorials/
The file was modifiedmlir/docs/Tutorials/Toy/ (diff)
The file was addedmlir/docs/Tutorials/Toy/
The file was modifiedmlir/docs/Tutorials/Toy/ (diff)


  1. Renamed LLVMBuildFactory.pathRelativeToBuild to LLVMBuildFactory.pathRelativeTo. (details)
Commit 9788329dd54eee5217901a301977af3749eac64a by gkistanova
Renamed LLVMBuildFactory.pathRelativeToBuild to LLVMBuildFactory.pathRelativeTo.
The file was modifiedzorg/buildbot/process/ (diff)
The file was modifiedzorg/buildbot/builders/ (diff)
The file was modifiedzorg/buildbot/builders/ (diff)
The file was modifiedzorg/buildbot/builders/ (diff)
The file was modifiedzorg/buildbot/builders/ (diff)
The file was modifiedzorg/buildbot/builders/ (diff)
The file was modifiedzorg/buildbot/builders/ (diff)
The file was modifiedzorg/buildbot/builders/ (diff)