FailedChanges

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

Summary

  1. lldb-vscode: Add a forgotten cast to void (details)
  2. Rename a flang test case (details)
  3. [libomptarget] Always call malloc, free via SafeMalloc, SafeFree wrapper (details)
  4. [nfc][libomptarget] Move smid() into target_impl (details)
  5. minidump: Rename some architecture constants (details)
  6. LiveIntervals: Split live intervals on multiple dead defs (details)
  7. [ASTImporter] Add support for BuiltinTemplateDecl (details)
  8. [IR] Allow fast math flags on calls with floating point array type. (details)
  9. [compiler-rt] libhwasan interceptor ABI intercept longjmp/setjmp (details)
  10. [OPENMP50]Add support for parallel master taskloop simd directive. (details)
  11. [OPENMP][DOC]Update list of supported functions, NFC. (details)
  12. [OPENMP][DOC]Provide correct info about supported features, NFC. (details)
  13. [OpenMP] Reset affinity mask in the process child on FreeBSD (details)
  14. [NFC][LoopUnroll] Tests for peeling of first iteration (PR43840) (details)
  15. [bugpoint] Reduce metadata that does not contribute to crash. (details)
  16. [ObjectYAML] - Redefine LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::yaml::Hex*) (details)
  17. [SelectionDAG] Add support for FP_ROUND in WidenVectorOperand. (details)
  18. [AArch64][MachineOutliner] Return address signing for outlined functions (details)
  19. [AIX] Lowering CPI/JTI/BA to MIR (details)
  20. gn build: (manually) merge 67474c60d34 (details)
  21. [LLD] - Fix a test after obj2yaml change. (details)
  22. Updating the documentation for the _Noreturn attribute; NFC. (details)
  23. [scudo][standalone] Add a free list to the Secondary (details)
  24. [SLPVectorizer] Use getAPInt() for comparison. NFCI. (details)
  25. Fix pattern error for S2_tstbit_i instruction (details)
  26. [ELF][test] Change references of %T to %t.dir (details)
  27. [nfc][libomptarget] Move named_sync() into target_impl (details)
  28. [NFC][MachineOutliner] Fix typo in comment (details)
  29. [LLDB][PythonFile] fix dangerous borrow semantics on python2 (details)
  30. [LLDB][Python] warning fix for LLDBSwigPythonBreakpointCallbackFunction (details)
  31. [clang][driver][flang] Mark test as unsupported on darwin (details)
  32. [AMDGPU] Simplify VCCZ bug handling (details)
  33. Add the readability-redundant-access-specifiers check. (details)
  34. [NFC] Move this set of STRICT_* cases to be next to the non-strict (details)
  35. [SLP] Vectorize jumbled stores. (details)
  36. Fix a false positive in misc-redundant-expression check (details)
  37. gn build: Merge 29dc0b17de6 (details)
  38. Fix modernize-use-nodiscard for classes marked [[nodiscard]] (details)
Commit 2d1a0dfe4c7c470ad8792eaba669115dfe8eff06 by pavel
lldb-vscode: Add a forgotten cast to void
"git push" works even with a dirty working tree. :/
The file was modifiedlldb/tools/lldb-vscode/VSCode.cpp
Commit 6c0a160c2d33e54aecf1538bf7c85d8da92051be by jeremy.morse
Rename a flang test case
On Windows and macOS, the filesystem is case insensitive, and these
files interfere with each other. Reading through, the case of the file
extension is part of the test. I've altered the rest of the name
instead.
The file was addedclang/test/Driver/flang/flang_ucase.F90
The file was modifiedclang/test/Driver/flang/flang.f90
The file was removedclang/test/Driver/flang/flang.F90
Commit 62a161cc00070acf057513deb6cabfb513d49af4 by jonchesterfield
[libomptarget] Always call malloc, free via SafeMalloc, SafeFree wrapper
Summary:
[libomptarget] Always call malloc, free via SafeMalloc, SafeFree wrapper
NFC for release, adds some verbosity to debug printing. Motivation is to
provide one place where local modifications can be made to the behaviour
of all heap allocation or deallocation while debugging.
Reviewers: jdoerfert, ABataev, grokos
Reviewed By: ABataev
Subscribers: openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D69492
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/data_sharing.cu
Commit 74bb5ee67413db7e3e3351b7fde65db7e4568e02 by jonchesterfield
[nfc][libomptarget] Move smid() into target_impl
Summary: [nfc][libomptarget] Move smid() into target_impl
Reviewers: ABataev, jdoerfert, grokos
Reviewed By: ABataev
Subscribers: openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D69485
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/omptarget-nvptx.cu
Commit 83a55c6a575806eec78062dfe128c095c26ab5e2 by pavel
minidump: Rename some architecture constants
The architecture enum contains two kinds of contstants: the "official"
ones defined by Microsoft, and unofficial constants added by breakpad to
cover the architectures not described by the first ones.
Up until now, there was no big need to differentiate between the two.
However, now that Microsoft has defined
https://docs.microsoft.com/en-us/windows/win32/api/sysinfoapi/ns-sysinfoapi-system_info
a constant for ARM64, we have a name clash.
This patch renames all breakpad-defined constants with to include the
prefix
"BP_". This frees up the name "ARM64", which I'll re-introduce with the
new
"official" value in a follow-up patch.
Reviewers: amccarth, clayborg
Subscribers: lldb-commits, llvm-commits
Differential Revision: https://reviews.llvm.org/D69285
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/arm64-macos.yaml
The file was modifiedlldb/source/Plugins/Process/minidump/MinidumpParser.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/regions-linux-map.yaml
The file was modifiedllvm/unittests/ObjectYAML/MinidumpYAMLTest.cpp
The file was modifiedllvm/include/llvm/BinaryFormat/MinidumpConstants.def
The file was modifiedlldb/test/Shell/Minidump/dump-all.test
The file was modifiedllvm/test/tools/obj2yaml/basic-minidump.yaml
The file was modifiedlldb/test/Shell/Minidump/fb-dump.test
The file was modifiedllvm/lib/ObjectYAML/MinidumpYAML.cpp
Commit 43144ffa91a2c250cab453b6abd2d1913db3e4d4 by kparzysz
LiveIntervals: Split live intervals on multiple dead defs
This is a follow-up to D67448.
Split live intervals with multiple dead defs during the initial
execution of the live interval analysis, but do it outside of the
function createAndComputeVirtRegInterval.
Differential Revision: https://reviews.llvm.org/D68666
The file was modifiedllvm/lib/CodeGen/LiveIntervals.cpp
The file was modifiedllvm/include/llvm/CodeGen/LiveIntervals.h
The file was modifiedllvm/test/DebugInfo/WebAssembly/dbg-value-move-reg-stackify.mir
The file was modifiedllvm/test/DebugInfo/X86/live-debug-vars-discard-invalid.mir
Commit ba7bde65dcfff543cefc1de9adcda7f503ffffde by Raphael Isemann
[ASTImporter] Add support for BuiltinTemplateDecl
Summary: That decl kind is currently not implemented.
BuiltinTemplateDecl is for decls that are hardcoded in the ASTContext,
so we can import them like we do other builtin decls by just taking the
equivalent decl from the target ASTContext.
Reviewers: martong, a.sidorin, shafik
Reviewed By: martong, shafik
Subscribers: rnkovacs, kristina, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69566
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was addedclang/test/Import/builtin-template/test.cpp
The file was addedclang/test/Import/builtin-template/Inputs/S.cpp
Commit 2da4b6e51450e8a6a40755cc5a40ebb6289766a5 by jay.foad
[IR] Allow fast math flags on calls with floating point array type.
Summary: This extends the rules for when a call instruction is deemed to
be an FPMathOperator, which is based on the type of the call (i.e. the
return type of the function being called). Previously we only allowed
floating-point and vector-of-floating-point types. Now we also allow
arrays (nested to any depth) of floating-point and
vector-of-floating-point types.
This was motivated by llpc, the pipeline compiler for AMD GPUs
(https://github.com/GPUOpen-Drivers/llpc). llpc has many math library
functions that operate on vectors, typically represented as <4 x float>,
and some that operate on matrices, typically represented as
[4 x <4 x float>], and it's useful to be able to decorate calls to all
of them with fast math flags.
Reviewers: spatel, wristow, arsenm, hfinkel, aemerson, efriedma,
cameron.mcinally, mcberg2017, jmolloy
Subscribers: wdng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69161
The file was modifiedllvm/test/Bitcode/compatibility.ll
The file was modifiedllvm/unittests/IR/InstructionsTest.cpp
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/include/llvm/IR/Operator.h
Commit 67474c60d344a061d6c3affb70e7c8a13c15f830 by david.tellenbach
[compiler-rt] libhwasan interceptor ABI intercept longjmp/setjmp
Summary: The hwasan interceptor ABI doesn't have interceptors for
longjmp and setjmp. This patch introduces them.
We require the size of the jmp_buf on the platform to be at least as
large as the jmp_buf in our implementation. To enforce this we compile
hwasan_type_test.cpp that ensures a compile time failure if this is not
true.
Tested on both GCC and clang using an AArch64 virtual machine.
Reviewers: eugenis, kcc, pcc, Sanatizers
Reviewed By: eugenis, Sanatizers
Tags: #sanatizers, #llvm
Differential Revision: https://reviews.llvm.org/D69045
Patch By: Matthew Malcomson <matthew.malcomson@arm.com>
The file was addedcompiler-rt/lib/hwasan/hwasan_type_test.cpp
The file was addedcompiler-rt/test/hwasan/TestCases/longjmp-setjmp-interception.c
The file was addedcompiler-rt/lib/hwasan/hwasan_setjmp.S
The file was modifiedcompiler-rt/lib/hwasan/hwasan.h
The file was modifiedcompiler-rt/lib/hwasan/hwasan_interceptors.cpp
The file was modifiedcompiler-rt/lib/hwasan/CMakeLists.txt
Commit 14a388f43bbdfac304a1a117731ac5a27fdab61e by a.bataev
[OPENMP50]Add support for parallel master taskloop simd directive.
Added full support for parallel master taskloop simd directive.
The file was addedclang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_messages.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was addedclang/test/OpenMP/parallel_master_taskloop_simd_codegen.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/include/clang-c/Index.h
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was addedclang/test/OpenMP/parallel_master_taskloop_simd_reduction_codegen.cpp
The file was addedclang/test/OpenMP/parallel_master_taskloop_simd_private_codegen.cpp
The file was addedclang/test/OpenMP/parallel_master_taskloop_simd_num_tasks_messages.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was addedclang/test/OpenMP/parallel_master_taskloop_simd_aligned_messages.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was addedclang/test/OpenMP/parallel_master_taskloop_simd_loop_messages.cpp
The file was addedclang/test/OpenMP/parallel_master_taskloop_simd_misc_messages.c
The file was modifiedclang/lib/Basic/OpenMPKinds.cpp
The file was addedclang/test/OpenMP/parallel_master_taskloop_simd_linear_messages.cpp
The file was addedclang/test/OpenMP/parallel_master_taskloop_simd_final_messages.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was addedclang/test/OpenMP/parallel_master_taskloop_simd_grainsize_messages.cpp
The file was addedclang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp
The file was addedclang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp
The file was addedclang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_messages.cpp
The file was addedclang/test/OpenMP/parallel_master_taskloop_simd_private_messages.cpp
The file was modifiedclang/include/clang/Basic/OpenMPKinds.h
The file was addedclang/test/OpenMP/parallel_master_taskloop_simd_collapse_messages.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/AST/StmtOpenMP.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was addedclang/test/OpenMP/parallel_master_taskloop_simd_ast_print.cpp
The file was modifiedclang/include/clang/Basic/OpenMPKinds.def
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was addedclang/test/OpenMP/parallel_master_taskloop_simd_reduction_messages.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was modifiedclang/include/clang/AST/StmtOpenMP.h
The file was addedclang/test/OpenMP/parallel_master_taskloop_simd_simdlen_messages.cpp
The file was addedclang/test/OpenMP/parallel_master_taskloop_simd_priority_messages.cpp
The file was addedclang/test/OpenMP/parallel_master_taskloop_simd_safelen_messages.cpp
Commit 8aa74414bfb88e8745d5277cb7172efb67202099 by a.bataev
[OPENMP][DOC]Update list of supported functions, NFC.
Added support for parallel master taskloop simd construct.
The file was modifiedclang/docs/OpenMPSupport.rst
Commit 37c8baf821e8cb66a3d49e7b570970b2606983b2 by a.bataev
[OPENMP][DOC]Provide correct info about supported features, NFC.
Removed the explicit list of supported features from OpenMP 5.0 and used
the reference to the table instead. Also, fixed info about constructs
that can be executed in SPMD mode, if and num_threads clauses do not
affect it anymore.
The file was modifiedclang/docs/OpenMPSupport.rst
Commit 506992848729ceb97d95b29b5a3f691936003c32 by David CARLIER
[OpenMP] Reset affinity mask in the process child on FreeBSD
Reviewers: dim, chandlerc, jdoerfert
Reviewed By: dim
Differential Revision: https://reviews.llvm.org/D69047
The file was modifiedopenmp/runtime/src/z_Linux_util.cpp
Commit 0405b486465dbb0b69e1ed159437c8a756dec254 by lebedev.ri
[NFC][LoopUnroll] Tests for peeling of first iteration (PR43840)
The file was modifiedllvm/test/Transforms/LoopUnroll/peel-loop-conditions.ll
Commit 29e8b8ce6697414759f9314255d0165edbb3e454 by flo
[bugpoint] Reduce metadata that does not contribute to crash.
Add a new reducer that drops metadata that does not contribute to the
crash from instructions.
It adjusts the metadata.ll test case, as now also the instruction level
metadata will get dropped.
Reviewers: davide, reames, modocache
Reviewed By: reames
Differential Revision: https://reviews.llvm.org/D69234
The file was addedllvm/test/BugPoint/retain-crashing-metadata.ll
The file was modifiedllvm/tools/bugpoint-passes/TestPasses.cpp
The file was modifiedllvm/tools/bugpoint/CrashDebugger.cpp
The file was modifiedllvm/test/BugPoint/metadata.ll
Commit 6e779e953e9d526e215e64bd1c8ebba8db0b44fe by grimar
[ObjectYAML] - Redefine LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::yaml::Hex*)
as LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR.
I am using it in https://reviews.llvm.org/D69399.
This change changes how obj2yaml dumps arrays of
`llvm::yaml::Hex8/llvm::yaml::Hex16/llvm::yaml::Hex32` from:
``` PayloadBytes:
- 0x01
- 0x02
...
```
To
``` PayloadBytes:    [ 0x01, 0x02, ... ]
```
The latter way is shorter and looks better for arrays.
Differential revision: https://reviews.llvm.org/D69558
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_info.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/DWARFYAML.h
The file was modifiedllvm/test/ObjectYAML/MachO/rebase_opcode.yaml
The file was modifiedllvm/include/llvm/Support/YAMLTraits.h
The file was modifiedllvm/test/ObjectYAML/MachO/weak_bind_opcode.yaml
The file was modifiedllvm/unittests/Support/YAMLIOTest.cpp
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF5-debug_info.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF2-AddrSize8-FormValues.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/lazy_bind_opcode.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/bind_opcode.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/out_of_order_linkedit.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/bogus_load_command.yaml
Commit 86549c7528db91a6d2b856f626de299313743709 by jay.foad
[SelectionDAG] Add support for FP_ROUND in WidenVectorOperand.
Summary: This is used on AMDGPU for rounding from v3f64 (which is
illegal) to v3f32 (which is legal).
Subscribers: jvesely, nhaehnle, tpr, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69339
The file was modifiedllvm/test/CodeGen/AMDGPU/fptrunc.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
Commit 70caa1fc30c392974df3bccd9959765dae1779f6 by david.tellenbach
[AArch64][MachineOutliner] Return address signing for outlined functions
Summary: During AArch64 frame lowering instructions to enable return
address signing are inserted into function if needed. Functions
generated during machine outlining don't run through target frame
lowering and hence are missing such instructions.
This patch introduces the following changes:
  1. If not all functions that potentially participate in function
outlining
    agree on their return address signing scope and their return address
    signing key, outlining is disabled for these functions.
2. If not all functions that potentially participate in function
outlining
    agree on their support for v8.3A features, outlining is disabled for
    these functions.
2. If all candidate functions agree on the signing scope, signing key
and
    and their support for v8.3 features, the outlined function behaves
as
    if it had the same scope and key attributes and as if it would
provide
    the same v8.3A support as the original functions.
Reviewers: olista01, paquette, t.p.northover, ostannard
Reviewed By: ostannard
Subscribers: ostannard, kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69097
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-regsave.mir
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-v8-3.ll
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-subtarget.ll
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-thunk.ll
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-diff-key.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-non-leaf.ll
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-same-key-a.ll
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-same-key-b.ll
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-diff-scope-same-key.ll
Commit 5c9bdc79e1fcc4800ef69930e22c1ca5b61be4fb by Xiangling.Liao
[AIX] Lowering CPI/JTI/BA to MIR
Enable lowering of constant pool index, jump table index, and bloack
address to MIR on AIX.
Differential Revision: https://reviews.llvm.org/D69264
The file was addedllvm/test/CodeGen/PowerPC/aix-lower-constant-pool-index.ll
The file was addedllvm/test/CodeGen/PowerPC/aix-lower-jump-table.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was addedllvm/test/CodeGen/PowerPC/aix-lower-block-address.ll
Commit 37e10c29291b7ba6f07faeb83d5f8999c5b4e761 by thakis
gn build: (manually) merge 67474c60d34
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn
Commit d213da49e149a07e7c7fefe86815af76df3ebba5 by grimar
[LLD] - Fix a test after obj2yaml change.
I am not sure why obj2yaml is used to check the linkers output, but
anyways, the format was changed in
https://reviews.llvm.org/rG6e779e953e9d.
The file was modifiedlld/test/mach-o/bind-opcodes.yaml
Commit 8dcf1c654ed4e95a618868d4fab11af2068a1471 by aaron
Updating the documentation for the _Noreturn attribute; NFC.
The file was modifiedclang/include/clang/Basic/AttrDocs.td
Commit 19ea1d46ccfe7decd623ba3f860d8ba7a9f1bb44 by kostyak
[scudo][standalone] Add a free list to the Secondary
Summary: The secondary allocator is slow, because we map and unmap each
block on allocation and deallocation.
While I really like the security benefits of such a behavior, this
yields very disappointing performance numbers on Android for larger
allocation benchmarks.
So this change adds a free list to the secondary, that will hold
recently deallocated chunks, and (currently) release the extraneous
memory. This allows to save on some memory mapping operations on
allocation and deallocation. I do not think that this lowers the
security of the secondary, but can increase the memory footprint a
little bit (RSS & VA).
The maximum number of blocks the free list can hold is templatable,
`0U` meaning that we fallback to the old behavior. The higher that
number, the higher the extra memory footprint.
I added default configurations for all our platforms, but they are
likely to change in the near future based on needs and feedback.
Reviewers: hctim, morehouse, cferris, pcc, eugenis, vitalybuka
Subscribers: mgorny, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D69570
The file was removedcompiler-rt/lib/scudo/standalone/secondary.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/combined.h
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/secondary_test.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/CMakeLists.txt
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/combined_test.cpp
Commit d52f5ed01a2a46a81555ee1b655c6b682c4dbd6c by llvm-dev
[SLPVectorizer] Use getAPInt() for comparison. NFCI.
Technically integers can assert on getZExtValue() if beyond i64 range,
and a fuzzer usually find this.....
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 14e289eb774ebbc2fc788bf23c17e2605c27ffb6 by bcain
Fix pattern error for S2_tstbit_i instruction
It used to generate S2_tstbit_i with constant -33 which resulted in an
assert. The reason is log2_32 was called with 64bit value 0.
The file was modifiedllvm/lib/Target/Hexagon/HexagonPatterns.td
The file was addedllvm/test/CodeGen/Hexagon/64bit_tstbit.ll
Commit db8dad20b37f4befe054e586b40f8dd1eaeda842 by maskray
[ELF][test] Change references of %T to %t.dir
Test files in the same directory share the same %T.  %T is easy to
misuse and cause race conditions (when running concurrently) so it has
been deprecated since D48842 (see docs/CommandGuide/lit.rst).
While here, add `rm -rf %t.dir` so that tests cannot depend on old files
lying around.
Reviewed By: jhenderson, ruiu
Differential Revision: https://reviews.llvm.org/D69572
The file was modifiedlld/test/ELF/linkerscript/section-include.test
The file was modifiedlld/test/ELF/lto/thinlto-debug-fission.ll
The file was modifiedlld/test/ELF/lto/save-temps.ll
The file was modifiedlld/test/ELF/linkerscript/output-section-include.test
The file was modifiedlld/test/ELF/linkerscript/linkerscript.s
The file was modifiedlld/test/ELF/linkerscript/linker-script-in-search-path.s
The file was modifiedlld/test/ELF/linkerscript/filename-spec.s
The file was modifiedlld/test/ELF/reproduce-backslash.s
The file was modifiedlld/test/ELF/version-script-in-search-path.s
The file was modifiedlld/test/ELF/linkerscript/memory-include.test
The file was modifiedlld/test/ELF/no-soname.s
Commit 8548e2f543ce74854da3ef0e3ae7d02b3e71b785 by jonchesterfield
[nfc][libomptarget] Move named_sync() into target_impl
Summary: [nfc][libomptarget] Move named_sync() into target_impl
Reviewers: ABataev, jdoerfert, grokos
Reviewed By: ABataev
Subscribers: openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D69487
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/reduction.cu
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/supporti.h
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/loop.cu
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/support.h
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/sync.cu
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h
Commit fbe7f5e9729ac24374182fca92242f88baa08f90 by david.tellenbach
[NFC][MachineOutliner] Fix typo in comment
The file was modifiedllvm/lib/CodeGen/MachineOutliner.cpp
Commit 3071ebf7b38341e89be04aa64c257c4643e0648c by lawrence_danna
[LLDB][PythonFile] fix dangerous borrow semantics on python2
Summary: It is inherently unsafe to allow a python program to manipulate
borrowed memory from a python object's destructor.     It would be nice
to flush a borrowed file when python is finished with it, but it's not
safe to do on python 2.
Python 3 does not suffer from this issue.
Reviewers: labath, mgorny
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D69532
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
Commit fb01c01bf3f60d1d229126ea4088519adae5c015 by lawrence_danna
[LLDB][Python] warning fix for LLDBSwigPythonBreakpointCallbackFunction
This is a quick followup to this commit:
https://reviews.llvm.org/rGa69bbe02a2352271e8b14542073f177e24c499c1
In that, I #pragma-squelch this warning in `ScriptInterpreterPython.cpp`
but we get the same warning in `PythonTestSuite.cpp`.
This patch squelches the same warning in the same way as the reviweed
commit.   I'm submitting it without review under the
"obviously correct" rule.
At least if this is incorrect the main commit was also incorrect.
By the way, as far as I can tell, these functions are extern "C" because
SWIG does that to everything, not because they particularly need to be.
The file was modifiedlldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
Commit c75cd3c7f0f924d53f07a9cce60c362751678e0c by peter.waller
[clang][driver][flang] Mark test as unsupported on darwin
D63607 made mac builders unhappy by failing this test, and it isn't yet
obvious why. Mark as unsupported as a temporary measure.
Signed-off-by: Peter Waller <peter.waller@arm.com>
The file was modifiedclang/test/Driver/flang/flang.f90
Commit e5972f2a04ee48a9190cd25f0d5b24cbca4d47f2 by jay.foad
[AMDGPU] Simplify VCCZ bug handling
Summary: VCCZBugHandledSet was used to make sure we don't apply the same
workaround more than once to a single cbranch instruction, but it's not
necessary because the workaround involves inserting an s_waitcnt
instruction, which is enough for subsequent iterations to detect that no
further workaround is necessary.
Also beef up the test case to check that the workaround was only applied
once. I have also manually verified that the test still passes even if I
hack the big do-while loop in runOnMachineFunction to run a minimum of
five iterations.
Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl,
dstuttard, tpr, t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69621
The file was modifiedllvm/test/CodeGen/AMDGPU/smrd-vccz-bug.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
Commit 29dc0b17de6b04afa6110a040053a19b02ca1a87 by aaron
Add the readability-redundant-access-specifiers check.
This finds redundant access specifier declarations inside classes,
structs, and unions.
Patch by Mateusz Mackowski.
The file was addedclang-tools-extra/clang-tidy/readability/RedundantAccessSpecifiersCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was addedclang-tools-extra/test/clang-tidy/readability-redundant-access-specifiers-check-first-declaration.cpp
The file was addedclang-tools-extra/clang-tidy/readability/RedundantAccessSpecifiersCheck.h
The file was addedclang-tools-extra/docs/clang-tidy/checks/readability-redundant-access-specifiers.rst
The file was addedclang-tools-extra/test/clang-tidy/readability-redundant-access-specifiers.cpp
Commit 72bc291f94597c7bc4fe241ed986b2bfb677e07e by kevin.neal
[NFC] Move this set of STRICT_* cases to be next to the non-strict
cases.
Requested by Cameron McInally in D69275.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Commit 21d498c9c0f32dcab5bc89ac593aa813b533b43a by a.bataev
[SLP] Vectorize jumbled stores.
Summary: Patch adds support for vectorization of the jumbled stores. The
value operands are vectorized and then shuffled in the right order
before store.
Reviewers: RKSimon, spatel, hfinkel, mkuper
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D43339
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/store-jumbled.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/stores_vectorize.ll
Commit 1caa66d0759f6bd0851a40645afac8e8a7f84341 by aaron
Fix a false positive in misc-redundant-expression check
Do not warn for redundant conditional expressions when the true and
false branches are expanded from different macros even when they are
defined by one another.
Patch by Daniel Krupp.
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/misc-redundant-expression.cpp
The file was modifiedclang-tools-extra/clang-tidy/misc/RedundantExpressionCheck.cpp
Commit 5cc605bcc183ffcee9386a37e55b4863d72b045c by llvmgnsyncbot
gn build: Merge 29dc0b17de6
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/readability/BUILD.gn
Commit 661d2ce619e05dc47a9a232333c01dcba445cd13 by aaron
Fix modernize-use-nodiscard for classes marked [[nodiscard]]
Current implementation suggests to add [[nodiscard]] to methods even if
the return type is marked already as [[nodiscard]].
Patch by Eugene Sedykh.
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-nodiscard.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseNodiscardCheck.cpp