SuccessChanges

Summary

  1. [legacyPM] Do not compute preserved analysis if there's no local change (details)
  2. [X86][SSE] Attempt to match OP(SHUFFLE(X,Y),SHUFFLE(X,Y)) -> SHUFFLE(HOP(X,Y)) (details)
  3. [OpenMP][Tests] Enable nvptx64 testing for most libomptarget tests (details)
  4. [clang-format][NFC] Be more careful about the layout of FormatToken. (details)
  5. [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics. (details)
  6. [Support] Add file lock/unlock functions (details)
  7. [clang-format][NFC] Fix a Wdocumentation warning in TokenAnnotator.cpp (details)
  8. [Attributor] Track AA dependency using dependency graph (details)
  9. [Concepts] Fix ast dump for immediately declared constraint. (details)
  10. [llvm-readelf] Symbol index in symbol table printing is not reset (details)
  11. [llvm-readobj] - Add comments and formatting to mips-options-sec.test and mips-reginfo.test. NFCI. (details)
  12. Avoid use of std::make_unique in compiler-rt/lib/scudo/standalone/tests/combined_test.cpp (details)
  13. [MLIR][Linalg] Retire C++ DotOp in favor of a linalg-ods-gen'd op (details)
  14. [SystemZ/ZOS] Implement setLastAccessAndModificationTime() (details)
  15. [BPI][NFC] Consolidate code to deal with SCCs under a dedicated data structure. (details)
  16. [PowerPC] Split s34imm into two types (details)
  17. [compiler-rt][cmake] Don't pass --version-script to Illumos ld (details)
  18. [Attributor] Add override keyword to the print function of AA (details)
  19. [Support] Use InitLLVM in llvm-stress, sancov and TableGen (details)
  20. [MLIR][Shape] Support transforming shape.num_elements on tensors (details)
  21. ARM: make Thumb1 instructions non-flag-setting in IT block. (details)
  22. [BPI] Fix memory leak reported by sanitizer bots (details)
  23. [OpenMP] Fix libomptarget negative tests to expect abort (details)
  24. [yaml2obj] - Add a way to override sh_type section field. (details)
  25. [clang-tidy][NFC] Make OptionsView methods as const where missing (details)
  26. Re-land "[PowerPC] Remove QPX/A2Q BGQ/BGP CNK support" (details)
  27. [DWARFYAML] Add support for emitting custom range list content. (details)
  28. Clean up cuda-runtime-wrappers API. (details)
  29. [Support][NFC] Fix a Wdocumentation warning in FileSystem.h (details)
  30. [clang][NFC] Add some documentation about the use of NamedDecl::getDeclName in diagnostics. (details)
  31. [AArch64][SVE] Don't support fixedStack for SVE objects. (details)
  32. [AArch64][SVE] Don't align the last SVE callee save. (details)
  33. [AArch64][SVE] Fix epilogue for SVE when the stack is realigned. (details)
  34. [DWARFYAML] Rename checkListEntryOperands() to checkOperandCount(). NFC. (details)
  35. Order of libraries and source files in the f18 frontend (details)
  36. [SCEV] Add additional tests. (details)
  37. AMDGPU/GlobalISel: Use clamp modifier for [us]addsat/[us]subsat (details)
  38. [MLIR][Shape] Lower `shape.const_shape` to `tensor_from_elements` (details)
  39. AMDGPU/GlobalISel: Merge identical select cases (details)
  40. AMDGPU/GlobalISel: Mark GlobalISel classes as final (details)
  41. GlobalISel: Translate llvm.convert.{to|from}.fp16 intrinsics (details)
  42. [OldPM] Print out a bit more when passes lie about changing IR (details)
  43. [FunctionAttrs] Rename functionattrs -> function-attrs (details)
  44. [NewPM][Sancov] Pin RUN lines with -sancov to legacy PM (details)
  45. [FIX] Resolve test failure in polly/test/ScopInfo/memcpy-raw-source.ll (details)
  46. [CompilerRT] Don't pass global compile test flags in non-standalone build (details)
  47. [Darwin] Fix OS version checks inside simulators (details)
  48. [ARM][MVE] Teach MVEGatherScatterLowering to merge successive getelementpointers (details)
  49. [ELF] --reproduce should include lto sample profile (details)
  50. [Darwin] Cleanup code via improved GetMacosAlignedVersion() (details)
  51. [ASTImporter] Add Visitor for TypedefNameDecl's (details)
  52. [lld-macho] Support -filelist (details)
  53. [lld-macho] Fix segment filesize calculation (details)
  54. NFC: Add whitespace changing revisions to .git-blame-ignore-revs (details)
  55. [mlir][Vector] Drop declarative transforms (details)
  56. [JumpThreading] Add tests that have a cast of freeze and vice versa (details)
  57. [libTooling] Add a `between` range-selector combinator. (details)
  58. [X86] Merge disp8 and cdisp8 handling into a single helper function to reduce some code. (details)
  59. [X86] Simplify some code in emitMemModRMByte. NFCI (details)
  60. [lld-macho] Fix no-filelist test on Windows (details)
  61. [libc][obvious] Move ErrnoSetterMatcher to test/ErrnoSetterMetcher.h. (details)
  62. [lldb] Change the definition of ANSI_UNFAINT (details)
  63. [LLD] [MinGW] Implement the --no-seh flag (details)
  64. [JumpThreading] Add a basic support for freeze instruction (details)
  65. Revert "Switch to using -debug-info-kind=constructor as default (from =limited)" (details)
  66. [MLIR] Vector store to load forwarding (details)
  67. [AMDGPU] Spill CSR VGPR which is reserved for SGPR spills (details)
  68. [X86][XOP] Shuffle v16i8 using VPPERM(X,Y) instead of OR(PSHUFB(X),PSHUFB(Y)) (details)
  69. [CostModel][X86] Add abs intrinsics cost model tests (details)
  70. [DAG] isSplatValue - add support for TRUNCATE/SIGN_EXTEND/ZERO_EXTEND (details)
  71. [CostModel][X86] Add smax/smin/umin/umax intrinsics cost model tests (details)
  72. [scudo][standalone] mallopt runtime configuration options (details)
  73. [libc][NFC] Zero out padding bits in the uint form of x86 FPBits<long double>. (details)
  74. [NFC][XCOFF] Use getFunctionEntryPointSymbol from TLOF to simplify logic (details)
  75. [InstSimplify] add tests for icmp with partial undef constant; NFC (details)
  76. [InstCombine] avoid crashing on vector constant expression (PR46872) (details)
  77. [mlir][GPUToSPIRV] Add a test pass to set workgroup size for kernel (details)
  78. [X86] Merge the two 'Emit the normal disp32 encoding' cases in SIB byte handling in emitMemModRMByte. NFCI (details)
  79. [libc++] Clean up tests for "optional" C11 features (details)
  80. [libc++] Provide std::aligned_alloc and std::timespec_get on Apple platforms (details)
  81. [InstSimplify] allow undefs in icmp with vector constant folds (details)
  82. [PowerPC] Mark allocator_oom_test.cpp unsupported on PowerPC (details)
  83. [openacc] Add missing newline at end of file (details)
  84. [NewGVN] Add test cases for remaining known issues. (details)
  85. [MLIR][Linalg] Fixed obsolete examples in the MLIR Linalg Dialect doc (details)
  86. [llvm][NFC] refactor setBlockFrequency for clarity. (details)
  87. [lld][linkerscript] Fix handling of DEFINED. (details)
  88. Reland [Coverage] Add comment to skipped regions (details)
  89. PR46377: Fix dependence calculation for function types and typedef (details)
  90. Revert D83834 "Add test utility 'extract'" (details)
  91. Revert "[gn build] (manually) merge d054c7ee2e9" (details)
  92. [X86] Remove disabled miscompiling X86CondBrFolding pass (details)
  93. AMDGPU: Check for other defs when folding conditions into s_andn2_b64 (details)
  94. [NFC] Sema: use checkArgCount instead of custom checking (details)
  95. AMDGPU/GlobalISel: Add SReg_96 to SGPRRegBank (details)
  96. AMDGPU/GlobalISel: Add some missing tests for extract selection (details)
  97. GlobalISel: Add typeIsNot LegalityPredicate (details)
  98. GlobalISel: Don't assert on operations with no type indices (details)
Commit 3218c064d6d8c2cc910570c9a13cb859a2e91d08 by sguelton
[legacyPM] Do not compute preserved analysis if there's no local change

All analysis are preserved if there's no local change, and thanks to
3667d87a33d3c8d4072a41fd84bb880c59347dc0 this property is enforced for all
passes.

Skipping the dependency computation improves the performance when there's a lot
of small functions, where only a few change happen.

Thanks to Nikita Popov who provided this numbers (extract below)

https://llvm-compile-time-tracker.com/compare.php?from=183342c0a9850e60dd7a004b651c83dfb3a7d25e&to=f2f91e6a2743070471cc9471e4e8c646e50c653c&stat=instructions

O3: (number of instructions)
Benchmark               Old             New
kimwitu++               60783M          59968M          (-1.34%)
sqlite3                 73200M          73083M          (-0.16%)
consumer-typeset        52776M          52712M          (-0.12%)
Bullet                  133709M         132940M         (-0.58%)
tramp3d-v4              123864M         123186M         (-0.55%)
mafft                   55534M          55477M          (-0.10%)
ClamAV                  76292M          76164M          (-0.17%)
lencod                  103190M         103061M         (-0.13%)
SPASS                   64068M          63713M          (-0.55%)
7zip                    197332M         196308M         (-0.52%)
geomean                 85750M          85389M          (-0.42%)

Differential Revision: https://reviews.llvm.org/D80707
The file was modifiedllvm/lib/IR/LegacyPassManager.cpp
Commit 182111777b4ec215eeebe8ab5cc2a324e2f055ff by llvm-dev
[X86][SSE] Attempt to match OP(SHUFFLE(X,Y),SHUFFLE(X,Y)) -> SHUFFLE(HOP(X,Y))

An initial backend patch towards fixing the various poor HADD combines (PR34724, PR41813, PR45747 etc.).

This extends isHorizontalBinOp to check if we have per-element horizontal ops (odd+even element pairs), but not in the expected serial order - in which case we build a "post shuffle mask" that we can apply to the HOP result, assuming we have fast-hops/optsize etc.

The next step will be to extend the SHUFFLE(HOP(X,Y)) combines as suggested on PR41813 - accepting more post-shuffle masks even on slow-hop targets if we can fold it into another shuffle.

Differential Revision: https://reviews.llvm.org/D83789
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v4.ll
The file was modifiedllvm/test/CodeGen/X86/haddsub-3.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v8.ll
The file was modifiedllvm/test/CodeGen/X86/haddsub-shuf.ll
The file was modifiedllvm/test/CodeGen/X86/haddsub-4.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/haddsub-undef.ll
Commit e2f5444c9ce2e0558a69fb32bd001017244eeebc by protze
[OpenMP][Tests] Enable nvptx64 testing for most libomptarget tests

Also add $BUILD/lib to the LIBRARY_PATH to fix
https://bugs.llvm.org/show_bug.cgi?id=46836.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D84557
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_target_update.cpp
The file was modifiedopenmp/libomptarget/test/mapping/pr38704.c
The file was modifiedopenmp/libomptarget/test/offloading/d2d_memcpy.c
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_api.cpp
The file was modifiedopenmp/libomptarget/test/offloading/offloading_success.c
The file was modifiedopenmp/libomptarget/test/offloading/offloading_success.cpp
The file was modifiedopenmp/libomptarget/test/offloading/dynamic_module.c
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_target.cpp
The file was modifiedopenmp/libomptarget/test/offloading/looptripcnt.c
The file was modifiedopenmp/libomptarget/test/offloading/target_depend_nowait.cpp
The file was modifiedopenmp/libomptarget/test/offloading/dynamic_module_load.c
The file was modifiedopenmp/libomptarget/test/env/omp_target_debug.c
The file was modifiedopenmp/libomptarget/test/mapping/alloc_fail.c
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_target_data_enter_exit.cpp
The file was modifiedopenmp/libomptarget/test/mapping/delete_inf_refcount.c
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_target_data.cpp
The file was modifiedopenmp/libomptarget/test/lit.cfg
The file was modifiedopenmp/libomptarget/test/offloading/requires.c
The file was modifiedopenmp/libomptarget/test/offloading/parallel_offloading_map.c
Commit f5acd11d2c0ea228452aa5ed3abbc2c502009d56 by riccibrun
[clang-format][NFC] Be more careful about the layout of FormatToken.

The underlying ABI forces FormatToken to have a lot of padding.

Currently (on x86-64 linux) `sizeof(FormatToken) == 288`. After this patch
`sizeof(FormatToken) == 232`.

No functional changes.

Reviewed By: MyDeveloperDay

Differential Revision: https://reviews.llvm.org/D84306
The file was modifiedclang/lib/Format/WhitespaceManager.cpp
The file was modifiedclang/lib/Format/FormatToken.h
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
The file was modifiedclang/lib/Format/UnwrappedLineFormatter.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/lib/Format/FormatToken.cpp
The file was modifiedclang/lib/Format/ContinuationIndenter.cpp
The file was modifiedclang/lib/Format/Format.cpp
Commit eb10b065f2a870b425dcc2040b9955e0eee464b4 by riccibrun
[clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics.

Background:
-----------
There are two related argument types which can be sent into a diagnostic to
display the name of an entity: DeclarationName (ak_declarationname) or
NamedDecl* (ak_nameddecl) (there is also ak_identifierinfo for
IdentifierInfo*, but we are not concerned with it here).

A DeclarationName in a diagnostic will just be streamed to the output,
which will directly result in a call to DeclarationName::print.

A NamedDecl* in a diagnostic will also ultimately result in a call to
DeclarationName::print, but with two customisation points along the way:

The first customisation point is NamedDecl::getNameForDiagnostic which is
overloaded by FunctionDecl, ClassTemplateSpecializationDecl and
VarTemplateSpecializationDecl to print the template arguments, if any.

The second customisation point is NamedDecl::printName. By default it just
streams the stored DeclarationName into the output but it can be customised
to provide a user-friendly name for an entity. It is currently overloaded by
DecompositionDecl and MSGuidDecl.

What this patch does:
---------------------
For many diagnostics a DeclarationName is used instead of the NamedDecl*.
This bypasses the two customisation points mentioned above. This patches fix
this for diagnostics in Sema.cpp, SemaCast.cpp, SemaChecking.cpp, SemaDecl.cpp,
SemaDeclAttr.cpp, SemaDecl.cpp, SemaOverload.cpp and SemaStmt.cpp.

I have only modified diagnostics where I could construct a test-case which
demonstrates that the change is appropriate (either with this patch or the next
one).

Reviewed By: erichkeane, aaron.ballman

Differential Revision: https://reviews.llvm.org/D84656
The file was modifiedclang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p3.cpp
The file was modifiedclang/test/SemaCXX/default2.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/test/SemaCXX/references.cpp
The file was modifiedclang/test/SemaCXX/warn-func-not-needed.cpp
The file was modifiedclang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/p1.cpp
The file was modifiedclang/test/SemaCXX/array-bounds.cpp
The file was modifiedclang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp
The file was modifiedclang/test/SemaCXX/warn-large-by-value-copy.cpp
The file was modifiedclang/test/CXX/temp/temp.param/p15-cxx0x.cpp
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/test/SemaCXX/warn-pure-virtual-kext.cpp
The file was modifiedclang/test/SemaCXX/return-void.cpp
The file was modifiedclang/test/SemaCXX/warn-member-not-needed.cpp
The file was modifiedclang/test/SemaCXX/warn-variable-not-needed.cpp
The file was modifiedclang/lib/Sema/SemaCast.cpp
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/SemaCXX/warn-pure-virtual-call-from-ctor-dtor.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/test/SemaCXX/warn-unused-filescoped.cpp
The file was modifiedclang/test/Modules/module-private.cpp
The file was modifiedclang/test/SemaCXX/attr-unused.cpp
The file was modifiedclang/test/SemaCXX/incomplete-call.cpp
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.noreturn/p1.cpp
The file was modifiedclang/lib/Sema/SemaStmt.cpp
Commit 536736995bf5d073853c7e884968c9847b4ae64d by sepavloff
[Support] Add file lock/unlock functions

This is recommit of f51bc4fb60fb, reverted in 8577595e03fa, because
the function `flock` is not available on Solaris. In this variant
`flock` was replaced with `fcntl`, which is a POSIX function.

New functions `lockFile`, `tryLockFile` and `unlockFile` implement
simple file locking. They lock or unlock entire file. This must be
enough to support simulataneous writes to log files in parallel builds.

Differential Revision: https://reviews.llvm.org/D78896
The file was modifiedllvm/lib/Support/Unix/Path.inc
The file was modifiedllvm/include/llvm/Support/FileSystem.h
The file was modifiedllvm/unittests/Support/ProgramTest.cpp
The file was modifiedllvm/lib/Support/Windows/Path.inc
Commit b81fd5aeecd8047ef62348b67cab2cf9a1577d8e by riccibrun
[clang-format][NFC] Fix a Wdocumentation warning in TokenAnnotator.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
Commit 5ee07dc53fcaaad35d33478e8702e443ac1cb058 by clfbbn
[Attributor] Track AA dependency using dependency graph

This patch added dependency graph to the attributor so that we can dump the dependencies between AAs more easily. We can also apply general graph algorithms to the graph, making it easier for us to create deep wrappers.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D78861
The file was addedllvm/test/Transforms/Attributor/depgraph.ll
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit c0bd9fa137c28a3ef833b46b7f9770b060275281 by hokein.wu
[Concepts] Fix ast dump for immediately declared constraint.

Reviewed By: nridge

Differential Revision: https://reviews.llvm.org/D84461
The file was addedclang/test/AST/ast-dump-concepts.cpp
The file was modifiedclang/lib/AST/TextNodeDumper.cpp
Commit 67070d98fae5c49e183ff5d68ae8038e6fd8f5a9 by grimar
[llvm-readelf] Symbol index in symbol table printing is not reset

Stop using static variables for keeping track of symbol indices.

Bugfix for: https://bugs.llvm.org/show_bug.cgi?id=46777

Differential revision: https://reviews.llvm.org/D84606
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/test/tools/llvm-readobj/ELF/symbols.test
Commit 93b7915504b708f39a75d72e08448443a899345e by grimar
[llvm-readobj] - Add comments and formatting to mips-options-sec.test and mips-reginfo.test. NFCI.

This will allow to extend them (needed for D84651).
The file was modifiedllvm/test/tools/llvm-readobj/ELF/mips-options-sec.test
The file was modifiedllvm/test/tools/llvm-readobj/ELF/mips-reginfo.test
Commit 7e8d5a90f2c101388d3b0bbce8555e871c670232 by hans
Avoid use of std::make_unique in compiler-rt/lib/scudo/standalone/tests/combined_test.cpp

make_unique is a C++14 feature, and this prevents us from building on
Ubuntu Trusty. While we do use a C++14 compatible toolchain for building
in general, we fall back to the system toolchain for building the
compiler-rt tests.

The reason is that those tests get cross-compiled for e.g. 32-bit and
64-bit x86, and while the toolchain provides libstdc++ in those
flavours, the resulting compiler-rt test binaries don't get RPATH set
and so won't start if they're linked with that toolchain.

We've tried linking the test binaries against libstdc++ statically, by
passing COMPILER_RT_TEST_COMPILER_CFLAGS=-static-libstdc++. That mostly
works, but some test targets append -lstdc++ to the compiler invocation.

So, after spending way too much time on this, let's just avoid C++14
here for now.
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/combined_test.cpp
Commit 946be75b9ec131519837e85487fc3e8bf475d001 by zinenko
[MLIR][Linalg] Retire C++ DotOp in favor of a linalg-ods-gen'd op

- replace DotOp, now that DRR rules have been dropped.

- Capture arguments mismatch in the parser. The number of parsed arguments must
  equal the number of expected arguments.

Reviewed By: ftynse, nicolasvasilache

Differential Revision: https://reviews.llvm.org/D82952
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOpsSpec.tc
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Loops.cpp
The file was modifiedmlir/lib/Conversion/LinalgToStandard/LinalgToStandard.cpp
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.h
The file was modifiedmlir/test/Dialect/Linalg/roundtrip.mlir
The file was modifiedmlir/test/Dialect/Linalg/invalid.mlir
The file was modifiedmlir/test/mlir-cpu-runner/linalg_integration_test.mlir
The file was modifiedmlir/test/Dialect/Linalg/tile.mlir
The file was modifiedmlir/test/Dialect/Linalg/standard.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
The file was modifiedmlir/test/Dialect/Linalg/transform-patterns-matmul-to-vector.mlir
The file was modifiedmlir/test/Dialect/Linalg/transform-patterns.mlir
The file was modifiedmlir/test/Dialect/Linalg/loops.mlir
Commit 7294ca3f6ecacd05a197bbf0637e10afcb99b6d6 by kai
[SystemZ/ZOS] Implement setLastAccessAndModificationTime()

The function setLastAccessAndModificationTime() uses function
futimens() or futimes() by default. Both functions are not
available in z/OS, therefore functionality is implemented using
__fchattr() on z/OS.

Reviews by: abhina.sreeskantharajan

Differential Revision: https://reviews.llvm.org/D83945
The file was modifiedllvm/lib/Support/Unix/Path.inc
Commit 3a2b05f9fe74fcf9560632cf2695058d47d8683b by ybrevnov
[BPI][NFC] Consolidate code to deal with SCCs under a dedicated data structure.

In order to facilitate review of D79485 here is a small NFC change which restructures code around handling of SCCs in BPI.

Reviewed By: davidxl

Differential Revision: https://reviews.llvm.org/D84514
The file was modifiedllvm/include/llvm/Analysis/BranchProbabilityInfo.h
The file was modifiedllvm/lib/Analysis/BranchProbabilityInfo.cpp
Commit 97470897c436a6a5d682fb8ab296d0bcdc6e32a4 by stefanp
[PowerPC] Split s34imm into two types

Currently the instruction paddi always takes s34imm as the type for the
34 bit immediate. However, the PC Relative form of the instruction should
not produce the same fixup as the non PC Relative form.
This patch splits the s34imm type into s34imm and s34imm_pcrel so that two
different fixups can be emitted.

Reviewed By: nemanjai, #powerpc, kamaub

Differential Revision: https://reviews.llvm.org/D83255
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrPrefix.td
The file was addedllvm/test/MC/PowerPC/ppc64-errors-emit-obj.s
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.td
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCFixupKinds.h
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.h
Commit 443e734fb98df422c90cbc8177520a8182597912 by ro
[compiler-rt][cmake] Don't pass --version-script to Illumos ld

Neither the Illumos `ld` nor the Solaris 11.3 one support the `--version-script` and
`z gnu-linker-script-compat` options, which breaks the `compiler-rt` build.

This patch checks for both options instead of hardcoding their use.

Tested on `amd-pc-solaris2.11` (all of Solaris 11.4, 11.3, and Illumos).

Differential Revision: https://reviews.llvm.org/D84559
The file was modifiedcompiler-rt/lib/asan/CMakeLists.txt
The file was modifiedcompiler-rt/cmake/config-ix.cmake
The file was modifiedcompiler-rt/lib/ubsan/CMakeLists.txt
Commit 0f62a53db64a943972e51d3d58610595d22779fd by clfbbn
[Attributor] Add override keyword to the print function of AA

The print() function in the `AbstractAttribute` structure overrides
the function in the `AADepGraphNode`, so we need to mark it as
override.

This should fix a buildbot failure introduced by 5ee07dc.
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit d3557ecede8e72b60df6a6d933d6c6ec16c48154 by kai
[Support] Use InitLLVM in llvm-stress, sancov and TableGen

This patch refactors the llvm tools namely, llvm-stress and sancov,
as well as the llvm TableGen utility, to use the new InitLLVM
interface which encapsulates PrettyStackTrace.

This is from https://reviews.llvm.org/D70702, but only for LLVM.

Reviewed-by: Kai

Differential Revision: https://reviews.llvm.org/D83484
The file was modifiedllvm/tools/llvm-stress/llvm-stress.cpp
The file was modifiedllvm/utils/TableGen/TableGen.cpp
The file was modifiedllvm/tools/sancov/sancov.cpp
Commit 6d10d317d8b0f1975dbb17850efd7c069f6ee8fd by herhut
[MLIR][Shape] Support transforming shape.num_elements on tensors

The current transformation to shape.reduce does not support tensor values.
This adds the required changes to make that work, including fixing the builder
for shape.reduce.

Differential Revision: https://reviews.llvm.org/D84744
The file was modifiedmlir/test/Dialect/Shape/shape-to-shape.mlir
The file was modifiedmlir/lib/Dialect/Shape/Transforms/ShapeToShapeLowering.cpp
The file was modifiedmlir/lib/Dialect/Shape/IR/Shape.cpp
Commit 39108f4c7a2c52be88f73bd6abaa613f4b28d327 by Tim Northover
ARM: make Thumb1 instructions non-flag-setting in IT block.

Many Thumb1 instructions are defined to set CPSR if executed outside an IT
block, but leave it alone from inside one. In MachineIR this is represented by
whether an optional register is CPSR or NoReg (0), and affects how the
instructions are printed.

This sets the instruction to the appropriate form during if-conversion.
The file was modifiedllvm/test/CodeGen/ARM/thumb2-it-block.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrFormats.td
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/ifcvt-rescan-diamonds.ll
Commit 412b3932c6612f4a60bfa8e0811cf6ba1bd3e0e8 by ybrevnov
[BPI] Fix memory leak reported by sanitizer bots

There is a silly mistake where release() is used instead of reset() for free resources of unique pointer.

Reviewed By: ebrevnov

Differential Revision: https://reviews.llvm.org/D84747
The file was modifiedllvm/lib/Analysis/BranchProbabilityInfo.cpp
Commit 9b4826d18b5fba5fe638e1045c9c47d3fe8da8c8 by jdenny.ornl
[OpenMP] Fix libomptarget negative tests to expect abort

On runtime failures, D83963 causes the runtime to abort instead of
merely exiting with a non-zero value, but many tests in the
libomptarget test suite still expect the former behavior.  This patch
updates the test suite and was discussed in post-commit comments on
D83963 and D84557.
The file was modifiedopenmp/libomptarget/test/lit.cfg
Commit bd93f5ce07ef2fb9c1897bddc576fe4afb464788 by grimar
[yaml2obj] - Add a way to override sh_type section field.

This adds the `ShType` key similar to others `Sh*` keys we have.

My use case is the following. Imagine we have a `SHT_SYMTAB_SHNDX`
section and want to hide it from a dumper. The natural way would be to
do something like:

```
  - Name:    .symtab_shndx
    Type:    [[TYPE=SHT_SYMTAB_SHNDX]]
    Entries: [ 0, 1 ]

```

and then change the TYPE from `SHT_SYMTAB_SHNDX` to something else,
for example to `SHT_PROGBITS`.

But we have a problem: regular sections does not have `Entries` key,
so yaml2obj will be unable to produce a section.

The solution is to introduce a `ShType` key to override the final type.

This is not the first time I am facing the need to change the type. I
was able to invent workarounds or solved issues differently in the past,
but finally came to conclusion that we just should support the `ShType`.

Differential revision: https://reviews.llvm.org/D84738
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was addedllvm/test/tools/yaml2obj/ELF/override-shtype.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
Commit 7bae3188e08746566733148a4ceccdb3cf24e93b by n.james93
[clang-tidy][NFC] Make OptionsView methods as const where missing
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyCheck.h
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyCheck.cpp
Commit d28f86723f37b2329428dfbcf847d3261f38dcc8 by Jinsong Ji
Re-land "[PowerPC] Remove QPX/A2Q BGQ/BGP CNK support"

This reverts commit bf544fa1c3cb80f24d85e84559fb11193846259f.

Fixed the typo in PPCInstrInfo.cpp.
The file was modifiedllvm/test/Analysis/BasicAA/phi-spec-order.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
The file was modifiedopenmp/runtime/src/kmp_lock.h
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedopenmp/runtime/src/kmp_os.h
The file was modifiedllvm/test/CodeGen/PowerPC/rlwinm_rldicl_to_andi.mir
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.td
The file was modifiedllvm/test/CodeGen/PowerPC/loop-data-prefetch-inner.ll
The file was removedllvm/test/CodeGen/PowerPC/qpx-bv.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.h
The file was modifiedllvm/test/CodeGen/PowerPC/convert-rr-to-ri-instrs-out-of-range.mir
The file was modifiedllvm/test/CodeGen/PowerPC/ctrloop-shortLoops.ll
The file was modifiedllvm/test/CodeGen/PowerPC/2012-11-16-mischedcall.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fma-mutate-duplicate-vreg.ll
The file was modifiedllvm/test/CodeGen/PowerPC/machine-combiner.ll
The file was removedllvm/test/CodeGen/PowerPC/qpx-sel.ll
The file was modifiedclang/test/Driver/clang-translation.c
The file was modifiedllvm/include/llvm/ADT/Triple.h
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrFormats.td
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/fp-bc-icmp-const-fold.ll
The file was removedllvm/test/CodeGen/PowerPC/qpx-split-vsetcc.ll
The file was removedllvm/test/CodeGen/PowerPC/qpx-load-splat.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aantidep-inline-asm-use.ll
The file was modifiedllvm/unittests/ADT/TripleTest.cpp
The file was modifiedclang/lib/Driver/ToolChains/Arch/PPC.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/NoCRFieldRedefWhenSpillingCRBIT.mir
The file was modifiedllvm/test/Transforms/DeadStoreElimination/combined-partial-overwrites.ll
The file was modifiedopenmp/runtime/src/kmp_csupport.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/rlwimi-and.ll
The file was modifiedpolly/lib/External/isl/config.sub
The file was modifiedllvm/test/CodeGen/PowerPC/ppc64-sibcall.ll
The file was modifiedpolly/lib/External/ppcg/config.sub
The file was modifiedllvm/test/CodeGen/PowerPC/inlineasm-i64-reg.ll
The file was removedllvm/test/CodeGen/PowerPC/qpx-rounding-ops.ll
The file was modifiedclang/lib/Basic/Targets/PPC.h
The file was removedllvm/test/CodeGen/PowerPC/qpx-store.ll
The file was removedllvm/test/CodeGen/PowerPC/qpx-func-clobber.ll
The file was modifiedllvm/test/CodeGen/PowerPC/mc-instrlat.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fp2int2fp-ppcfp128.ll
The file was modifiedllvm/test/CodeGen/PowerPC/pr27350.ll
The file was removedllvm/test/CodeGen/PowerPC/qpx-qvfmadd.ll
The file was removedllvm/test/MC/Disassembler/PowerPC/qpx.txt
The file was removedllvm/test/CodeGen/PowerPC/qpx-bv-sint.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/unal-vec-ldst.ll
The file was modifiedllvm/test/CodeGen/PowerPC/uwtables.ll
The file was modifiedllvm/test/CodeGen/PowerPC/setcr_bc.mir
The file was modifiedllvm/test/CodeGen/PowerPC/memcpy-vec.ll
The file was modifiedllvm/test/CodeGen/PowerPC/select-i1-vs-i1.ll
The file was modifiedllvm/lib/Target/PowerPC/PPC.td
The file was modifiedopenmp/runtime/src/kmp_platform.h
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.td
The file was modifiedllvm/test/CodeGen/PowerPC/convert-rr-to-ri-instrs-R0-special-handling.mir
The file was modifiedllvm/test/CodeGen/PowerPC/loop-data-prefetch.ll
The file was modifiedclang/test/Driver/ppc-abi.c
The file was removedllvm/test/CodeGen/PowerPC/qpx-s-store.ll
The file was modifiedllvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCScheduleP9.td
The file was modifiedopenmp/runtime/src/kmp.h
The file was modifiedllvm/include/llvm/IR/IntrinsicsPowerPC.td
The file was modifiedllvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/asm-constraints.ll
The file was modifiedllvm/test/CodeGen/PowerPC/selectiondag-extload-computeknownbits.ll
The file was modifiedllvm/test/Transforms/EntryExitInstrumenter/mcount.ll
The file was modifiedllvm/test/CodeGen/PowerPC/asm-Zy.ll
The file was modifiedllvm/test/CodeGen/PowerPC/preinc-ld-sel-crash.ll
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/glob-comp-aa-crash.ll
The file was removedllvm/test/CodeGen/PowerPC/qpx-unalperm.ll
The file was modifiedllvm/test/CodeGen/PowerPC/convert-rr-to-ri-instrs.mir
The file was removedllvm/test/CodeGen/PowerPC/qpx-recipest.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCCallingConv.td
The file was modifiedllvm/test/CodeGen/PowerPC/fast-isel-icmp-split.ll
The file was modifiedllvm/test/CodeGen/PowerPC/pcrel-local-caller-toc.ll
The file was modifiedclang/test/Preprocessor/init-ppc64.c
The file was modifiedllvm/test/CodeGen/PowerPC/popcnt.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.cpp
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/PowerPC/BUILD.gn
The file was modifiedllvm/test/Transforms/LoopVectorize/PowerPC/vectorize-only-for-real.ll
The file was modifiedllvm/lib/Support/Triple.cpp
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/test/Analysis/CostModel/PowerPC/unal-vec-ldst.ll
The file was modifiedllvm/lib/Target/PowerPC/CMakeLists.txt
The file was modifiedclang/lib/Basic/Targets/PPC.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/misched-inorder-latency.ll
The file was modifiedllvm/test/CodeGen/PowerPC/load-two-flts.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetMachine.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/misched.ll
The file was modifiedllvm/test/CodeGen/PowerPC/setcr_bc2.mir
The file was modifiedopenmp/runtime/src/z_Linux_asm.S
The file was modifiedllvm/test/CodeGen/PowerPC/mcount-insertion.ll
The file was removedllvm/test/CodeGen/PowerPC/qpx-s-load.ll
The file was modifiedllvm/test/CodeGen/PowerPC/s000-alias-misched.ll
The file was removedllvm/lib/Target/PowerPC/PPCQPXLoadSplat.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/ppc-passname.ll
The file was modifiedllvm/test/Transforms/LoopSimplify/dup-preds.ll
The file was modifiedclang/test/Misc/target-invalid-cpu-note.c
The file was modifiedllvm/test/CodeGen/PowerPC/pr24546.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/loop-prep-all.ll
The file was modifiedllvm/test/CodeGen/PowerPC/stwu-sched.ll
The file was removedllvm/test/CodeGen/PowerPC/memset-nc.ll
The file was modifiedopenmp/runtime/src/z_Linux_util.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/DisableHoistingDueToBlockHotnessProfileData.mir
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.h
The file was modifiedllvm/test/Transforms/SCCP/fp-bc-icmp-const-fold.ll
The file was removedllvm/test/MC/PowerPC/qpx.s
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was removedllvm/test/CodeGen/PowerPC/a2q.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h
The file was removedllvm/test/Transforms/LoopVectorize/PowerPC/agg-interleave-a2.ll
The file was removedllvm/test/CodeGen/PowerPC/a2q-stackalign.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.h
The file was removedllvm/test/CodeGen/PowerPC/qpx-load.ll
The file was removedllvm/test/CodeGen/PowerPC/qpx-unal-cons-lds.ll
The file was removedllvm/lib/Target/PowerPC/PPCInstrQPX.td
The file was modifiedllvm/test/CodeGen/PowerPC/ec-input.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/pr14167.ll
The file was removedllvm/test/Transforms/InstCombine/PowerPC/aligned-qpx.ll
The file was modifiedllvm/test/Transforms/LoopDataPrefetch/PowerPC/basic.ll
The file was modifiedllvm/lib/Target/PowerPC/PPC.h
The file was modifiedllvm/test/CodeGen/PowerPC/lxv-aligned-stack-slots.ll
The file was modifiedllvm/test/CodeGen/PowerPC/ctr-minmaxnum.ll
The file was removedllvm/test/CodeGen/PowerPC/qpx-s-sel.ll
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/PowerPC/vararg-ppc64.ll
The file was modifiedllvm/test/CodeGen/PowerPC/pr28130.ll
The file was modifiedllvm/test/CodeGen/PowerPC/ifcvt-forked-bug-2016-08-08.ll
The file was modifiedllvm/test/CodeGen/PowerPC/optnone-crbits-i1-ret.ll
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/combined-partial-overwrites.ll
The file was modifiedllvm/test/CodeGen/PowerPC/extra-toc-reg-deps.ll
The file was modifiedllvm/test/Transforms/NewGVN/pr31483.ll
Commit 22ec861d28c0aa0cdf76b9618151b9ee87ba2221 by Xing
[DWARFYAML] Add support for emitting custom range list content.

This patch adds support for emitting custom range list content.

We are able to handcraft a custom range list via the following syntax.

```
debug_rnglists:
  - Lists:
      - Entries:
          - Operator: DW_RLE_startx_endx
            Values:   [ 0x1234, 0x1234 ]
      - Content: '1234567890abcdef'
      - Content: 'abcdef1234567890'
```

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D84618
The file was modifiedllvm/lib/ObjectYAML/DWARFEmitter.cpp
The file was modifiedllvm/test/tools/yaml2obj/ELF/DWARF/debug-rnglists.yaml
The file was modifiedllvm/lib/ObjectYAML/DWARFYAML.cpp
The file was modifiedllvm/include/llvm/ObjectYAML/DWARFYAML.h
Commit c64c04bbaadbc35e265f12644b45787d6d077587 by csigg
Clean up cuda-runtime-wrappers API.

Do not return error code, instead return created resource handles or void. Error reporting is done by the library function.

Reviewed By: herhut

Differential Revision: https://reviews.llvm.org/D84660
The file was modifiedmlir/tools/mlir-cuda-runner/cuda-runtime-wrappers.cpp
The file was modifiedmlir/tools/mlir-rocm-runner/rocm-runtime-wrappers.cpp
The file was modifiedmlir/lib/Conversion/GPUCommon/ConvertLaunchFuncToRuntimeCalls.cpp
The file was modifiedmlir/test/Conversion/GPUCommon/lower-launch-func-to-gpu-runtime-calls.mlir
Commit 01302ec08609ef3b113e13aba2a08443e4fa3046 by riccibrun
[Support][NFC] Fix a Wdocumentation warning in FileSystem.h
The file was modifiedllvm/include/llvm/Support/FileSystem.h
Commit 984cf99055a292b3afe4535c013d38914a3da880 by riccibrun
[clang][NFC] Add some documentation about the use of NamedDecl::getDeclName in diagnostics.

As explained in eb10b065f2a870b425dcc2040b9955e0eee464b4, sending a NamedDecl*
in a diagnostic should generally be preferred over sending the DeclarationName
from getDeclName(). Let's document that.
The file was modifiedclang/include/clang/AST/Decl.h
Commit 54492a5843a34684ce21ae201dd8ca3e509288fd by sander.desmalen
[AArch64][SVE] Don't support fixedStack for SVE objects.

Fixed stack objects are preallocated and defined to be allocated before
any of the regular stack objects. These are normally used to model stack
arguments.

The AAPCS does not support passing SVE registers on the stack by value
(only by reference). The current layout also doesn't place them before
all stack objects, but rather before all SVE objects. Removing this
simplifies the code that emits the allocation/deallocation
around callee-saved registers (D84042).

This patch also removes all uses of fixedStack from from
framelayout-sve.mir, where this was used purely for testing purposes.

Reviewers: paulwalker-arm, efriedma, rengolin

Reviewed By: paulwalker-arm

Differential Revision: https://reviews.llvm.org/D84538
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/framelayout-sve.mir
Commit 26b4ef3694973ea2fa656d3d3a7f67f16f135654 by sander.desmalen
[AArch64][SVE] Don't align the last SVE callee save.

Instead of aligning the last callee-saved-register slot to the stack
alignment (16 bytes), just align the SVE callee-saved block. This also
simplifies the code that allocates space for the callee-saves.

This change is needed to make sure the offset to which the callee-saved
register is spilled, corresponds to the offset used for e.g. unwind call
frame instructions.

Reviewers: efriedma, paulwalker-arm, david-arm, rengolin

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D84042
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/sve-trunc.ll
The file was modifiedllvm/test/CodeGen/AArch64/framelayout-sve.mir
Commit cda2eb3ad2bbe923e74d6eb083af196a0622d800 by sander.desmalen
[AArch64][SVE] Fix epilogue for SVE when the stack is realigned.

While deallocating the stackframe, the offset used to reload the
callee-saved registers was not pointing to the SVE callee-saves,
but rather to the whole SVE area.

   +--------------+
   | GRP callee   |
   |     saves    |
   +--------------+ <- FP
   | SVE callee   |
   |     saves    |
   +--------------+ <- Should restore SVE callee saves from here
   |  SVE Spills  |
   |  and Locals  |
   +--------------+ <- instead of from here.
   |              |
   :              :
   |              |
   +--------------+ <- SP

Reviewed By: paulwalker-arm

Differential Revision: https://reviews.llvm.org/D84539
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/framelayout-sve.mir
Commit 6784d82d5b859cc14a63358d34ed50e6e2f9bf43 by Xing
[DWARFYAML] Rename checkListEntryOperands() to checkOperandCount(). NFC.

This patch renames checkListEntryOperands() to checkOperandCount(), so
that we are able to check DWARF expression operands using the same
function.

Reviewed By: jhenderson, labath

Differential Revision: https://reviews.llvm.org/D84624
The file was modifiedllvm/lib/ObjectYAML/DWARFEmitter.cpp
Commit ca0bf440dbf9977340db4a32ba61740930c2be03 by aperry
Order of libraries and source files in the f18 frontend

When the f18 frontend calls the link editor, put the libraries and object files in the correct order.

Fixes the issues reported here https://github.com/flang-compiler/flang/issues/897

Reviewed By: sscalpone, AlexisPerry

Differential Revision: https://reviews.llvm.org/D84340
The file was modifiedflang/tools/f18/f18.cpp
Commit be2ea29ee16bc132626cba07559e9f023ad6ac13 by flo
[SCEV] Add additional tests.

Increase test coverage for upcoming changes to how SCEV deals with LCSSA
phis.
The file was modifiedllvm/test/Transforms/LoopStrengthReduce/funclet.ll
The file was addedllvm/test/Analysis/ScalarEvolution/trivial-phis.ll
The file was addedllvm/test/Transforms/IndVarSimplify/scev-expander-preserve-lcssa.ll
The file was addedllvm/test/Transforms/LoopStrengthReduce/scev-expander-lcssa.ll
Commit a4edc04693f76eec9068db0556d6533e4c201d74 by Matthew.Arsenault
AMDGPU/GlobalISel: Use clamp modifier for [us]addsat/[us]subsat

We also have never handled this for SelectionDAG, which needs
additional work.
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGISel.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-saddsat.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/uaddsat.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/ssubsat.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
The file was modifiedllvm/lib/Target/AMDGPU/VOP3PInstructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/usubsat.ll
The file was modifiedllvm/lib/Target/AMDGPU/VOPInstructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ssubsat.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-usubsat.mir
The file was modifiedllvm/lib/Target/AMDGPU/VOP3Instructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/saddsat.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-uaddsat.mir
Commit dfcc09890a91b1085139fee175936b0e67824e47 by frgossen
[MLIR][Shape] Lower `shape.const_shape` to `tensor_from_elements`

Differential Revision: https://reviews.llvm.org/D82848
The file was modifiedmlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp
The file was modifiedmlir/test/Conversion/ShapeToStandard/shape-to-standard.mlir
Commit bb23b5cfe0c4391576541ffe8a4f966155d2b608 by Matthew.Arsenault
AMDGPU/GlobalISel: Merge identical select cases
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Commit 16bcd54570328c90182edb56d4593ff19207cbc7 by Matthew.Arsenault
AMDGPU/GlobalISel: Mark GlobalISel classes as final
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCallLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
Commit 97b5fb78d137a44bec104ba073dd620008ed7abb by Matthew.Arsenault
GlobalISel: Translate llvm.convert.{to|from}.fp16 intrinsics

I think these were added as a workaround for SelectionDAG lacking half
legalization support in the past. I think they should probably be
removed from the IR, but clang does still have a target control to
emit these instead of the native half fpext/fptrunc.
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/irtranslator-convert-fp16-intrinsics.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
Commit 736423af53d707e097a174c3a91b75132b8dc6b1 by jonathan_roelofs
[OldPM] Print out a bit more when passes lie about changing IR

https://reviews.llvm.org/D84686
The file was modifiedllvm/lib/IR/LegacyPassManager.cpp
Commit 2ca6c422d2d025821390260232307567191a7deb by aeubanks
[FunctionAttrs] Rename functionattrs -> function-attrs

To match NewPM pass name, and also for readability.
Also rename rpo-functionattrs -> rpo-function-attrs while we're here.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D84694
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_returned.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/2009-01-02-LocalStores.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/returned.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/out-of-bounds-iterator-bug.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/writeonly.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/readnone.ll
The file was modifiedllvm/docs/Passes.rst
The file was modifiedllvm/test/Feature/OperandBundles/function-attrs.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/2008-12-29-Constant.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/atomic.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/convergent.ll
The file was modifiedllvm/lib/Transforms/IPO/FunctionAttrs.cpp
The file was modifiedllvm/test/Analysis/alias-analysis-uses.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nofree.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/comdat-ipo.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nonnull.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/readattrs.ll
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/test/Transforms/FunctionAttrs/incompatible_fn_attrs.ll
The file was modifiedllvm/test/Transforms/IndVarSimplify/pr38855.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/2008-09-03-ReadOnly.ll
The file was modifiedllvm/lib/Target/README.txt
The file was modifiedllvm/test/Transforms/FunctionAttrs/2010-10-30-volatile.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/norecurse.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nounwind.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/2008-09-03-ReadNone.ll
The file was modifiedllvm/test/Transforms/Reassociate/reassociate-deadinst.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/2012-04-30-LoopUnswitch-LPad-Crash.ll
The file was modifiedllvm/test/Analysis/MemorySSA/pr39197.ll
The file was modifiedllvm/test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll
The file was modifiedllvm/test/DebugInfo/check-debugify-preserves-analyses.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/int_sideeffect.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/naked_functions.ll
The file was modifiedllvm/test/Transforms/LoopUnswitch/2012-04-30-LoopUnswitch-LPad-Crash.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/2008-09-13-VolatileRead.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nonnull-global.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/2008-09-03-Mutual.ll
The file was modifiedllvm/test/Transforms/Inline/delete-call.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/optnone.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nofree-attributor.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/read-write-scc.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/assume.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/crash-assertingvh.ll
The file was modifiedllvm/test/Feature/OperandBundles/pr26510.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nocapture.ll
The file was modifiedllvm/test/Transforms/InstCombine/2009-02-11-NotInitialized.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/operand-bundles-scc.ll
Commit 9b1539be406da714ab7cbb379575f67d82b874b2 by aeubanks
[NewPM][Sancov] Pin RUN lines with -sancov to legacy PM

Since the NPM pass is named sancov-module, not sancov.
This makes all tests under Instrumentation/SanitizerCoverage pass when
-enable-new-pm is on by default.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D84687
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/interposable-symbol-nocomdat.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/backedge-pruning.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/seh.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/tracing-comdat.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/stack-depth.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/cmp-tracing-api-x86_64.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/switch-tracing.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/trace-pc-guard-inline-8bit-counters.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/cmp-tracing.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/trace-pc-guard-nocomdat.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/abort-in-entry-block.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/inline-8bit-counters.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/tracing.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/chains.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/coff-comdat.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/unreachable-critedge.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/coverage.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/const-cmp-tracing.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/coff-pc-table-inline-8bit-counters.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/no-func.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/coff-used-ctor.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/gep-tracing.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/postdominator_check.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/inline-bool-flag.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/pc-table.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/stack-depth-variable-declared-by-user.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/cmp-tracing-api-x86_32.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/coverage-dbg.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/coff-pc-table-inline-bool-flag.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/div-tracing.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/trace-pc-guard-inline-bool-flag.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/trace-pc-guard-comdat.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/wineh.ll
Commit 46ebb619bf0fb98d94175dca2a06ead27318002f by hoy
[FIX] Resolve test failure in polly/test/ScopInfo/memcpy-raw-source.ll

scoped-noalias -> scoped-noalias-aa

reference: https://reviews.llvm.org/D84542

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D84720
The file was modifiedpolly/test/ScopInfo/memcpy-raw-source.ll
Commit 8b2fcc42b895575d46dbd9252df566938cf68a69 by aeubanks
[CompilerRT] Don't pass global compile test flags in non-standalone build

In a build with -DLLVM_ENABLE_LTO=Thin:

$ ninja TSanitizer-x86_64-Test-Nolibc
[1/1] Generating Sanitizer-x86_64-Test-Nolibc
FAILED: projects/compiler-rt/lib/sanitizer_common/tests/Sanitizer-x86_64-Test-Nolibc
sanitizer_nolibc_test_main.x86_64.o: file not recognized: file format not recognized

because -flto=thin is getting passed to the clang_compile step.

For non-standalone builds, global compilation flags shouldn't be passed to compiler-rt tests, only the flags the test specifies.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D84466
The file was modifiedcompiler-rt/cmake/Modules/CompilerRTCompile.cmake
Commit 3fb0de820796cc6e322c8378713d375d9870a353 by julian.lettner
[Darwin] Fix OS version checks inside simulators

compiler-rt checks OS versions by querying the Darwin kernel version.
This is not necessarily correct inside the simulators if the simulator
runtime is not aligned with the host macOS.  Let's instead check the
`SIMULATOR_RUNTIME_VERSION` env var.

rdar://63031937

Reviewed By: delcypher

Differential Revision: https://reviews.llvm.org/D83977
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_mac_test.cpp
Commit 0c64233bb7ae760d36a0af3a22324810787fa4ca by anna.welker
[ARM][MVE] Teach MVEGatherScatterLowering to merge successive getelementpointers

A patch following up on the introduction of pointer induction variables, adding
a preprocessing step to the address optimisation in the MVEGatherScatterLowering
pass. If the getelementpointer that is the address is itself using a
getelementpointer as base, they will be merged into one by summing up the
offsets, after checking that this will not cause an overflow (this can be
repeated recursively).

Differential Revision: https://reviews.llvm.org/D84027
The file was modifiedllvm/test/CodeGen/Thumb2/mve-scatter-ind16-scaled.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-scatter-ind32-scaled.ll
The file was modifiedllvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-gather-ind32-scaled.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-gather-ind16-scaled.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-gather-ind8-unscaled.ll
The file was addedllvm/test/CodeGen/Thumb2/mve-gather-scatter-ptr-address.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-scatter-ind8-unscaled.ll
Commit bd4757cc4e40cb1b916c2c39f7bac8abc5adc294 by aktoon
[ELF] --reproduce should include lto sample profile

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D84569
The file was modifiedlld/ELF/Driver.cpp
The file was addedlld/test/ELF/reproduce-lto.s
Commit 12f27fc4b505da848a06b37488c5717bf9e3b85d by julian.lettner
[Darwin] Cleanup code via improved GetMacosAlignedVersion()

Checking the OS version via `GetMacosAlignedVersion()` now works in
simulators [1].  Let's use it to simplify `DyldNeedsEnvVariable()`.

[1] 3fb0de820796cc6e322c8378713d375d9870a353

Reviewed By: delcypher

Differential Revision: https://reviews.llvm.org/D81197
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_mac.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
Commit f761acfb1a737d8a631a5e55b58cdb7c2215baad by vince.a.bridgers
[ASTImporter] Add Visitor for TypedefNameDecl's

We found a case where Typedef Name Declarations were not being added
correctly when importing builtin types. This exposed the need for a
TypedefNameDecl visitor so these types can be added by RecordDecl and
fields.

This code is covered by the ASTImporterTest cases that use the implicit
struct __NSConstantString_tag definitions.

Thanks to @martong for the debugging assist!

Depends on D83970.

Reviewed By: martong

Differential Revision: https://reviews.llvm.org/D83992
The file was addedclang/test/Analysis/Inputs/ctu-import.c.externalDefMap.ast-dump.txt
The file was addedclang/test/Analysis/ctu-implicit.c
The file was modifiedclang/lib/AST/ASTImporterLookupTable.cpp
The file was addedclang/test/Analysis/Inputs/ctu-import.c
Commit 4853a86022feee1b16249cc7a0ea12c842fa5986 by jezng
[lld-macho] Support -filelist

XCode passes files in using this flag

Reviewed By: #lld-macho, compnerd

Differential Revision: https://reviews.llvm.org/D84486
The file was modifiedlld/MachO/Driver.cpp
The file was addedlld/test/MachO/invalid/no-filelist.s
The file was addedlld/test/MachO/filelist.s
Commit d32e32500f92602ccedcf967df2915da6f3803d2 by jezng
[lld-macho] Fix segment filesize calculation

The previous approach of adding up the file sizes of the
component sections ignored the fact that the sections did not have to be
contiguous in the file. As such, it was underestimating the true size.

I discovered this issue because `codesign` checks whether `__LINKEDIT`
extends to the end of the file. Since we were underestimating segment
sizes, this check failed.

Reviewed By: #lld-macho, compnerd

Differential Revision: https://reviews.llvm.org/D84574
The file was modifiedlld/test/MachO/section-headers.s
The file was modifiedlld/MachO/Writer.cpp
The file was modifiedlld/test/MachO/segments.s
Commit 4b56238b136ba88b9e7794deca86bab7ccbe3ae3 by Louis Dionne
NFC: Add whitespace changing revisions to .git-blame-ignore-revs
The file was modified.git-blame-ignore-revs
Commit 64cdd5b3da1abce63838bfc5bd32398c834a32e3 by ntv
[mlir][Vector] Drop declarative transforms

For the purpose of vector transforms, the Tablegen-based infra is subsumed by simple C++ pattern application. Deprecate declarative transforms whose complexity does not pay for itself.

Differential Revision: https://reviews.llvm.org/D84753
The file was removedmlir/test/lib/DeclarativeTransforms/lit.local.cfg
The file was modifiedmlir/test/lib/Transforms/TestVectorTransforms.cpp
The file was modifiedmlir/include/mlir/Dialect/Vector/CMakeLists.txt
The file was removedmlir/include/mlir/Dialect/Vector/VectorTransformPatterns.td
The file was removedmlir/test/lib/DeclarativeTransforms/TestVectorTransformPatterns.td
The file was modifiedmlir/lib/Dialect/Vector/CMakeLists.txt
The file was modifiedmlir/test/lib/CMakeLists.txt
The file was removedmlir/test/lib/DeclarativeTransforms/CMakeLists.txt
The file was modifiedmlir/test/lib/Transforms/CMakeLists.txt
Commit 4887495a3e0b97de4e38232e9f65b9454434a818 by aqjune
[JumpThreading] Add tests that have a cast of freeze and vice versa
The file was modifiedllvm/test/Transforms/JumpThreading/freeze.ll
Commit 04a21318b55756d50836f6e40f2d209f18cce417 by yitzhakm
[libTooling] Add a `between` range-selector combinator.

Adds the `between` combinator and registers it with the parser. As a driveby, updates some deprecated names to their current versions.

Reviewed By: gribozavr2

Differential Revision: https://reviews.llvm.org/D84315
The file was modifiedclang/include/clang/Tooling/Transformer/RangeSelector.h
The file was modifiedclang/lib/Tooling/Transformer/Parsing.cpp
The file was modifiedclang/unittests/Tooling/RangeSelectorTest.cpp
Commit 6c3dc6e1d57d15568ebcb3b725fa65a7ba4462de by craig.topper
[X86] Merge disp8 and cdisp8 handling into a single helper function to reduce some code.

We currently handle EVEX and non-EVEX separately in two places. By sinking the EVEX
check into the existing helper for CDisp8 we can simplify these two places.

Differential Revision: https://reviews.llvm.org/D84730
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
Commit 91b8c1fd0f31a548b75acb3de4dbee09847e19e5 by craig.topper
[X86] Simplify some code in emitMemModRMByte. NFCI
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
Commit a5b89c285329dbf160d501bf81fcc3765fde219d by jezng
[lld-macho] Fix no-filelist test on Windows
The file was modifiedlld/test/MachO/invalid/no-filelist.s
Commit acca2980a33e182dd6f4c71554ff2130f260463e by sivachandra
[libc][obvious] Move ErrnoSetterMatcher to test/ErrnoSetterMetcher.h.
The file was modifiedlibc/test/src/signal/sigaddset_test.cpp
The file was modifiedlibc/test/src/signal/signal_test.cpp
The file was modifiedlibc/test/src/signal/sigprocmask_test.cpp
The file was modifiedlibc/test/src/signal/sigaction_test.cpp
The file was modifiedlibc/test/src/sys/mman/linux/CMakeLists.txt
The file was modifiedlibc/utils/UnitTest/CMakeLists.txt
The file was modifiedlibc/test/src/unistd/write_test.cpp
The file was removedlibc/utils/UnitTest/ErrnoSetterMatcher.h
The file was modifiedlibc/test/src/unistd/CMakeLists.txt
The file was modifiedlibc/test/src/signal/sigdelset_test.cpp
The file was addedlibc/test/ErrnoSetterMatcher.h
The file was modifiedlibc/test/CMakeLists.txt
The file was modifiedlibc/test/src/signal/CMakeLists.txt
The file was modifiedlibc/test/src/signal/sigfillset_test.cpp
The file was modifiedlibc/test/src/sys/mman/linux/mmap_test.cpp
Commit 5608f28f552793d115a7f8682559ab053f961924 by Jonas Devlieghere
[lldb] Change the definition of ANSI_UNFAINT

Change the definition of ANSI_UNFAINT in Editline.cpp.

Differential revision: https://reviews.llvm.org/D84695
The file was modifiedlldb/source/Host/common/Editline.cpp
Commit 745eb02496b515cc8292dd7f9d7f0db43e162013 by martin
[LLD] [MinGW] Implement the --no-seh flag

Previously this flag was just ignored. If set, set the
IMAGE_DLL_CHARACTERISTICS_NO_SEH bit, regardless of the normal safeSEH
machinery.

In mingw configurations, the safeSEH bit might not be set in e.g. object
files built from handwritten assembly, making it impossible to use the
normal safeseh flag. As mingw setups don't generally use SEH on 32 bit
x86 at all, it should be fine to set that flag bit though - hook up
the existing GNU ld flag for controlling that.

Differential Revision: https://reviews.llvm.org/D84701
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/MinGW/Driver.cpp
The file was modifiedlld/test/MinGW/driver.test
The file was modifiedlld/COFF/Options.td
The file was addedlld/test/COFF/noseh.s
The file was modifiedlld/MinGW/Options.td
The file was modifiedlld/COFF/Config.h
The file was modifiedlld/COFF/Writer.cpp
Commit 4c9af6d0e001bf76007527899df7a9d8860c9a5a by aqjune
[JumpThreading] Add a basic support for freeze instruction

This patch adds a basic support for freeze instruction to JumpThreading
by making ComputeValueKnownInPredecessorsImpl look into its operand.

Reviewed By: efriedma, nikic

Differential Revision: https://reviews.llvm.org/D84598
The file was modifiedllvm/lib/Transforms/Scalar/JumpThreading.cpp
The file was modifiedllvm/test/Transforms/JumpThreading/freeze.ll
Commit 394db2259575ef3cac8d3d37836b11eb2373c435 by akhuang
Revert "Switch to using -debug-info-kind=constructor as default (from =limited)"

This reverts commit 227db86a1b7dd6f96f7df14890fcd071bc4fe1f5.

Causing debug info errors in google3 LTO builds; also causes a
debuginfo-test failure.
The file was modifiedclang/test/Driver/clang-g-opts.c
The file was modifiedclang/test/Driver/debug-options-as.c
The file was modifiedclang/test/Driver/integrated-as.s
The file was modifiedclang/test/Driver/openmp-offload-gpu.c
The file was modifiedclang/test/Driver/cuda-dwarf-2.cu
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedlldb/test/Shell/SymbolFile/PDB/Inputs/ClassLayoutTest.cpp
The file was modifiedclang/test/Driver/myriad-toolchain.c
The file was modifiedclang/test/Driver/cl-options.c
The file was modifiedclang/test/Driver/debug-options.c
The file was modifiedclang/test/Driver/split-debug.c
Commit 834133c950fce120d0378d09718d32a320cbcd72 by diego.caballero
[MLIR] Vector store to load forwarding

The MemRefDataFlow pass does store to load forwarding
only for affine store/loads. This patch updates the pass
to use affine read/write interface which enables vector
forwarding.

Reviewed By: dcaballe, bondhugula, ftynse

Differential Revision: https://reviews.llvm.org/D84302
The file was modifiedmlir/test/Transforms/memref-dataflow-opt.mlir
The file was modifiedmlir/lib/Transforms/MemRefDataFlowOpt.cpp
The file was modifiedmlir/include/mlir/Dialect/Affine/IR/AffineOps.td
The file was modifiedmlir/include/mlir/Dialect/Affine/IR/AffineMemoryOpInterfaces.td
Commit adeeac9d5a322a751011d4624152317cb43419d9 by Austin.Kerbow
[AMDGPU] Spill CSR VGPR which is reserved for SGPR spills

Update logic for reserving VGPR for SGPR spills. A CSR VGPR being reserved for
SGPR spills could be clobbered if there were no free lower VGPR's available.
Create a stack object so that it will be spilled in the prologue. Also
adds more tests.

Differential Revision: https://reviews.llvm.org/D83730
The file was modifiedllvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/reserve-vgpr-for-sgpr-spill.ll
Commit 4838cd46a90931af3905233a86a7ceda6df7ac69 by llvm-dev
[X86][XOP] Shuffle v16i8 using VPPERM(X,Y) instead of OR(PSHUFB(X),PSHUFB(Y))
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v32.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-128-v16.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-v48.ll
The file was modifiedllvm/test/CodeGen/X86/oddshuffles.ll
Commit c6920081a8b97a8a911803d2bac50fa1db7a8123 by llvm-dev
[CostModel][X86] Add abs intrinsics cost model tests

abs costs currently falls back in scalar generic intrinsic calls
The file was addedllvm/test/Analysis/CostModel/X86/abs.ll
Commit b4b6e77454b6822e1ba7bdaa1b5bde8654c3e87f by llvm-dev
[DAG] isSplatValue - add support for TRUNCATE/SIGN_EXTEND/ZERO_EXTEND

These are just pass-throughs to the source operand - we can't assume that ANY_EXTEND(splat) will still be a splat though.
The file was modifiedllvm/test/CodeGen/X86/vector-shift-shl-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-shl-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-rot-512.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-ashr-sub128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-lshr-sub128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-shl-sub128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-rot-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-rotate-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-rot-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-ashr-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-lshr-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-rot-512.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-rot-128.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-rot-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-ashr-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-lshr-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-rotate-256.ll
Commit 3f7249046a87e08272957d12bff73295fc4f0e8c by llvm-dev
[CostModel][X86] Add smax/smin/umin/umax intrinsics cost model tests

Costs currently fall back to scalar generic intrinsic calls
The file was addedllvm/test/Analysis/CostModel/X86/arith-sminmax.ll
The file was addedllvm/test/Analysis/CostModel/X86/arith-uminmax.ll
Commit 6f00f3b56e5a13286142facd929be15ab7b17aa3 by kostyak
[scudo][standalone] mallopt runtime configuration options

Summary:
Partners have requested the ability to configure more parts of Scudo
at runtime, notably the Secondary cache options (maximum number of
blocks cached, maximum size) as well as the TSD registry options
(the maximum number of TSDs in use).

This CL adds a few more Scudo specific `mallopt` parameters that are
passed down to the various subcomponents of the Combined allocator.

- `M_CACHE_COUNT_MAX`: sets the maximum number of Secondary cached items
- `M_CACHE_SIZE_MAX`: sets the maximum size of a cacheable item in the Secondary
- `M_TSDS_COUNT_MAX`: sets the maximum number of TSDs that can be used (Shared Registry only)

Regarding the TSDs maximum count, this is a one way option, only
allowing to increase the count.

In order to allow for this, I rearranged the code to have some `setOption`
member function to the relevant classes, using the `scudo::Option` class
enum to determine what is to be set.

This also fixes an issue where a static variable (`Ready`) was used in
templated functions without being set back to `false` every time.

Reviewers: pcc, eugenis, hctim, cferris

Subscribers: jfb, llvm-commits, #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D84667
The file was modifiedcompiler-rt/lib/scudo/standalone/tsd_exclusive.h
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/primary_test.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/tsd_shared.h
The file was modifiedcompiler-rt/lib/scudo/standalone/common.h
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/combined.h
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/tsd_test.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/allocator_config.h
The file was modifiedcompiler-rt/lib/scudo/standalone/secondary.h
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/combined_test.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/wrappers_cpp_test.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/include/scudo/interface.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/tests/secondary_test.cpp
Commit 9cc70e047c2892a318ade3afacab7faffa4f49cc by sivachandra
[libc][NFC] Zero out padding bits in the uint form of x86 FPBits<long double>.
The file was modifiedlibc/utils/FPUtil/LongDoubleBitsX86.h
Commit f8ab66538c4c8dc60cd458024639772a164ef9c5 by jasonliu
[NFC][XCOFF] Use getFunctionEntryPointSymbol from TLOF to simplify logic

Reviewed By: Xiangling_L

Differential Revision: https://reviews.llvm.org/D84693
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
Commit 496fc3f196bca77d48804ab4bc9343c3d82b97bf by spatel
[InstSimplify] add tests for icmp with partial undef constant; NFC
The file was modifiedllvm/test/Transforms/InstSimplify/icmp-constant.ll
Commit f75cf240d6ed528e1ce7770bbe09b417338b40ef by spatel
[InstCombine] avoid crashing on vector constant expression (PR46872)
The file was modifiedllvm/test/Transforms/InstCombine/vec_shuffle.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit e5608cacfd60bb28685206ca96a8f3ceeee1e8a6 by ravishankarm
[mlir][GPUToSPIRV] Add a test pass to set workgroup size for kernel
functions.

This allows using command line flags to lowere from GPU to SPIR-V. The
pass added is only for testing/example purposes. Most uses cases will
need more fine-grained control on setting workgroup sizes for kernel
functions.

Differential Revision: https://reviews.llvm.org/D84619
The file was modifiedmlir/tools/mlir-opt/mlir-opt.cpp
The file was modifiedmlir/test/lib/Dialect/SPIRV/CMakeLists.txt
The file was addedmlir/test/Conversion/GPUToSPIRV/test_spirv_entry_point.mlir
The file was addedmlir/test/lib/Dialect/SPIRV/TestEntryPointAbi.cpp
Commit 69152a11cf181d9c1859947f0f2c2f1554a891f2 by craig.topper
[X86] Merge the two 'Emit the normal disp32 encoding' cases in SIB byte handling in emitMemModRMByte. NFCI

By repeating the Disp.isImm() check in a couple spots we can
make the normal case for immediate and for expression the same.
And then always rely on the ForceDisp32 flag to remove a later
non-zero immediate check.

This should make {disp32} pseudo prefix handling
slightly easier as we need the normal disp32 handler to handle a
immediate of 0.
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
Commit 1bd7c02233969b430b2d49e95345f507fdcc9f30 by Louis Dionne
[libc++] Clean up tests for "optional" C11 features

First, add a TEST_HAS_QUICK_EXIT macro to mirror other C11 features like
TEST_HAS_ALIGNED_ALLOC, and update the tests for that.

Second, get rid of TEST_HAS_C11_FEATURES and _LIBCPP_HAS_C11_FEATURES,
which were only used to ensure that feature macros don't get out of
sync between <__config> and "test_macros.h". This is not necessary
anymore, since we have tests for each individual macro now.
The file was addedlibcxx/test/libcxx/language.support/has_quick_exit.compile.pass.cpp
The file was addedlibcxx/test/std/language.support/support.start.term/at_quick_exit.compile.fail.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp
The file was modifiedlibcxx/test/support/test_macros.h
The file was modifiedlibcxx/test/support/msvc_stdlib_force_include.h
The file was addedlibcxx/test/libcxx/language.support/has_aligned_alloc.compile.pass.cpp
The file was addedlibcxx/test/libcxx/language.support/has_timespec_get.compile.pass.cpp
The file was removedlibcxx/test/libcxx/language.support/has_c11_features.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.start.term/quick_exit.pass.cpp
The file was modifiedlibcxx/test/std/depr/depr.c.headers/float_h.pass.cpp
The file was modifiedlibcxx/include/__config
The file was removedlibcxx/test/std/language.support/support.start.term/quick_exit_check2.compile.fail.cpp
The file was removedlibcxx/test/std/language.support/support.start.term/quick_exit_check1.compile.fail.cpp
The file was addedlibcxx/test/std/language.support/support.start.term/quick_exit.compile.fail.cpp
Commit 67dfba96296b37f7bac9b4a68572288bc44b63b2 by Louis Dionne
[libc++] Provide std::aligned_alloc and std::timespec_get on Apple platforms

rdar://66113878
The file was modifiedlibcxx/include/__config
The file was modifiedlibcxx/test/support/test_macros.h
Commit 3fb13b8484dcbec085da047879bf89ccb1b65b12 by spatel
[InstSimplify] allow undefs in icmp with vector constant folds

This is the main icmp simplification shortcoming seen in D84655.

Alive2 agrees that the basic examples are correct at least:

define <2 x i1> @src(<2 x i8> %x) {
%0:
  %r = icmp sle <2 x i8> { undef, 128 }, %x
  ret <2 x i1> %r
}
=>
define <2 x i1> @tgt(<2 x i8> %x) {
%0:
  ret <2 x i1> { 1, 1 }
}
Transformation seems to be correct!

define <2 x i1> @src(<2 x i32> %X) {
%0:
  %A = or <2 x i32> %X, { 63, 63 }
  %B = icmp ult <2 x i32> %A, { undef, 50 }
  ret <2 x i1> %B
}
=>
define <2 x i1> @tgt(<2 x i32> %X) {
%0:
  ret <2 x i1> { 0, 0 }
}
Transformation seems to be correct!

https://alive2.llvm.org/ce/z/omt2ee
https://alive2.llvm.org/ce/z/GW4nP_

Differential Revision: https://reviews.llvm.org/D84762
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/icmp-constant.ll
Commit 811828a01d64868329de279a7117e12d10e9da2a by saghir
[PowerPC] Mark allocator_oom_test.cpp unsupported on PowerPC

This patch marks compiler-rt/test/asan/TestCases/Linux/allocator_oom_test.cpp
unsupported on PowerPC 64bit-LE architecture since this test fails when run
on a machine with larger system memory.

Reviewed By: #powerpc, nemanjai

Differential Revision: https://reviews.llvm.org/D84786
The file was modifiedcompiler-rt/test/asan/TestCases/Linux/allocator_oom_test.cpp
Commit 3fac05e49fe3eb4d6becf1761b4df01dbd871aa4 by clementval
[openacc] Add missing newline at end of file
The file was modifiedllvm/include/llvm/Frontend/OpenACC/ACC.td
Commit 8e67982384d4a11892c04d16c2d10d7533e56094 by flo
[NewGVN] Add test cases for remaining known issues.

This patch adds IR tests for the known NewGVN issues. The intention is
that adding them now will make it easier to keep track of fixes.
The file was addedllvm/test/Transforms/NewGVN/todo-pr36335-phi-undef.ll
The file was addedllvm/test/Transforms/NewGVN/todo-pr33165-distribute-undef.ll
The file was addedllvm/test/Transforms/NewGVN/todo-pr35074-phi-of-ops.ll
The file was addedllvm/test/Transforms/NewGVN/todo-pr37121-seens-this-value-a-lot.ll
The file was addedllvm/test/Transforms/NewGVN/todo-pr42422-phi-of-ops.ll
Commit b8943e7cea7cafebe26dd96e1a0d98e1f68a1386 by joker.eph
[MLIR][Linalg] Fixed obsolete examples in the MLIR Linalg Dialect doc

This diff fixes some obsolete examples in the Linalg dialect documentation: https://mlir.llvm.org/docs/Dialects/Linalg/

These examples are used to explain the basic properties of the Linalg dialect, which are not automatically generated from TableGen and are using out-of-date MLIR/Linalg syntax.

This diff extends each example by adding essential attributes and changing its syntax to make it processible by `mlir-opt`. There is also a command attached to each example that says how the example can be processed.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D84229
The file was modifiedmlir/docs/Dialects/Linalg.md
Commit 1e027b77f056fb50e50d9f743e21eb41151c32da by mtrofin
[llvm][NFC] refactor setBlockFrequency for clarity.

The refactoring encapsulates frequency calculation in MachineBlockFrequencyInfo,
and renames the API to clarify its motivation. It should clarify
frequencies may not be reset 'freely' by users of the analysis, as the
API serves as a partial update to avoid a full analysis recomputation.

Differential Revision: https://reviews.llvm.org/D84427
The file was modifiedllvm/lib/CodeGen/MachineSink.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineBlockFrequencyInfo.h
The file was modifiedllvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp
Commit 1f166edeb47ea3584f4f6a267a9054af994af45c by abidh
[lld][linkerscript] Fix handling of DEFINED.

Current implementation did not check that symbols is actually defined. Only checked for presence.  GNU ld documentation says,

"Return 1 if symbol is in the linker global symbol table and is defined before the statement using DEFINED in the script, otherwise return 0."

https://sourceware.org/binutils/docs/ld/Builtin-Functions.html#Builtin-Functions

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D83758
The file was modifiedlld/test/ELF/linkerscript/Inputs/define.s
The file was modifiedlld/ELF/ScriptParser.cpp
The file was modifiedlld/test/ELF/linkerscript/define.test
Commit b46176bbb094610460667edad950a9c99f844118 by zequanwu
Reland [Coverage] Add comment to skipped regions

Bug filled here: https://bugs.llvm.org/show_bug.cgi?id=45757.
Add comment to skipped regions so we don't track execution count for lines containing only comments.

Differential Revision: https://reviews.llvm.org/D83592
The file was modifiedclang/lib/CodeGen/CoverageMappingGen.cpp
The file was addedcompiler-rt/test/profile/coverage_comments.cpp
The file was modifiedclang/test/CoverageMapping/objc.m
The file was modifiedclang/test/CoverageMapping/trycatch.cpp
The file was modifiedclang/test/CoverageMapping/continue.c
The file was modifiedclang/test/CoverageMapping/pr32679.cpp
The file was modifiedclang/test/CoverageMapping/macroscopes.cpp
The file was modifiedclang/test/CoverageMapping/comment-in-macro.c
The file was modifiedclang/lib/CodeGen/CodeGenAction.cpp
The file was modifiedclang/test/CoverageMapping/unreachable-macro.c
The file was modifiedclang/test/CoverageMapping/loops.cpp
The file was modifiedclang/include/clang/Lex/Preprocessor.h
The file was modifiedclang/test/CoverageMapping/builtinmacro.c
The file was modifiedclang/test/CoverageMapping/switchmacro.c
The file was modifiedcompiler-rt/test/profile/instrprof-set-file-object-merging.c
The file was modifiedclang/test/CoverageMapping/macro-expressions.cpp
The file was modifiedcompiler-rt/test/profile/Inputs/instrprof-comdat.h
The file was modifiedclang/test/lit.cfg.py
The file was modifiedclang/test/CoverageMapping/includehell.cpp
The file was modifiedclang/test/CoverageMapping/label.cpp
The file was modifiedclang/test/CoverageMapping/return.c
The file was modifiedclang/test/CoverageMapping/logical.cpp
The file was modifiedclang/lib/CodeGen/CoverageMappingGen.h
The file was modifiedclang/test/CoverageMapping/classtemplate.cpp
The file was modifiedclang/test/CoverageMapping/preprocessor.c
The file was modifiedclang/test/CoverageMapping/while.c
The file was modifiedclang/test/CoverageMapping/moremacros.c
The file was modifiedclang/test/CoverageMapping/if.cpp
The file was modifiedclang/test/CoverageMapping/break.c
The file was modifiedclang/lib/Lex/Preprocessor.cpp
The file was modifiedclang/test/CoverageMapping/coroutine.cpp
The file was modifiedclang/test/CoverageMapping/macroparams2.c
The file was modifiedclang/test/CoverageMapping/deferred-region.cpp
The file was modifiedclang/test/CoverageMapping/switch.cpp
The file was modifiedclang/test/CoverageMapping/macros.c
The file was modifiedclang/test/CoverageMapping/test.c
Commit 740a164dec483225cbd02ab6c82199e2747ffacb by richard
PR46377: Fix dependence calculation for function types and typedef
types.

We previously did not treat a function type as dependent if it had a
parameter pack with a non-dependent type -- such a function type depends
on the arity of the pack so is dependent even though none of the
parameter types is dependent. In order to properly handle this, we now
treat pack expansion types as always being dependent types (depending on
at least the pack arity), and always canonically being pack expansion
types, even in the unusual case when the pattern is not a dependent
type. This does mean that we can have canonical types that are pack
expansions that contain no unexpanded packs, which is unfortunate but
not inaccurate.

We also previously did not treat a typedef type as
instantiation-dependent if its canonical type was not
instantiation-dependent. That's wrong because instantiation-dependence
is a property of the type sugar, not of the type; an
instantiation-dependent type can have a non-instantiation-dependent
canonical type.
The file was modifiedclang/include/clang/Basic/TypeNodes.td
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/Sema/SemaTemplateVariadic.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedclang/include/clang/AST/Type.h
The file was addedclang/test/SemaTemplate/alias-template-nondependent.cpp
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/lib/AST/Type.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
Commit dd405f1a5397d3e7595458144ccb0bcec192a3bf by maskray
Revert D83834 "Add test utility 'extract'"

This reverts commit d054c7ee2e9f4f98af7f22a5b00a941eb919bd59.

There are discussions about the utility name, its functionality and user interface.
Revert before we reach consensus.
The file was removedllvm/tools/extract/CMakeLists.txt
The file was removedllvm/test/tools/extract/Inputs/basic-aa.txt
The file was modifiedlld/test/ELF/linkerscript/noload.s
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/strip-symbol.test
The file was modifiedllvm/test/tools/gold/X86/multiple-sections.ll
The file was removedllvm/test/tools/extract/no-leading-lines.test
The file was removedllvm/tools/extract/.clang-tidy
The file was removedllvm/test/tools/extract/Inputs/basic-bb.txt
The file was removedllvm/tools/extract/extract.cpp
The file was modifiedlld/test/CMakeLists.txt
The file was modifiedllvm/test/CMakeLists.txt
The file was removedllvm/test/tools/extract/help.test
The file was modifiedllvm/test/tools/llvm-strings/radix.test
The file was modifiedlld/test/lit.cfg.py
The file was modifiedllvm/test/lit.cfg.py
The file was modifiedllvm/docs/TestingGuide.rst
The file was removedllvm/test/tools/extract/basic.test
Commit 26fc91eb5d26fb8bc3ab5328e698c9c1d9546b44 by maskray
Revert "[gn build] (manually) merge d054c7ee2e9"

This reverts commit ab73b6da95750164daac4cfbd351ca96e1084117.
The file was modifiedllvm/utils/gn/secondary/llvm/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/lld/test/BUILD.gn
The file was removedllvm/utils/gn/secondary/llvm/tools/extract/BUILD.gn
Commit e1dd212c874c2ff01b72e9e60db6dbded9e2e6d1 by lebedev.ri
[X86] Remove disabled miscompiling X86CondBrFolding pass

As briefly discussed in IRC with @craig.topper,
the pass is disabled basically since it's original introduction (nov 2018)
due to  known correctness issues (miscompilations),
and there hasn't been much work done to fix that.

While i won't promise that i will "fix" the pass,
i have looked at it previously, and i'm sure i won't try to fix it
if that requires actually fixing this existing code.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D84775
The file was modifiedllvm/lib/Target/X86/X86TargetMachine.cpp
The file was removedllvm/lib/Target/X86/X86CondBrFolding.cpp
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn
The file was removedllvm/test/CodeGen/X86/condbr_if.ll
The file was modifiedllvm/lib/Target/X86/X86.td
The file was modifiedllvm/lib/Target/X86/X86.h
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.h
The file was modifiedllvm/lib/Target/X86/CMakeLists.txt
The file was removedllvm/test/CodeGen/X86/condbr_switch.ll
The file was modifiedllvm/lib/Target/X86/X86Subtarget.h
The file was removedllvm/test/CodeGen/X86/test_x86condbr_globaladdr.mir
Commit e9b236f411c5683d270a381bf810ba3c8f3ed12c by Matthew.Arsenault
AMDGPU: Check for other defs when folding conditions into s_andn2_b64

We can't fold the masked compare value through the select if the
select condition is re-defed after the and instruction. Fixes a
verifier error and trying to use the outgoing value defined in the
block.

I'm not sure why this pass is bothering to handle physregs. It's
making this more complex and forces extra liveness computation.
The file was addedllvm/test/CodeGen/AMDGPU/optimize-exec-mask-pre-ra-loop-phi.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
Commit 389f009c5757cf09c0b2d77a15b3b541fb0f2a1c by JF Bastien
[NFC] Sema: use checkArgCount instead of custom checking

As requested in D79279.

Differential Revision: https://reviews.llvm.org/D84666
The file was modifiedclang/test/SemaOpenCL/to_addr_builtin.cl
The file was modifiedclang/test/CodeGen/builtins-ppc-error.c
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaChecking.cpp
Commit 9731ef3ec578a20be3d81d0ef340faf61bf797d4 by Matthew.Arsenault
AMDGPU/GlobalISel: Add SReg_96 to SGPRRegBank
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBanks.td
Commit ee713a2d2854c56886ebfee165fe2d32905c4ef7 by Matthew.Arsenault
AMDGPU/GlobalISel: Add some missing tests for extract selection
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-extract.mir
Commit 5174e7b443d815df6707addbd4fe172418d6f4a2 by Matthew.Arsenault
GlobalISel: Add typeIsNot LegalityPredicate

This allows sorting the legal/custom rules first as is recommended
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
Commit e87356b4981bb0b504c106fd70fbde31e84447e6 by Matthew.Arsenault
GlobalISel: Don't assert on operations with no type indices

Fix not marking G_FENCE as legal on AMDGPU This was apparently
defaulting to legal using the "legacy" rules, whatever those are.
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp