SuccessChanges

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

Summary

  1. [buildot] Add myself to the lldb-windows notification list. (details)
Commit cbccdbde6fbbfd4ab945a3bff18d6bc43a4b66bc by Jonas Devlieghere
[buildot] Add myself to the lldb-windows notification list.
The file was modifiedbuildbot/osuosl/master/config/status.py

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

Summary

  1. [OpenCL] Fix tblgen support for cl_khr_mipmap_image_writes (details)
  2. [ARM][TargetParser] Improve handling of dependencies between target (details)
  3. [lldb/Target] Add Assert StackFrame Recognizer (details)
  4. AMDGPU/GlobalISel: Don't use legal v2s16 G_BUILD_VECTOR (details)
  5. GlobalISel: Make LegalizerHelper primitives public (details)
  6. AMDGPU/GlobalISel: Fix processing new phi in waterfall loop (details)
  7. [Analyzer] Model STL Algoirthms to improve the iterator checkers (details)
  8. [WPD/LowerTypeTests] Delay lowering/removal of type tests until after (details)
  9. AMDGPU/GlobalISel: Legalize llvm.amdgcn.s.buffer.load (details)
  10. [gn build] Port b198f16e1e1 (details)
  11. [MLIR][GPU] Fix build files for mlir-opt. (details)
  12. [IRCE] Make IRCE a Function pass. (details)
  13. Resubmit^2: [JumpThreading] Thread jumps through two basic blocks (details)
  14. NFC: fix unused var warnings in no-assert builds (details)
  15. [clang-format] Do not treat C# attribute targets as labels (details)
  16. AMDGPU: Fix divergence analysis of control flow intrinsics (details)
  17. [lldb] [test] Pass LLVM_LIBS_DIR from CMake for linking liblldb (details)
  18. [PGO][PGSO] Tune flags for profile guided size optimization. (details)
  19. [clang-format] Do not merge short C# class definitions into one line (details)
  20. AMDGPU/GlobalISel: Legalize TFE image result loads (details)
  21. [AArch64][GlobalISel] Fix one use check in getTestBitReg (details)
  22. AMDGPU/GlobalISel: Prefer merge/unmerge ops to legalize TFE (details)
  23. [CMake] Filter libc++abi and libunwind from runtimes build in MSVC (details)
  24. Reapply: [SVE] Fix bug in simplification of scalable vector instructions (details)
  25. [AArch64][GlobalISel] Fold G_ASHR into TB(N)Z bit calculation (details)
  26. [llvm-reduce] add ReduceAttribute delta pass (details)
  27. [gn build] Port fc62b36a000 (details)
  28. GlobalISel: Assume G_INTRINSIC* are convergent (details)
  29. [test] yaml2obj -docnum => --docnum= (details)
  30. [mlir][ODS] Add documentation for the declarative assembly format. (details)
  31. [ARM] Add extra use test for MVE VPT blocks. NFC (details)
  32. [GlobalISel][AArch64] Fix contract cross-bank copies with SIMD (details)
  33. [scudo][standalone] Fix a race in the secondary release (details)
  34. Revert "Activate extension loading test on Darwin now that the (details)
  35. [DebugInfo] Fix debug-info generation for block invocations so that we (details)
  36. Revert "[llvm-reduce] add ReduceAttribute delta pass" (details)
  37. [gn build] Port b12176d2aaf (details)
  38. [MLIR] Move test passes out of lib/Analysis (details)
  39. [MLIR] Rename MemRefBoundCheck.cpp -> TestMemRefBoundCheck.cpp (details)
  40. [MLIR] Break cyclic dependencies with MLIRAnalysis (details)
  41. [NFC][RISCV] Fixing typo in comment. (details)
  42. AMDGPU/GlobalISel: Legalize f64 G_FFLOOR for SI (details)
  43. [VFS] More consistent support for Windows (details)
  44. [PowerPC][NFC] Clang-format on commit 4b414d (details)
  45. [Analysis] add query to get splat value from array of ints (details)
  46. [x86] use getSplatIndex() in lowerShuffleAsBroadcast() (details)
  47. AMDGPU/GlobalISel: Add mem operand to s.buffer.load intrinsic (details)
  48. Make llvm::crc32() work also for input sizes larger than 32 bits. (details)
  49. [mlir] Update generic op ebnf to include region (details)
  50. MemCpyOpt cannot use ABI alignment even if it was not given (details)
  51. AMDGPU/GlobalISel: Remove bitcast legality hack (details)
  52. [X86] Improve the gather scheduler models for SkylakeClient and (details)
  53. [MemCpyOpt] Simplify find*Alignment (details)
  54. [SystemZ]  Improve handling of inline asm constraints. (details)
  55. [ELF][ARM] Fix regression of BL->BLX substitution after D73542 (details)
  56. DebugInfo: Stabilize DW_OP_convert tests so they don't depend on (details)
  57. GlobalISel: Allow CSE of G_IMPLICIT_DEF (details)
  58. AMDGPU: Make LDS_DIRECT an artifical register (details)
  59. [LLDB] Add DynamicLoaderWasmDYLD plugin for WebAssembly debugging (details)
  60. [lldb/Reproducers] (De)serialize char* like const char* (details)
  61. [lldb/debugserver] Link against Security (details)
  62. [lldb/CMake] Remove non-existing wasm-DYLD subdir (details)
  63. [PHIElimination]  Compile time optimization for huge functions. (details)
  64. [AArch64][GlobalISel] Fold G_LSHR into test bit calculation (details)
  65. [AArch64][GlobalISel][NFC] Factor out TB(N)Z emission code into its own (details)
  66. [lldb/API] Fix non null-terminated stop-reason in (details)
  67. [AArch64][GlobalISel] Emit TBNZ with G_BRCOND where the condition is SLT (details)
  68. Partially revert "[LLDB] Add DynamicLoaderWasmDYLD plugin for (details)
  69. GlobalISel: Remove check for illegal MIR (details)
  70. [GWP-ASan] Crash Handler API. (details)
  71. [ConstantFold][SVE] Fix constant folding for bitcast. (details)
  72. [mlir][VectorOps] Add ShapeCastOp to the vector ops dialect. (details)
  73. Add missing directory from 3ec28da6 (details)
  74. [lldb] pass --lldb-libs-dir argument to lldb-dotest (details)
  75. Revert "[lldb/Target] Add Assert StackFrame Recognizer" (details)
  76. [analyzer] Prevent an assertion failure in PThreadLockChecker (details)
  77. [mlir] Adds affine loop fusion transformation function to (details)
  78. [ConstantFold][NFC] Move scalable vector unit tests under vscale.ll (details)
  79. [lldb/Test] Mark heap-cstr.test as requiring Python (details)
  80. [lldb] Remove "print xml" from TestWasm.py (details)
  81. [analyzer] Move fuchsia.Lock checker to alpha (details)
  82. [mlir][VectorOps] Support vector transfer_read/write unrolling for (details)
  83. Revert "[LLDB] Add DynamicLoaderWasmDYLD plugin for WebAssembly (details)
  84. [GWP-ASan] Change crash handler constant. (details)
  85. [mlir] [VectorOps] generalized vector.contract semantics (details)
  86. [GWP-ASan] Fix unused variables from crash handler + clang-format (details)
  87. [mlir] Register the GDB listener with ExecutionEngine to enable (details)
  88. [mlir] Add support for basic location translation to LLVM. (details)
  89. [CMake] Link against ZLIB::ZLIB (details)
  90. [mlir] Add explicit friendship to LLVM::ModuleTranslation to derived (details)
  91. Two more small fixes for debugserver attach failure messaging. (details)
  92. Revert "[WPD/LowerTypeTests] Delay lowering/removal of type tests until (details)
  93. [lldb/Reproducers] Implement custom replayers for (char *, size_t) (details)
Commit 91b3083aecdcb7beb33d497a94f4467f110b4f6d by sven.vanhaastregt
[OpenCL] Fix tblgen support for cl_khr_mipmap_image_writes
Apply the fix of f780e15caf1 ("[OpenCL] Fix support for
cl_khr_mipmap_image_writes", 2020-01-27) also to the TableGen OpenCL
builtin function definitions.
The file was modifiedclang/lib/Sema/OpenCLBuiltins.td
Commit 3627c91ead934486fdb3986b911482a78f101309 by momchil.velikov
[ARM][TargetParser] Improve handling of dependencies between target
features
The patch at https://reviews.llvm.org/D64048 added "negative" dependency
handling in `ARM::appendArchExtFeatures`: feature "noX" removes all
features, which imply "X".
This patch adds the "positive" handling: feature "X" adds all the
feature strings implied by "X".
(This patch also comes from the suggestion here
https://reviews.llvm.org/D72633#inline-658582)
Differential Revision: https://reviews.llvm.org/D72762
The file was modifiedllvm/lib/Support/ARMTargetParser.cpp
The file was modifiedllvm/unittests/Support/TargetParserTest.cpp
The file was modifiedclang/lib/Basic/Targets/ARM.cpp
The file was modifiedclang/test/Preprocessor/arm-target-features.c
The file was modifiedclang/test/Driver/arm-mfpu.c
Commit 2b7f32892b76cdfbe075300a5bf4a52e1b674bc7 by medismail.bennani
[lldb/Target] Add Assert StackFrame Recognizer
When a thread stops, this checks depending on the platform if the top
frame is an abort stack frame. If so, it looks for an assert stack frame
in the upper frames and set it as the most relavant frame when found.
To do so, the StackFrameRecognizer class holds a "Most Relevant Frame"
and a
"cooked" stop reason description. When the thread is about to stop, it
checks if the current frame is recognized, and if so, it fetches the
recognized frame's attributes and applies them.
rdar://58528686
Differential Revision: https://reviews.llvm.org/D73303
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/source/Core/FormatEntity.cpp
The file was modifiedlldb/include/lldb/Target/StackFrameRecognizer.h
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py
The file was modifiedlldb/source/API/SBThread.cpp
The file was addedlldb/test/Shell/Recognizer/Inputs/assert.c
The file was addedlldb/source/Target/AssertFrameRecognizer.cpp
The file was modifiedlldb/source/Target/StackFrameRecognizer.cpp
The file was addedlldb/test/Shell/Recognizer/assert.test
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
The file was modifiedlldb/include/lldb/Core/FormatEntity.h
The file was addedlldb/include/lldb/Target/AssertFrameRecognizer.h
The file was modifiedlldb/source/Target/Process.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/objc/exceptions/TestObjCExceptions.py
The file was modifiedlldb/source/Target/Thread.cpp
The file was modifiedlldb/include/lldb/Target/Thread.h
The file was modifiedlldb/source/Target/CMakeLists.txt
The file was modifiedlldb/docs/use/formatting.rst
Commit dfa9420f09f940db8785e6bdb43b41678b7ba681 by arsenm2
AMDGPU/GlobalISel: Don't use legal v2s16 G_BUILD_VECTOR
If we have s_pack_* instructions, legalize this to G_BUILD_VECTOR_TRUNC
from s32 elements. This is closer to how how the s_pack_* instructions
really behave.
If we don't have s_pack_ instructions, expand this by creating a merge
to s32 and bitcasting. This expands to the expected bit operations. I
think this eventually should go in a new bitcast legalize action type in
LegalizerHelper.
We already directly emit the shift operations in RegBankSelect for the
vector case. This could possibly be cleaned up, but I also may want to
defer doing this expansion to selection anyway. I'll see about that when
I try to actually match VOP3P instructions.
This breaks the selection of the build_vector since tablegen doesn't
know how to match G_BUILD_VECTOR_TRUNC yet, so just xfail it for now.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-build-vector.v2s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fminnum.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-add.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-phi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcanonicalize.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsqrt.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsub.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sext-inreg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-flat.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ctpop.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-zext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-icmp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.load.format.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fadd.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-cttz.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-intrinsic-round.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-flog.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-build-vector-trunc.v2s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmad.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.struct.tbuffer.load.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmaxnum.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-srem.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fptrunc.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcos.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.load.2d.d16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.struct.buffer.load.format.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-bswap.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-extract.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shuffle-vector.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shuffle-vector.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-urem.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcmp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-mul.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sdiv.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-cttz-zero-undef.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fexp2.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.tbuffer.load.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fexp.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-build-vector-trunc.v2s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ffloor.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-build-vector.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-flog10.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ctlz-zero-undef.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-sext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmul.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcopysign.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-build-vector.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ctlz.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fdiv.mir
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-build-vector.v2s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-udiv.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sub.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-bitreverse.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-lshr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-bitcast.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fma.mir
Commit cc1cffbe097997da21ad6860b371dddbc922f228 by arsenm2
GlobalISel: Make LegalizerHelper primitives public
I want to re-use widenScalarDst/moreElementsVectorDst directly.
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
Commit 307e0d5490a5f2a069a00e4273784d1a2e005ab9 by arsenm2
AMDGPU/GlobalISel: Fix processing new phi in waterfall loop
The adjusted iterator range included the last we just inserted, and
don't want to process. Figure out the new iterator range before
inserting phis. This was a harmless problem, but added an unnecessary
complication for a future patch.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit b198f16e1e1c8ee849008c1b886199eae5bc2e01 by adam.balogh
[Analyzer] Model STL Algoirthms to improve the iterator checkers
STL Algorithms are usually implemented in a tricky for performance
reasons which is too complicated for the analyzer. Furthermore inlining
them is costly. Instead of inlining we should model their behavior
according to the specifications.
This patch is the first step towards STL Algorithm modeling. It models
all the `find()`-like functions in a simple way: the result is either
found or not. In the future it can be extended to only return success if
container modeling is also extended in a way the it keeps track of
trivial insertions and deletions.
Differential Revision: https://reviews.llvm.org/D70818
The file was addedclang/lib/StaticAnalyzer/Checkers/STLAlgorithmModeling.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/Iterator.cpp
The file was addedclang/test/Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/Iterator.h
The file was addedclang/test/Analysis/stl-algorithm-modeling.cpp
The file was modifiedclang/test/Analysis/Inputs/system-header-simulator-cxx.h
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
The file was modifiedclang/include/clang/StaticAnalyzer/Checkers/Checkers.td
The file was modifiedclang/lib/StaticAnalyzer/Checkers/IteratorModeling.cpp
The file was modifiedclang/test/Analysis/analyzer-config.c
Commit 748bb5a0f1964d20dfb3891b0948ab6c66236c70 by tejohnson
[WPD/LowerTypeTests] Delay lowering/removal of type tests until after
ICP
Summary: Currently type test assume sequences inserted for
devirtualization are removed during WPD. This patch delays their removal
until later in the optimization pipeline. This is an enabler for
upcoming enhancements to indirect call promotion, for example
streamlined promotion guard sequences that compare against vtable
address instead of the target function, when there are small number of
possible vtables (either determined via WPD or by in-progress type
profiling). We need the type tests to correlate the callsites with the
address point offset needed in the compare sequence, and optionally to
associated type summary info computed during WPD.
This depends on work in D71913 to enable invocation of LowerTypeTests to
drop type test assume sequences, which will now be invoked following ICP
in the ThinLTO post-LTO link pipelines, and also after the existing
export phase LowerTypeTests invocation in regular LTO (which is already
after ICP). We cannot simply move the existing import phase
LowerTypeTests pass later in the ThinLTO post link pipelines, as the
comment in PassBuilder.cpp notes (it must run early because when
performing CFI other passes may disturb the sequences it looks for).
This necessitated adding a new type test resolution "Unknown" that we
can use on the type test assume sequences previously removed by WPD,
that we now want LTT to ignore.
Depends on D71913.
Reviewers: pcc, evgeny777
Subscribers: mehdi_amini, Prazek, hiraditya, steven_wu, dexonsmith,
arphaman, davidxl, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D73242
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/lib/Transforms/IPO/PassManagerBuilder.cpp
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/import-indir.ll
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-single-impl.ll
The file was modifiedllvm/test/Bitcode/summary_version.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndex.h
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/uniform-retval.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/devirt-single-impl2.ll
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-vcp.ll
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndexYAML.h
The file was modifiedllvm/test/Other/new-pm-lto-defaults.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/branch-funnel.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-uniform-ret-val.ll
The file was modifiedllvm/lib/Transforms/IPO/LowerTypeTests.cpp
The file was modifiedllvm/test/Other/new-pm-thinlto-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-unique-ret-val.ll
Commit 69cc9f3046cedcebabe2293de0acba408d181eb4 by arsenm2
AMDGPU/GlobalISel: Legalize llvm.amdgcn.s.buffer.load
The 96-bit results need to be widened.
I find the interaction between LegalizerHelper and MIRBuilder somewhat
awkward. The custom legalization is called by the LegalizerHelper, but
then does not have access to the helper. You have to construct a new
helper, which then does not own the MachineIRBuilder, but does modify
it. Maybe custom legalization should be passed the helper?
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.s.buffer.load.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Commit 622ef91b18a86f022fa6fcfba88c6e0f01ff3acd by llvmgnsyncbot
[gn build] Port b198f16e1e1
The file was modifiedllvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Checkers/BUILD.gn
Commit 921d4e7c8d37352cbb67a421b78c3e5666597b94 by joker-eph
[MLIR][GPU] Fix build files for mlir-opt.
The recent refactoring of build files broke building with the MIR CUDA
integration enabled. This fixes it by adding some additional
dependencies to mlir-opt.
Differential Revision: https://reviews.llvm.org/D74041
The file was modifiedmlir/lib/Conversion/GPUToCUDA/CMakeLists.txt
The file was modifiedmlir/tools/mlir-opt/CMakeLists.txt
Commit 67904db23cf49a3465f1764d150a8123f5d2e163 by asbirlea
[IRCE] Make IRCE a Function pass.
Summary: Make InductiveRangeCheckElimination a FunctionPass.
Reviewers: reames, mkazantsev
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73592
The file was modifiedllvm/test/Transforms/IRCE/pre_post_loops.ll
The file was modifiedllvm/test/Transforms/IRCE/single-access-no-preloop.ll
The file was modifiedllvm/test/Transforms/IRCE/bad-loop-structure.ll
The file was modifiedllvm/test/Transforms/IRCE/only-lower-check.ll
The file was modifiedllvm/test/Transforms/IRCE/decrementing-loop.ll
The file was modifiedllvm/test/Transforms/IRCE/unsigned_comparisons_ult.ll
The file was modifiedllvm/test/Transforms/IRCE/range_intersect_miscompile.ll
The file was modifiedllvm/test/Transforms/IRCE/low-becount.ll
The file was modifiedllvm/test/Transforms/IRCE/not-likely-taken.ll
The file was modifiedllvm/test/Transforms/IRCE/bug-loop-varying-upper-limit.ll
The file was modifiedllvm/test/Transforms/IRCE/eq_ne.ll
The file was modifiedllvm/test/Transforms/IRCE/add-metadata-pre-post-loops.ll
The file was modifiedllvm/test/Transforms/IRCE/unhandled.ll
The file was modifiedllvm/test/Transforms/IRCE/stride_more_than_1.ll
The file was modifiedllvm/test/Transforms/IRCE/bad_expander.ll
The file was modifiedllvm/test/Transforms/IRCE/conjunctive-checks.ll
The file was modifiedllvm/test/Transforms/IRCE/unsigned_comparisons_ugt.ll
The file was modifiedllvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
The file was modifiedllvm/test/Transforms/IRCE/only-upper-check.ll
The file was modifiedllvm/test/Transforms/IRCE/bug-mismatched-types.ll
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/test/Transforms/IRCE/ranges_of_different_types.ll
The file was modifiedllvm/test/Transforms/IRCE/skip-profitability-checks.ll
The file was modifiedllvm/test/Transforms/IRCE/with-parent-loops.ll
The file was modifiedllvm/test/Transforms/IRCE/correct-loop-info.ll
The file was modifiedllvm/test/Transforms/IRCE/empty_ranges.ll
The file was modifiedllvm/test/Transforms/IRCE/rc-negative-bound.ll
The file was modifiedllvm/include/llvm/Transforms/Scalar/InductiveRangeCheckElimination.h
The file was modifiedllvm/test/Transforms/IRCE/single-access-with-preloop.ll
The file was modifiedllvm/test/Transforms/IRCE/clamp.ll
The file was modifiedllvm/test/Transforms/IRCE/wide_indvar.ll
The file was modifiedllvm/test/Transforms/IRCE/non_known_positive_end.ll
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedllvm/test/Transforms/IRCE/multiple-access-no-preloop.ll
Commit 4698bf145d583e26ed438026ef7fde031ef322b1 by kazu
Resubmit^2: [JumpThreading] Thread jumps through two basic blocks
This reverts commit 41784bed01543315a1d03141e6ddc023fd914c0b.
Since the original revision ead815924e6ebeaf02c31c37ebf7a560b5fdf67b,
this revision fixes three issues:
- This revision fixes the Windows build.  My original patch improperly
copied EH pads on Windows.  This patch disregards jump threading
opportunities having to do with EH pads.
- This revision fixes jump threading to a wrong destination.
Specifically, my original patch treated any Constant other than 0 as 1
while evaluating the branch condition.  This bug led to treating
constant expressions like:
    icmp ugt i8* null, inttoptr (i64 4 to i8*)
  to "true".  This patch fixes the bug by calling isOneValue.
- This revision fixes the cost calculation of two basic blocks being
threaded through.  Note that getJumpThreadDuplicationCost returns
"(unsigned)~0" for those basic blocks that cannot be duplicated.  If
we sum of two return values from getJumpThreadDuplicationCost, we
could have an unsigned overflow like:
    (unsigned)~0 + 5 = 4
  and mistakenly determine that it's safe and profitable to proceed
with the jump threading opportunity.  The patch fixes the bug by
checking each return value before summing them up.
[JumpThreading] Thread jumps through two basic blocks
Summary: This patch teaches JumpThreading.cpp to thread through two
basic blocks like:
  bb3:
   %var = phi i32* [ null, %bb1 ], [ @a, %bb2 ]
   %tobool = icmp eq i32 %cond, 0
   br i1 %tobool, label %bb4, label ...
  bb4:
   %cmp = icmp eq i32* %var, null
   br i1 %cmp, label bb5, label bb6
by duplicating basic blocks like bb3 above.  Once we duplicate bb3 as
bb3.dup and redirect edge bb2->bb3 to bb2->bb3.dup, we have:
  bb3:
   %var = phi i32* [ @a, %bb2 ]
   %tobool = icmp eq i32 %cond, 0
   br i1 %tobool, label %bb4, label ...
  bb3.dup:
   %var = phi i32* [ null, %bb1 ]
   %tobool = icmp eq i32 %cond, 0
   br i1 %tobool, label %bb4, label ...
  bb4:
   %cmp = icmp eq i32* %var, null
   br i1 %cmp, label bb5, label bb6
Then the existing code in JumpThreading.cpp can thread edge bb3.dup->bb4
through bb4 and eventually create bb3.dup->bb5.
Reviewers: wmi
Subscribers: hiraditya, jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70247
The file was modifiedllvm/lib/Transforms/Scalar/JumpThreading.cpp
The file was addedllvm/test/Transforms/JumpThreading/thread-two-bbs4.ll
The file was modifiedllvm/include/llvm/Transforms/Scalar/JumpThreading.h
The file was addedllvm/test/Transforms/JumpThreading/thread-two-bbs5.ll
The file was addedllvm/test/Transforms/JumpThreading/thread-two-bbs2.ll
The file was addedllvm/test/Transforms/JumpThreading/thread-two-bbs1.ll
The file was addedllvm/test/Transforms/JumpThreading/thread-two-bbs3.ll
Commit 9f507bfd8d4761c619f21d8165b7e6e6e5bd09bd by rupprecht
NFC: fix unused var warnings in no-assert builds
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Commit ca1fd460f1f5bc4c200f557b63d69a93e3722175 by jbcoe
[clang-format] Do not treat C# attribute targets as labels
Summary: Merge '[', 'target' , ':' into a single token for C# attributes
to prevent the target from being seen as a label.
Reviewers: MyDeveloperDay, krasimir
Reviewed By: krasimir
Tags: #clang-format
Differential Revision: https://reviews.llvm.org/D74043
The file was modifiedclang/lib/Format/FormatTokenLexer.h
The file was modifiedclang/lib/Format/FormatTokenLexer.cpp
The file was modifiedclang/unittests/Format/FormatTestCSharp.cpp
Commit 096cd991ee90875603a9cacf3b460ac677258539 by Matthew.Arsenault
AMDGPU: Fix divergence analysis of control flow intrinsics
The mask results of these should be uniform. The trickier part is the
dummy booleans used as IR glue need to be treated as divergent. This
should make the divergence analysis results correct for the IR the DAG
is constructed from.
This should allow us to eliminate requiresUniformRegister, which has an
expensive, recursive scan over all users looking for control flow
intrinsics. This should avoid recent compile time regressions.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSearchableTables.td
The file was addedllvm/test/Analysis/DivergenceAnalysis/AMDGPU/control-flow-intrinsics.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
Commit dcab9736f01bc19a4d8011e04b6be46df5942791 by mgorny
[lldb] [test] Pass LLVM_LIBS_DIR from CMake for linking liblldb
Pass the correct library directory from CMake to dotest.py when linking
liblldb, instead of trying to reconstruct the path from executable path.
This fixes link failures on platforms having non-null
LLVM_LIBDIR_SUFFIX.
Differential Revision: https://reviews.llvm.org/D73767
The file was modifiedlldb/test/API/lit.cfg.py
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
The file was modifiedlldb/packages/Python/lldbsuite/test/configuration.py
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest_args.py
The file was modifiedlldb/test/API/lit.site.cfg.py.in
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest.py
Commit b70f23f5996d916f8ed4b870631a3b9075c12810 by yamauchi
[PGO][PGSO] Tune flags for profile guided size optimization.
Summary: Tune the profile threshold flag value for instrumentation PGO
based on internal benchmarks.
Also, add flags to allow profile guided size optimizations for non-cold
code to be enabled separately for instrumentation and sample PGSO.
Neither changes the default behavior (yet) as it's disabled for non-cold
code.
Reviewers: davidxl
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72937
The file was modifiedllvm/include/llvm/Transforms/Utils/SizeOpts.h
The file was modifiedllvm/lib/Transforms/Utils/SizeOpts.cpp
Commit f40a7972cb42e130c6e954f21acf9b66bf5bcad7 by jbcoe
[clang-format] Do not merge short C# class definitions into one line
Summary: Skip access specifiers before record definitions when deciding
whether or not to wrap lines so that C# class definitions do not get
wrapped into a single line.
Reviewers: krasimir, MyDeveloperDay
Reviewed By: krasimir
Tags: #clang-format
Differential Revision: https://reviews.llvm.org/D74050
The file was modifiedclang/lib/Format/UnwrappedLineFormatter.cpp
The file was modifiedclang/unittests/Format/FormatTestCSharp.cpp
Commit e65e6d052ed438843c1e8bc00524c766505966e3 by arsenm2
AMDGPU/GlobalISel: Legalize TFE image result loads
Rewrite the result register pair into the expected sinigle register
format in the legalizer.
I'm also operating under the assumption that TFE doesn't apply to stores
or atomics, but don't know if this is true or not.
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.load.2d.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.load.2d.d16.ll
Commit a82a28ae12ae06e6ef1b8364f465e9ea5218fe8a by Jessica Paquette
[AArch64][GlobalISel] Fix one use check in getTestBitReg
(1) The check needs to be on the 0th operand of whatever we're folding
(2) Checks for validity should happen before we change the bit
Fixes a bug which caused MultiSource/Applications/JM/lencod to fail at
-O3.
Differential Revision: https://reviews.llvm.org/D74002
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/opt-fold-ext-tbz-tbnz.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/opt-fold-shift-tbz-tbnz.mir
Commit 7bffa9728536740eef19bf1204c883e5f4638bce by arsenm2
AMDGPU/GlobalISel: Prefer merge/unmerge ops to legalize TFE
These have a better chance of combining with other operations and are
currently much better supported than G_EXTRACT.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.load.2d.d16.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.load.2d.ll
Commit 9986b88e64f30f5d958eef113bae4c8a098eea93 by phosek
[CMake] Filter libc++abi and libunwind from runtimes build in MSVC
These don't build on MSVC at the moment, so filter these out altogether
from the list of runtimes and print a warning.
Differential Revision: https://reviews.llvm.org/D73812
The file was modifiedllvm/runtimes/CMakeLists.txt
Commit b03f3fbd6a6b8843469865b16c9eb3af8adc2d3a by ctetreau
Reapply: [SVE] Fix bug in simplification of scalable vector instructions
This reverts commit a05441038a3a4a011b9421751367c5c797d57137, reapplying
commit 31574d38ac5fa4646cf01dd252a23e682402134f
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was addedllvm/test/Analysis/ConstantFolding/vscale-shufflevector.ll
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was addedllvm/test/Analysis/ConstantFolding/vscale-getelementptr.ll
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/lib/IR/ConstantFold.cpp
The file was modifiedllvm/include/llvm/IR/Instructions.h
The file was modifiedllvm/lib/IR/Instructions.cpp
Commit 292f7257118a6e270f93acb14dc6119588e9e427 by Jessica Paquette
[AArch64][GlobalISel] Fold G_ASHR into TB(N)Z bit calculation
This implements walking over G_ASHR in the same way as
`getTestBitOperand` in AArch64ISelLowering.
```
(tbz (ashr x, c), b) -> (tbz x, b+c) or (tbz x, msb) if b+c is > # bits
in x
```
Differential Revision: https://reviews.llvm.org/D73933
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/opt-fold-shift-tbz-tbnz.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
Commit fc62b36a000681c01e993242b583c5ec4ab48a3c by ndesaulniers
[llvm-reduce] add ReduceAttribute delta pass
Summary: The output from llvm-reduce still has significantly more
attributes than bugpoint does.  Teach llvm-reduce to remove attributes.
Reviewers: diegotf, dblaikie, george.burgess.iv
Subscribers: mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73853
The file was modifiedllvm/tools/llvm-reduce/DeltaManager.h
The file was modifiedllvm/tools/llvm-reduce/CMakeLists.txt
The file was addedllvm/test/Reduce/remove-attributes.ll
The file was addedllvm/tools/llvm-reduce/deltas/ReduceAttributes.h
The file was addedllvm/test/Reduce/Inputs/remove-attributes.py
The file was addedllvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceInstructions.cpp
Commit d2182d6c2cf31c50dde5700e52dfc1ae8c0e8020 by llvmgnsyncbot
[gn build] Port fc62b36a000
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn
Commit ccc11a9f3099ce8c3eeae69c382e54ac3339f00b by Matthew.Arsenault
GlobalISel: Assume G_INTRINSIC* are convergent
This is safer in case anyone tries to run MI optimization passes on
pre-selected MIR. If there turns out to be a real reason to do this, we
might need to add separate convergent intrinsic opcodes.
The file was modifiedllvm/include/llvm/Target/GenericOpcodes.td
Commit 77519b60d99233ccea2622ea3e40b30018d2f228 by maskray
[test] yaml2obj -docnum => --docnum=
The file was modifiedlld/test/ELF/mips-elf-flags-err.test
The file was modifiedlld/test/ELF/mips-fp-flags-err.test
The file was modifiedlld/test/ELF/invalid/symtab-sh-info.s
The file was modifiedlldb/test/Shell/ObjectFile/wasm/unified-debug-sections.yaml
The file was modifiedlld/test/ELF/invalid/common-symbol-alignment.test
The file was modifiedlld/test/ELF/invalid/bad-reloc-target.test
The file was modifiedlld/test/ELF/compressed-input-alignment.test
The file was modifiedlld/test/ELF/invalid/dynamic-section-broken.test
Commit c1bcdb935a6b0f817109fde9b5e307fcaaab4b84 by riddleriver
[mlir][ODS] Add documentation for the declarative assembly format.
Summary: This details the structure of the format, it's requirements,
and gives a few examples.
Differential Revision: https://reviews.llvm.org/D73983
The file was modifiedmlir/docs/OpDefinitions.md
Commit f64b3466b6bbea0422209ecaceecd361bb09ff87 by david.green
[ARM] Add extra use test for MVE VPT blocks. NFC
The file was addedllvm/test/CodeGen/Thumb2/mve-vpt-preuse.mir
Commit ce9633633c07045068d202cc225dbf2deb7e4e8b by scw
[GlobalISel][AArch64] Fix contract cross-bank copies with SIMD
instructions
contractCrossBankCopyIntoStore() finds the instruction defines the
source register and uses its output to replace the register. There are,
however, instructions that have multiple outputs, e.g. G_UNMERGE_VALUES.
Current implementation hardcodes to operand 0 and has no way of knowing
which output should be used.
This change adds another function to directly return the register that
is the source of the register and use that for folding.
This fixes https://bugs.llvm.org/show_bug.cgi?id=44783
Differential Revision: https://reviews.llvm.org/D74005
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/contract-store.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/Utils.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/Utils.h
Commit a9d5f8989d83dee1ed01b7f8eaaab89ad190116a by kostyak
[scudo][standalone] Fix a race in the secondary release
Summary: I tried to move the `madvise` calls outside of one of the
secondary mutexes, but this backfired. There is situation when a low
release interval is set combined with secondary pressure that leads to a
race: a thread can get a block from the cache, while another thread is
`madvise`'ing that block, resulting in a null header.
I changed the secondary race test so that this situation would be
triggered, and moved the release into the cache mutex scope.
Reviewers: cferris, pcc, eugenis, hctim, morehouse
Subscribers: jfb, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D74072
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/secondary.h
Commit 3524755a1a25c18ecf47e50e5186232da0751cfe by Jan Korous
Revert "Activate extension loading test on Darwin now that the
underlying fix has landed"
This reverts commit 058070893428a480b76a137f647ae6b9c89ac2d4.
The file was modifiedllvm/test/Feature/load_extension.ll
Commit 428583dd22fdc8f789390822e7b8ef4a5534721d by shafik
[DebugInfo] Fix debug-info generation for block invocations so that we
set the LinkageName
Currently when generating debug-info for a BlockDecl we are setting the
Name to the mangled name and not setting the LinkageName. This means we
see the mangled name for block invcations ends up in DW_AT_Name and not
in DW_AT_linkage_name.
This patch fixes this case so that we also set the LinkageName as well.
Differential Revision: https://reviews.llvm.org/D73282
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was addedclang/test/CodeGenCXX/debug-info-block-invocation-linkage-name.cpp
Commit b12176d2aafa0ccb2585aa218fc3b454ba84f2a9 by thakis
Revert "[llvm-reduce] add ReduceAttribute delta pass"
This reverts commit fc62b36a000681c01e993242b583c5ec4ab48a3c. Breaks
tests on mac: http://45.33.8.238/mac/7301/step_11.txt
The file was removedllvm/test/Reduce/Inputs/remove-attributes.py
The file was removedllvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp
The file was removedllvm/test/Reduce/remove-attributes.ll
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceInstructions.cpp
The file was modifiedllvm/tools/llvm-reduce/CMakeLists.txt
The file was modifiedllvm/tools/llvm-reduce/DeltaManager.h
The file was removedllvm/tools/llvm-reduce/deltas/ReduceAttributes.h
Commit 4fb10be4b8010b333558cdcdd3e765e1f4a3c68d by llvmgnsyncbot
[gn build] Port b12176d2aaf
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn
Commit b3dd31711ab9f8bf250429a8de9767dffa9469ea by stephen.neuendorffer
[MLIR] Move test passes out of lib/Analysis
Summary:
This breaks a cyclic library dependency where MLIRPass used the verifier
in MLIRAnalysis, but MLIRAnalysis also contained passes used for
testing. The presence of the test passes here is archaeology, predating
test/lib/Transform.
Reviewers: rriddle
Reviewed By: rriddle
Subscribers: merge_guards_bot, mgorny, mehdi_amini, jpienaar, burmako,
shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester,
lucyrfox, liufengdb, Joonsoo, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D74067
The file was addedmlir/test/lib/Transforms/MemRefBoundCheck.cpp
The file was modifiedmlir/lib/Transforms/CMakeLists.txt
The file was modifiedmlir/test/lib/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Analysis/CMakeLists.txt
The file was addedmlir/test/lib/Transforms/TestMemRefDependenceCheck.cpp
The file was removedmlir/lib/Analysis/TestParallelismDetection.cpp
The file was removedmlir/lib/Analysis/MemRefBoundCheck.cpp
The file was removedmlir/lib/Analysis/OpStats.cpp
The file was addedmlir/lib/Transforms/OpStats.cpp
The file was removedmlir/lib/Analysis/TestMemRefDependenceCheck.cpp
The file was addedmlir/test/lib/Transforms/TestParallelismDetection.cpp
Commit b692f43e424c1282c120d9a93a7eee58114a0f55 by stephen.neuendorffer
[MLIR] Rename MemRefBoundCheck.cpp -> TestMemRefBoundCheck.cpp
Summary:
This makes it consistent with other test passes.
Reviewers: rriddle
Reviewed By: rriddle
Subscribers: merge_guards_bot, mgorny, mehdi_amini, jpienaar, burmako,
shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester,
lucyrfox, aartbik, liufengdb, Joonsoo, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D74068
The file was modifiedmlir/test/Transforms/memref-bound-check.mlir
The file was modifiedmlir/include/mlir/Analysis/Passes.h
The file was modifiedmlir/test/lib/Transforms/CMakeLists.txt
The file was addedmlir/test/lib/Transforms/TestMemRefBoundCheck.cpp
The file was removedmlir/test/lib/Transforms/MemRefBoundCheck.cpp
Commit 7b7e5058136bebf9bd55ed5d1b20e8a671302e28 by stephen.neuendorffer
[MLIR] Break cyclic dependencies with MLIRAnalysis
Summary:
MLIRAnalysis depended on MLIRVectorOps MLIRVectorOps depended on
MLIRAnalysis for Loop information.
Both of these can be solved by factoring out libraries related to loop
analysis into their own library. The new MLIRLoopAnalysis might be
better off with the Loop Dialect in the future.
Reviewers: nicolasvasilache, rriddle!, mehdi_amini
Reviewed By: mehdi_amini
Subscribers: Joonsoo, vchuravy, merge_guards_bot, mgorny, mehdi_amini,
rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob,
mgester, lucyrfox, aartbik, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73655
The file was modifiedmlir/lib/Analysis/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/VectorOps/CMakeLists.txt
The file was modifiedmlir/lib/Transforms/Utils/CMakeLists.txt
Commit e5ba52dc8126f3d9c6282c361196b6bb0f82cc71 by ncv
[NFC][RISCV] Fixing typo in comment.
Reviewers: luismarques, lenary
Reviewed By: lenary
Subscribers: hiraditya, asb, rbar, johnrusso, simoncook, sabuasal,
niosHD, kito-cheng, shiva0217, jrtc27, MaskRay, zzheng, edward-jones,
rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei,
psnobl, benna, Jim, lenary, s.egerton, pzheng, sameer.abuasal, apazos,
luismarques, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73984
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
Commit 5aa6e246a1e44655a66581bc2ca6a20e3051e7e9 by arsenm2
AMDGPU/GlobalISel: Legalize f64 G_FFLOOR for SI
Use cmp ord instead of cmp_class compared to the DAG version for the nan
check, but mostly try to match the existsing pattern.
I think the sign doesn't matter for fract, so we could do a little
better with the source modifier matching.
I think this is also still broken as in D22898, but I'm leaving it as-is
for now while I don't have an SI system to test on.
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ffloor.s64.mir
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ffloor.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fptoui.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ffloor.s32.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fptosi.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/floor.f64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ffloor.mir
Commit da45bd232165eab5d6ec4f1f4f18db8644289142 by amccarth
[VFS] More consistent support for Windows
Removed some #ifdefs specific to Windows handling of VFS paths.  This
eliminates most of the differences between the Windows and non-Windows
code paths.
Making this work required some changes to account for the fact that VFS
file paths can be Posix style or Windows style, so you cannot just
assume that they use the host's native path style.  In one case, this
means implementing our own version of make_absolute, since the
filesystem code in Support doesn't have styles in the sense that the
path code does.
Differential Review: https://reviews.llvm.org/D71092
The file was modifiedllvm/include/llvm/Support/VirtualFileSystem.h
The file was modifiedclang/test/VFS/external-names.c
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
Commit 043e4787211609e987799050ba2944b77a53ddb5 by wei.huang
[PowerPC][NFC] Clang-format on commit 4b414d
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
The file was modifiedllvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
Commit 686a038ed8f96e5539c54fea28aedac63145cf71 by spatel
[Analysis] add query to get splat value from array of ints
I was debug stepping through an x86 shuffle lowering and noticed we were
doing an N^2 search for splat index. I didn't find the equivalent
functionality anywhere else in LLVM, so here's a helper that takes an
array of int and returns a splatted index while ignoring undefs (any
negative value).
This might also be used inside existing
ShuffleVectorInst/ShuffleVectorSDNode functions and/or help with D72467.
Differential Revision: https://reviews.llvm.org/D74064
The file was modifiedllvm/lib/Analysis/VectorUtils.cpp
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
The file was modifiedllvm/unittests/Analysis/VectorUtilsTest.cpp
Commit 0a389c81cdbba9ddbd3c4d8848169c96c5d23069 by spatel
[x86] use getSplatIndex() in lowerShuffleAsBroadcast()
The old code was doing an N^2 search for splat index.
Differential Revision: https://reviews.llvm.org/D74064
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 364326ce66ed5cbcb7acc102d066215b69e45595 by arsenm2
AMDGPU/GlobalISel: Add mem operand to s.buffer.load intrinsic
Really the intrinsic definition is wrong, but work around this here. The
DAG lowering introduces an MMO. We have to introduce a new operation to
avoid the verifier complaining about the missing mayLoad.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn-s-buffer-load.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.s.buffer.load.mir
Commit 6c4a8bc0a9f6a466d90d542bef66d69550c1b041 by hans
Make llvm::crc32() work also for input sizes larger than 32 bits.
The problem was noticed by the Chrome OS toolchain folks
(crbug.com/1048445) because llvm-objcopy --add-gnu-debuglink would
insert the wrong checksum when processing a binary larger than 4 GB.
That use case regressed in 1e1e3ba2526 when we started using
llvm::crc32() in more places.
Differential revision: https://reviews.llvm.org/D74039
The file was modifiedllvm/unittests/Support/CRCTest.cpp
The file was modifiedllvm/lib/Support/CRC.cpp
Commit 2697e8bc1e63d48fca2094f136d8ec98ff020b83 by jpienaar
[mlir] Update generic op ebnf to include region
Summary: Optional regions are supported in the generic op print/parse
form, update the docs to match.
Differential Revision: https://reviews.llvm.org/D74061
The file was modifiedmlir/docs/LangRef.md
The file was modifiedmlir/lib/Parser/Parser.cpp
Commit ad9ae6ee2b3c697a953321eeedb3ab0d0c922864 by aqjune
MemCpyOpt cannot use ABI alignment even if it was not given
Summary: This patch fixes https://bugs.llvm.org/show_bug.cgi?id=44388
which incorrectly assigns an ABI alignment to memset when there was no
explicit alignment given.
Reviewers: gchatelet, lenary, nikic
Reviewed By: nikic
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D74083
The file was modifiedllvm/test/Transforms/MemCpyOpt/form-memset.ll
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
Commit baafe82b07ade3fff4f2685199870b67083a17d5 by arsenm2
AMDGPU/GlobalISel: Remove bitcast legality hack
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-bitcast.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-flat.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
Commit c6bdd8e73110e14dc54833137cecef9c07d2dc24 by craig.topper
[X86] Improve the gather scheduler models for SkylakeClient and
SkylakeServer
The load ports need a cycle for each potentially loaded element just
like Haswell and Skylake. Unlike Haswell and Broadwell, the number of
uops does not scale with the number of elements. Instead the load uops
run for multiple cycles.
I've taken the latency number from the uops.info. The port binding for
the non-load uops is taken from the original IACA data I have.
Differential Revision: https://reviews.llvm.org/D74000
The file was modifiedllvm/lib/Target/X86/X86SchedSkylakeClient.td
The file was modifiedllvm/test/tools/llvm-mca/X86/Generic/resources-avx512.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx512vl.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SkylakeClient/resources-avx2.s
The file was modifiedllvm/lib/Target/X86/X86SchedSkylakeServer.td
The file was modifiedllvm/test/tools/llvm-mca/X86/Generic/resources-avx512vl.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx512.s
Commit 5687acf431de4f6a156b2f6906eb4eb503ac70ce by aqjune
[MemCpyOpt] Simplify find*Alignment
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
Commit 4a3760d2ba3026d45f44fe127ac2909371d5ee19 by paulsson
[SystemZ]  Improve handling of inline asm constraints.
The "{=v0}" constraint did not result in the expected error message in
the abscence of the vector facility, because 'v0' matches as a string
into the AnyRegBitRegClass in common code.
This patch adds checks for vector support in case of "{v" and soft-float
in case of "{f" to remedy this.
Review: Ulrich Weigand.
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
The file was addedllvm/test/CodeGen/SystemZ/soft-float-inline-asm-04.ll
Commit 5461fa2b1fcfcfcd8e28e3ac3383d2245d5d90bf by maskray
[ELF][ARM] Fix regression of BL->BLX substitution after D73542
D73542 made a typo (`rel.type == R_PLT_PC`; should be `rel.expr`) and
introduced a regression: BL->BLX substitution was disabled when the
target symbol is preemptible
(expr is R_PLT_PC).
The two added bl instructions in arm-thumb-interwork-shared.s check that
we patch BL to BLX.
Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=1047531
The file was modifiedlld/test/ELF/arm-thumb-interwork-shared.s
The file was modifiedlld/ELF/Arch/ARM.cpp
Commit a4b590dd397a2798d4f83abe5a5fd9ddd3d31b4f by dblaikie
DebugInfo: Stabilize DW_OP_convert tests so they don't depend on
register allocation, etc
The file was modifiedllvm/test/DebugInfo/X86/convert-linked.ll
The file was modifiedllvm/test/DebugInfo/X86/convert-debugloc.ll
Commit 9087ef0765538499c11a44ee93b0806b38e6c52f by arsenm2
GlobalISel: Allow CSE of G_IMPLICIT_DEF
The legalizer produces a lot of these, and they make reading legalized
MIR annoying. For some reason, this does seem to sometimes introduce
copies of implicit def, which is dumb.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmul.mir
The file was modifiedllvm/unittests/CodeGen/GlobalISel/CSETest.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-flat.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-and.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/CSEInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-or.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-struct-return-intrinsics.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-select.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_ps.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcos.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fminnum.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-phi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsqrt.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fdiv.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmaxnum.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-undef.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fabs.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-lshr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-merge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-function-args.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-xor.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-unmerge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fpext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shuffle-vector.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fadd.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcanonicalize.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-cmp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ffloor.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-insert.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fma.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-intrinsic-round.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shuffle-vector.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-extract.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-undef.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-phi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsub.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/function-returns.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fneg.mir
Commit 89b7091c28ad7879aea5d463930f54e7a9ba236e by arsenm2
AMDGPU: Make LDS_DIRECT an artifical register
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.td
Commit 3ec28da6d6430a00b46780555a87acd43fcab790 by dschuff
[LLDB] Add DynamicLoaderWasmDYLD plugin for WebAssembly debugging
Add a dynamic loader plug-in class for WebAssembly modules.
Differential Revision: https://reviews.llvm.org/D72751
The file was modifiedlldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.h
The file was modifiedlldb/test/Shell/ObjectFile/wasm/unified-debug-sections.yaml
The file was modifiedlldb/source/Plugins/DynamicLoader/CMakeLists.txt
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/test_wasm_external_debug_sections.yaml
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
The file was modifiedlldb/test/Shell/ObjectFile/wasm/basic.yaml
The file was modifiedlldb/test/Shell/ObjectFile/wasm/embedded-debug-sections.yaml
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestWasm.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/test_sym.yaml
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/test_wasm_embedded_debug_sections.yaml
The file was modifiedlldb/test/Shell/ObjectFile/wasm/stripped-debug-sections.yaml
Commit 6dccad7517f83a069d9bfbf761b648b0e50870c2 by Jonas Devlieghere
[lldb/Reproducers] (De)serialize char* like const char*
The current implementation has a discrepancy between how char pointers
are serialized and deserialized. The latter treats it like a const char*
while the former serializes it as a pointer to a basic type.
Both are potentially wrong, as char pointers are mostly used in
combination with a size, and nothing guarantees that the string's length
(its first null byte to be more precise) is greater or equal to its
size. The real solution is to have a custom (de)serializer that uses
both pieces of infromation.
However, the implementation should be consistent between serialization
and deserialization and I believe treating char* as const char* is the
better alternative.
The file was modifiedlldb/include/lldb/Utility/ReproducerInstrumentation.h
Commit fefff970321a4fe0b717f3679e291bd53ee82ef6 by Jonas Devlieghere
[lldb/debugserver] Link against Security
The file was modifiedlldb/tools/debugserver/source/CMakeLists.txt
Commit 5c15e8e682e365b3a7fcf35200df79f3fb93b924 by Jonas Devlieghere
[lldb/CMake] Remove non-existing wasm-DYLD subdir
The file was modifiedlldb/source/Plugins/DynamicLoader/CMakeLists.txt
Commit 96ea377ea4d6d8cb304a2f5ad69fd33fd1fade6f by paulsson
[PHIElimination]  Compile time optimization for huge functions.
This is a compile-time optimization for PHIElimination (splitting of
critical edges), which was reported at
https://bugs.llvm.org/show_bug.cgi?id=44249. As discussed there, the way
to remedy the slowdowns with huge functions is to pre-compute the
live-in registers for each MBB in an efficient way in PHIElimination.cpp
and then pass that information along to LiveVariabless::addNewBlock().
In all the huge test programs where this slowdown has been noticable, it
has dissapeared entirely with this patch.
Review: Björn Pettersson, Quentin Colombet.
Differential Revision: https://reviews.llvm.org/D73152
The file was modifiedllvm/lib/CodeGen/PHIElimination.cpp
The file was modifiedllvm/lib/CodeGen/MachineBasicBlock.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineBasicBlock.h
The file was modifiedllvm/lib/CodeGen/LiveVariables.cpp
The file was modifiedllvm/include/llvm/CodeGen/LiveVariables.h
Commit 7212f65784c12cd2e01c909b43e2c4c597637195 by Jessica Paquette
[AArch64][GlobalISel] Fold G_LSHR into test bit calculation
Add support for walking through G_LSHR in `getTestBitReg`. Equivalent to
the code in `getTestBitOperand` in AArch64ISelLowering.
```
(tbz (lshr x, c), b) -> (tbz x, b+c) when b + c is < # bits in x
```
Differential Revision: https://reviews.llvm.org/D74077
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/opt-fold-shift-tbz-tbnz.mir
Commit bab993451e74af688bafb8806768a34882f6b66e by Jessica Paquette
[AArch64][GlobalISel][NFC] Factor out TB(N)Z emission code into its own
function
Factor it out into `emitTestBit` and add some asserts to the new
function.
This will be useful for implementing TB(N)Z emission for SLT/SGT
compares.
Differential Revision: https://reviews.llvm.org/D74080
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
Commit 42c906bceffaadeb704f2629d21f33aece831bc6 by medismail.bennani
[lldb/API] Fix non null-terminated stop-reason in
SBThread::GetStopDescription
When trying to get the stop reason description using the SB API, the
buffer fetched was not null-terminated causing failures on the sanitized
bot.
This patch should address those failures.
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/source/API/SBThread.cpp
Commit a3738414072900ace9cbbe209d0195a3443d1d54 by Jessica Paquette
[AArch64][GlobalISel] Emit TBNZ with G_BRCOND where the condition is SLT
When we have a G_ICMP which checks SLT, and the comparison is against 0,
we can emit a TBNZ instead of a CBZ.
This lets us fold in things into the branch, which can provide some code
size savings.
This is similar to the case in `AArch64TargetLowering::LowerBR_CC`.
https://reviews.llvm.org/D74090
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/tbnz-slt.mir
Commit 4697e701b8cb40429818609814c7422e49b2ee07 by Jonas Devlieghere
Partially revert "[LLDB] Add DynamicLoaderWasmDYLD plugin for
WebAssembly debugging"
This temporarily and partially reverts 3ec28da6d643 because it's missing
a directory.
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestWasm.py
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
Commit 7464e8d6ad3c614f739c770896eb6a0564d9feb8 by arsenm2
GlobalISel: Remove check for illegal MIR
The verifier will catch this.
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
Commit a62586846fa90054bd9224912b07095d2fca662c by 31459023+hctim
[GWP-ASan] Crash Handler API.
Summary: Forewarning: This patch looks big in #LOC changed. I promise
it's not that bad, it just moves a lot of content from one file to
another. I've gone ahead and left inline comments on Phabricator for
sections where this has happened.
This patch:
1. Introduces the crash handler API (crash_handler_api.h).
2. Moves information required for out-of-process crash handling into an
AllocatorState. This is a trivially-copied POD struct that designed to
be recovered from a deceased process, and used by the crash handler to
create a GWP-ASan report (along with the other trivially-copied Metadata
struct).
3. Implements the crash handler API using the AllocatorState and
Metadata.
4. Adds tests for the crash handler.
5. Reimplements the (now optionally linked by the supporting allocator)
in-process crash handler (i.e. the segv handler) using the new crash
handler API.
6. Minor updates Scudo & Scudo Standalone to fix compatibility.
7. Changed capitalisation of errors (e.g. /s/Use after free/Use After
Free).
Reviewers: cryptoad, eugenis, jfb
Reviewed By: eugenis
Subscribers: merge_guards_bot, pcc, jfb, dexonsmith, mgorny, cryptoad,
#sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D73557
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
The file was modifiedcompiler-rt/test/gwp_asan/heap_buffer_overflow.cpp
The file was modifiedcompiler-rt/test/gwp_asan/invalid_free_left.cpp
The file was addedcompiler-rt/lib/gwp_asan/common.h
The file was modifiedcompiler-rt/lib/gwp_asan/tests/optional/printf_sanitizer_common.cpp
The file was modifiedcompiler-rt/lib/scudo/scudo_allocator.cpp
The file was modifiedcompiler-rt/test/gwp_asan/use_after_delete.cpp
The file was addedcompiler-rt/lib/gwp_asan/tests/crash_handler_api.cpp
The file was modifiedcompiler-rt/lib/scudo/CMakeLists.txt
The file was modifiedcompiler-rt/test/gwp_asan/invalid_free_right.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/tests/backtrace.cpp
The file was addedcompiler-rt/lib/gwp_asan/platform_specific/common_posix.cpp
The file was modifiedcompiler-rt/test/gwp_asan/double_free.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/guarded_pool_allocator.h
The file was modifiedcompiler-rt/lib/gwp_asan/CMakeLists.txt
The file was modifiedcompiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/tests/harness.h
The file was modifiedcompiler-rt/lib/gwp_asan/optional/options_parser.cpp
The file was addedcompiler-rt/lib/gwp_asan/optional/segv_handler_posix.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/random.cpp
The file was modifiedcompiler-rt/test/gwp_asan/heap_buffer_underflow.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/options.inc
The file was addedcompiler-rt/lib/gwp_asan/optional/segv_handler.h
The file was modifiedcompiler-rt/lib/gwp_asan/options.h
The file was modifiedcompiler-rt/lib/gwp_asan/tests/CMakeLists.txt
The file was modifiedcompiler-rt/lib/gwp_asan/optional/backtrace_sanitizer_common.cpp
The file was addedcompiler-rt/lib/gwp_asan/utilities.h
The file was addedcompiler-rt/lib/gwp_asan/crash_handler.h
The file was modifiedcompiler-rt/lib/gwp_asan/platform_specific/guarded_pool_allocator_posix.cpp
The file was modifiedcompiler-rt/test/gwp_asan/realloc.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/optional/backtrace.h
The file was addedcompiler-rt/lib/gwp_asan/platform_specific/utilities_posix.cpp
The file was modifiedcompiler-rt/test/gwp_asan/double_delete.cpp
The file was modifiedcompiler-rt/test/gwp_asan/use_after_free.cpp
The file was addedcompiler-rt/lib/gwp_asan/crash_handler.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/CMakeLists.txt
The file was modifiedcompiler-rt/lib/gwp_asan/tests/basic.cpp
The file was addedcompiler-rt/lib/gwp_asan/common.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/combined.h
The file was modifiedcompiler-rt/lib/gwp_asan/tests/thread_contention.cpp
The file was modifiedcompiler-rt/test/gwp_asan/use_after_deletea.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/optional/backtrace_linux_libc.cpp
The file was modifiedcompiler-rt/test/gwp_asan/double_deletea.cpp
Commit 801857c59ea647442b1302139169ec37f81d8cce by huihuiz
[ConstantFold][SVE] Fix constant folding for bitcast.
Do not iterate on scalable vector type in BitCastConstantVector.
Continuation work of D70985, D71147.
Support for folding bitcast into splat value is kept in D74095, as it
depends on D71637.
Differential Revision: https://reviews.llvm.org/D71389
The file was addedllvm/test/Analysis/ConstantFolding/bitcast.ll
The file was modifiedllvm/lib/IR/ConstantFold.cpp
Commit 3ce8095c295e6a9ef7c946ad8c035a8b5a392ec1 by andydavis
[mlir][VectorOps] Add ShapeCastOp to the vector ops dialect.
Summary: Add ShapeCastOp to the vector ops dialect.
The shape_cast operation casts between an n-D source vector shape and a
k-D result vector shape (the element type remains the same).
Reviewers: nicolasvasilache, aartbik
Reviewed By: nicolasvasilache
Subscribers: Joonsoo, merge_guards_bot, mehdi_amini, rriddle, jpienaar,
burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox,
liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73635
The file was modifiedmlir/test/Dialect/VectorOps/invalid.mlir
The file was modifiedmlir/test/Dialect/VectorOps/ops.mlir
The file was modifiedmlir/include/mlir/Dialect/VectorOps/VectorOps.td
The file was modifiedmlir/lib/Dialect/VectorOps/VectorOps.cpp
Commit f5f70d1c8fbf12249b4b9598f10a10f12d4db029 by dschuff
Add missing directory from 3ec28da6
Also revert 4697e701b8, restoring the original patch from
https://reviews.llvm.org/D72751
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestWasm.py
The file was addedlldb/source/Plugins/DynamicLoader/wasm-DYLD/DynamicLoaderWasmDYLD.cpp
The file was addedlldb/source/Plugins/DynamicLoader/wasm-DYLD/CMakeLists.txt
The file was modifiedlldb/source/Plugins/DynamicLoader/CMakeLists.txt
The file was addedlldb/source/Plugins/DynamicLoader/wasm-DYLD/DynamicLoaderWasmDYLD.h
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
Commit 5f1e45fd6764f9e31de1c9d6d7581645eea0c696 by labath
[lldb] pass --lldb-libs-dir argument to lldb-dotest
This argument was introduced in dcab9736f, but lldb-dotest was not
handled.
The file was modifiedlldb/utils/lldb-dotest/CMakeLists.txt
The file was modifiedlldb/utils/lldb-dotest/lldb-dotest.in
Commit 98b273c893b2c218c56fe5c03cbb6f082cce008c by labath
Revert "[lldb/Target] Add Assert StackFrame Recognizer"
This reverts commit 2b7f32892b76cdfbe075300a5bf4a52e1b674bc7 because of
test failures due to dangling pointers.
The file was removedlldb/source/Target/AssertFrameRecognizer.cpp
The file was modifiedlldb/include/lldb/Target/Thread.h
The file was modifiedlldb/include/lldb/Target/StackFrameRecognizer.h
The file was modifiedlldb/source/API/SBThread.cpp
The file was modifiedlldb/source/Target/CMakeLists.txt
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
The file was removedlldb/test/Shell/Recognizer/Inputs/assert.c
The file was modifiedlldb/source/Target/Process.cpp
The file was modifiedlldb/include/lldb/Core/FormatEntity.h
The file was modifiedlldb/source/Core/FormatEntity.cpp
The file was removedlldb/include/lldb/Target/AssertFrameRecognizer.h
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py
The file was removedlldb/test/Shell/Recognizer/assert.test
The file was modifiedlldb/docs/use/formatting.rst
The file was modifiedlldb/source/Target/StackFrameRecognizer.cpp
The file was modifiedlldb/source/Target/Thread.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/objc/exceptions/TestObjCExceptions.py
Commit e4f4a6c0f5bbda5dc0b922816b3fdfce4b75f404 by xazax
[analyzer] Prevent an assertion failure in PThreadLockChecker
When the implementations of the locking functions are available.
Differential Revision: https://reviews.llvm.org/D74003
The file was addedclang/test/Analysis/fuchsia_lock_impl.c
The file was modifiedclang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp
Commit 64871f778d528b34aabeae6286711a61ad9ea7ee by andydavis
[mlir] Adds affine loop fusion transformation function to
LoopFusionUtils.
Summary: Adds affine loop fusion transformation function to
LoopFusionUtils. Updates TestLoopFusion utility to run loop fusion
transformation until a fixed point is reached. Adds unit tests to test
the transformation.
Reviewers: bondhugula, dcaballe, nicolasvasilache
Reviewed By: bondhugula, dcaballe
Subscribers: Joonsoo, merge_guards_bot, mehdi_amini, rriddle, jpienaar,
burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox,
aartbik, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73190
The file was addedmlir/test/Transforms/loop-fusion-transformation.mlir
The file was modifiedmlir/lib/Transforms/Utils/LoopFusionUtils.cpp
The file was modifiedmlir/test/lib/Transforms/TestLoopFusion.cpp
The file was modifiedmlir/include/mlir/Transforms/LoopFusionUtils.h
Commit 5389ca7a1fb3b760013c1c5e53768f570a5e53f7 by huihuiz
[ConstantFold][NFC] Move scalable vector unit tests under vscale.ll
The file was removedllvm/test/Analysis/ConstantFolding/insertelement.ll
The file was removedllvm/test/Analysis/ConstantFolding/shufflevector.ll
The file was modifiedllvm/test/Analysis/ConstantFolding/vscale.ll
The file was removedllvm/test/Analysis/ConstantFolding/bitcast.ll
Commit 97edc0dc9355be8771c3b6ae4efe19b23664d06d by Jonas Devlieghere
[lldb/Test] Mark heap-cstr.test as requiring Python
The file was modifiedlldb/test/Shell/Heap/heap-cstr.test
Commit 014ea9337624fe20aca8892e73b6b3f741d8da9e by labath
[lldb] Remove "print xml" from TestWasm.py
It's not py3 compatible, and the test should not be printing this to
stdout
(unless in --trace mode) anyway.
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestWasm.py
Commit 643dee903cebdfc5e0101d305add6a5235211465 by xazax
[analyzer] Move fuchsia.Lock checker to alpha
Differential Revision: https://reviews.llvm.org/D74004
The file was modifiedclang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Checkers/Checkers.td
The file was modifiedclang/test/Analysis/fuchsia_lock.c
The file was modifiedclang/test/Analysis/fuchsia_lock_impl.c
Commit f9efce1dd5ceef7ed594f42d207b13bb6c9f1b6e by andydavis
[mlir][VectorOps] Support vector transfer_read/write unrolling for
memrefs with vector element type.
Summary:
[mlir][VectorOps] Support vector transfer_read/write unrolling for
memrefs with vector element type.  When unrolling vector transfer
read/write on memrefs with vector element type, the indices used to
index the memref argument must be updated to reflect the unrolled
operation.   However, in the case of memrefs with vector element type,
we need to be careful to only update the relevant memref indices.
For example, a vector transfer read with the following source/result
types, memref<6x2x1xvector<2x4xf32>>, vector<2x1x2x4xf32>, should only
update memref indices 1 and 2 during unrolling.
Reviewers: nicolasvasilache, aartbik
Reviewed By: nicolasvasilache, aartbik
Subscribers: lebedev.ri, Joonsoo, merge_guards_bot, mehdi_amini,
rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob,
mgester, lucyrfox, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72965
The file was modifiedmlir/lib/Dialect/VectorOps/VectorTransforms.cpp
The file was modifiedmlir/test/Dialect/VectorOps/vector-transforms.mlir
Commit 40efa65de804b42e14356fc8fcfaa79d9dbcdb02 by labath
Revert "[LLDB] Add DynamicLoaderWasmDYLD plugin for WebAssembly
debugging"
This patch has a couple of outstanding issues. The test is not python3
compatible, and it also seems to fail with python2 (at least under some
circumstances) due to an overambitious assertion.
This reverts the patch as well as subsequent fixup attempts:
014ea9337624fe20aca8892e73b6b3f741d8da9e,
f5f70d1c8fbf12249b4b9598f10a10f12d4db029.
4697e701b8cb40429818609814c7422e49b2ee07.
5c15e8e682e365b3a7fcf35200df79f3fb93b924.
3ec28da6d6430a00b46780555a87acd43fcab790.
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/test_sym.yaml
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/test_wasm_external_debug_sections.yaml
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.cpp
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
The file was modifiedlldb/test/Shell/ObjectFile/wasm/unified-debug-sections.yaml
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestWasm.py
The file was modifiedlldb/test/Shell/ObjectFile/wasm/basic.yaml
The file was modifiedlldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.h
The file was modifiedlldb/test/Shell/ObjectFile/wasm/stripped-debug-sections.yaml
The file was removedlldb/source/Plugins/DynamicLoader/wasm-DYLD/DynamicLoaderWasmDYLD.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/CMakeLists.txt
The file was modifiedlldb/test/Shell/ObjectFile/wasm/embedded-debug-sections.yaml
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/test_wasm_embedded_debug_sections.yaml
The file was removedlldb/source/Plugins/DynamicLoader/wasm-DYLD/CMakeLists.txt
The file was removedlldb/source/Plugins/DynamicLoader/wasm-DYLD/DynamicLoaderWasmDYLD.h
Commit 0c3b2986ac6b71abc649811c3ec9cb0bf073c7d8 by 31459023+hctim
[GWP-ASan] Change crash handler constant.
Constant is too large to fit into uintptr_t on 32-bit.
The file was modifiedcompiler-rt/lib/gwp_asan/tests/crash_handler_api.cpp
Commit 6e2309d7fae29097c0c8ca90e909e238c0cebe31 by ajcbik
[mlir] [VectorOps] generalized vector.contract semantics
Summary: Previously, vector.contract did not allow an empty set of free
or batch dimensions (K = 0) which defines a basic reduction into a
scalar (like a dot product). This CL relaxes that restriction. Also adds
constraints on element type of operands and results. With tests.
Reviewers: nicolasvasilache, andydavis1, rriddle
Reviewed By: andydavis1
Subscribers: merge_guards_bot, mehdi_amini, rriddle, jpienaar, burmako,
shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester,
lucyrfox, liufengdb, Joonsoo, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D74014
The file was modifiedmlir/lib/Dialect/VectorOps/VectorOps.cpp
The file was modifiedmlir/test/Dialect/VectorOps/invalid.mlir
The file was modifiedmlir/test/Dialect/VectorOps/ops.mlir
The file was modifiedmlir/include/mlir/Dialect/VectorOps/VectorOps.td
Commit 0bfc4890931943388b6c9f5aae3d036668093c92 by 31459023+hctim
[GWP-ASan] Fix unused variables from crash handler + clang-format
Summary: NFC - See title
Reviewers: eugenis
Reviewed By: eugenis
Subscribers: merge_guards_bot, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D74100
The file was modifiedcompiler-rt/lib/gwp_asan/definitions.h
The file was modifiedcompiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/crash_handler.h
The file was modifiedcompiler-rt/lib/gwp_asan/tests/crash_handler_api.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/crash_handler.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/optional/segv_handler_posix.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/tests/harness.h
Commit c3f0ed7bccaf4a62bb440ba145ada521492a1327 by riddleriver
[mlir] Register the GDB listener with ExecutionEngine to enable
debugging JIT'd code
Differential Revision: https://reviews.llvm.org/D73932
The file was modifiedmlir/include/mlir/ExecutionEngine/ExecutionEngine.h
The file was modifiedmlir/lib/ExecutionEngine/ExecutionEngine.cpp
Commit c33d6970e0172ffc6b61900c21dce8c7bda7d792 by riddleriver
[mlir] Add support for basic location translation to LLVM.
Summary: This revision adds basic support for emitting line table
information when exporting to LLVMIR. We don't yet have a story for
supporting all of the LLVM debug metadata, so this revision stubs some
features(like subprograms) to enable emitting line tables.
Differential Revision: https://reviews.llvm.org/D73934
The file was modifiedmlir/test/Target/llvmir.mlir
The file was modifiedmlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp
The file was modifiedmlir/include/mlir/Target/LLVMIR/ModuleTranslation.h
The file was modifiedmlir/tools/mlir-cuda-runner/mlir-cuda-runner.cpp
The file was addedmlir/test/Target/llvmir-debug.mlir
The file was addedmlir/lib/Target/LLVMIR/DebugTranslation.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ConvertToNVVMIR.cpp
The file was modifiedmlir/lib/Transforms/StripDebugInfo.cpp
The file was addedmlir/lib/Target/LLVMIR/DebugTranslation.h
The file was modifiedmlir/lib/Target/CMakeLists.txt
The file was modifiedmlir/include/mlir/Transforms/Passes.h
Commit 00b3d49d3a86490f0596100b23cd2c3a49334c75 by phosek
[CMake] Link against ZLIB::ZLIB
This is the imported target that find_package(ZLIB) defines.
The file was modifiedllvm/lib/Support/CMakeLists.txt
Commit 93dc8bd26708ba5fb8b83b65c40ed840ef76730d by riddleriver
[mlir] Add explicit friendship to LLVM::ModuleTranslation to derived
classes.
This allows for the `LLVM::ModuleTranslation::translateModule` to
properly access the constructors of the derived classes.
The file was modifiedmlir/lib/Target/LLVMIR/ConvertToNVVMIR.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp
Commit ccf900fc932098c1bbaa6e43a94b4423c60bf53e by Jason Molenda
Two more small fixes for debugserver attach failure messaging.
The developer mode check is now working.
Add another check for user id mismatch, e.g. a regular user trying to
attach to something running as root, and describe the problem for the
user.
The file was modifiedlldb/tools/debugserver/source/RNBRemote.cpp
Commit 25aa2eef993e17708889abf56ed1ffad5074a9f4 by tejohnson
Revert "[WPD/LowerTypeTests] Delay lowering/removal of type tests until
after ICP"
This reverts commit 748bb5a0f1964d20dfb3891b0948ab6c66236c70.
Due to Chromium CFI+ThinLTO test crashes reported on patch.
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndexYAML.h
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/branch-funnel.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/import-indir.ll
The file was modifiedllvm/lib/Transforms/IPO/LowerTypeTests.cpp
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-unique-ret-val.ll
The file was modifiedllvm/test/Bitcode/summary_version.ll
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndex.h
The file was modifiedllvm/test/Other/new-pm-lto-defaults.ll
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-defaults.ll
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/lib/Transforms/IPO/PassManagerBuilder.cpp
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-uniform-ret-val.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-vcp.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/devirt-single-impl2.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-single-impl.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/uniform-retval.ll
Commit 2f025bb87c33a25e3a0d226cdb663f237ccd602e by Jonas Devlieghere
[lldb/Reproducers] Implement custom replayers for (char *, size_t)
Some SB API methods returns strings through a char* and a length. This
is a problem for the deserializer, which considers a single type at a
time, and therefore cannot know how many bytes to allocate for the
character buffer.
We can solve this problem by implementing a custom replayer, which
ignores the passed-in char* and allocates a buffer of the correct size
itself, before invoking the original API method or function.
This patch adds three new macros to register a custom replayer for
methods that take a char* and a size_t. It supports arbitrary return
values (some functions return a bool while others return a size_t).
The file was modifiedlldb/include/lldb/Utility/ReproducerInstrumentation.h
The file was modifiedlldb/source/API/SBStructuredData.cpp
The file was modifiedlldb/source/API/SBThread.cpp
The file was modifiedlldb/source/API/SBFileSpec.cpp
The file was modifiedlldb/source/API/SBProcess.cpp
The file was modifiedlldb/source/API/SBDebugger.cpp