SuccessChanges

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

Summary

  1. [SCEV] Move ScalarEvolutionExpander.cpp to Transforms/Utils (NFC). (details)
  2. [gold-plugin] Unbreak the build after d9b9ce6c04764275a23cd0cf1856a35aae921af7 (details)
  3. [gn build] Port bcbd26bfe61 (details)
  4. [lldb][NFC] Modernize TestCPPStaticMethods (details)
  5. [yaml2obj] - Implement the "Offset" property for the Fill Chunk. (details)
  6. Revert "[lldb/test] Move "DataFormatters/Mock.h" to "Plugins/Language/ObjC/Utilities.h"" (details)
  7. Revert "Silence warnings around int/float conversions." (details)
  8. Revert "[lldb/test] Disable NSDate format check under _WIN32" (details)
  9. Revert "[lldb/test] Relax NSDate mock test for non-Apple platforms" (details)
  10. Revert "[lldb/DataFormatter] Check for overflow when finding NSDate epoch" (details)
  11. [NFCI][CostModel] Refactor getIntrinsicInstrCost (details)
  12. [Polly] Update ScalarEvolutionExpander.h include. (details)
  13. [Target][ARM] Make Low Overhead Loops coexist with VPT blocks. (details)
  14. [mlir] Add custom assembly formats to shape.witness ops. (details)
  15. Revert "[lldb-server] Reset stop reason of all threads when resuming" (details)
Commit bcbd26bfe61a35e31b1f7e98b5761a1055273b69 by flo
[SCEV] Move ScalarEvolutionExpander.cpp to Transforms/Utils (NFC).

SCEVExpander modifies the underlying function so it is more suitable in
Transforms/Utils, rather than Analysis. This allows using other
transform utils in SCEVExpander.

This patch was originally committed as b8a3c34eee06, but broke the
modules build, as LoopAccessAnalysis was using the Expander.

The code-gen part of LAA was moved to lib/Transforms recently, so this
patch can be landed again.

Reviewers: sanjoy.google, efriedma, reames

Reviewed By: sanjoy.google

Differential Revision: https://reviews.llvm.org/D71537
The file was modifiedllvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
The file was addedllvm/unittests/Transforms/Utils/ScalarEvolutionExpanderTest.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopLoadElimination.cpp
The file was addedllvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
The file was modifiedllvm/unittests/Transforms/Utils/CodeMoverUtilsTest.cpp
The file was modifiedllvm/lib/Analysis/CMakeLists.txt
The file was modifiedllvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopRerollPass.cpp
The file was modifiedllvm/lib/Transforms/Utils/CMakeLists.txt
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was removedllvm/lib/Analysis/ScalarEvolutionExpander.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopPredication.cpp
The file was modifiedllvm/lib/CodeGen/HardwareLoops.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopVersioning.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was modifiedllvm/lib/Transforms/Utils/SimplifyIndVar.cpp
The file was modifiedllvm/unittests/Analysis/ScalarEvolutionTest.cpp
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp
The file was addedllvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
The file was removedllvm/include/llvm/Analysis/ScalarEvolutionExpander.h
The file was modifiedllvm/lib/Target/ARM/MVETailPredication.cpp
The file was modifiedllvm/unittests/Transforms/Utils/CMakeLists.txt
Commit 1219221f9ca165306e13d375e05682241d857c1c by benny.kra
[gold-plugin] Unbreak the build after d9b9ce6c04764275a23cd0cf1856a35aae921af7
The file was modifiedllvm/tools/gold/gold-plugin.cpp
Commit aafdeeade8de2fda03b046dc8906bf4d4f4539f0 by llvmgnsyncbot
[gn build] Port bcbd26bfe61
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Transforms/Utils/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn
Commit 4bee2afcd7ea10c9f58f6172924f822849fed8f9 by Raphael Isemann
[lldb][NFC] Modernize TestCPPStaticMethods

Now with LLVM code style and expect_expr for checking. Also some minor changes
to be more similar to the structure we use in other tests.
The file was modifiedlldb/test/API/lang/cpp/static_methods/main.cpp
The file was modifiedlldb/test/API/lang/cpp/static_methods/TestCPPStaticMethods.py
Commit baf32259872190feac080ea83381aef545157949 by grimar
[yaml2obj] - Implement the "Offset" property for the Fill Chunk.

Similar to a regular section chunk, a Fill should have this property.
This patch implements it.

Differential revision: https://reviews.llvm.org/D80190
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was modifiedllvm/test/tools/yaml2obj/ELF/custom-fill.yaml
Commit 79fcd35c688b94becadd162a6c37e9b95df5c084 by gribozavr
Revert "[lldb/test] Move "DataFormatters/Mock.h" to "Plugins/Language/ObjC/Utilities.h""

This reverts commit 82dbf4aca84ec889d0dc390674ff44e30441bcfd. It is a
follow-up to b783f70a42575a5d9147bea1ac97e872370fe55b, which I'm
reverting -- see the explanation in that revert.
The file was removedlldb/unittests/Language/ObjC/UtilitiesTests.cpp
The file was removedlldb/unittests/Language/ObjC/CMakeLists.txt
The file was addedlldb/include/lldb/DataFormatters/Mock.h
The file was modifiedlldb/source/Plugins/Language/ObjC/Cocoa.cpp
The file was removedlldb/source/Plugins/Language/ObjC/Utilities.h
The file was modifiedlldb/unittests/Language/CMakeLists.txt
The file was addedlldb/unittests/DataFormatter/MockTests.cpp
The file was modifiedlldb/unittests/DataFormatter/CMakeLists.txt
Commit 23f29b2fcc5668c51f15809067a1c3503b422c64 by gribozavr
Revert "Silence warnings around int/float conversions."

This reverts commit 15ee8a3a58223b48afbe33cb60084f864ef20889. It is a
follow-up to b783f70a42575a5d9147bea1ac97e872370fe55b, which I'm
reverting -- see the explanation in that revert.
The file was modifiedlldb/source/Plugins/Language/ObjC/Cocoa.cpp
The file was modifiedlldb/unittests/DataFormatter/MockTests.cpp
Commit f67f9e86e86e68d4cbc05ef8d6ffd0cb33246d45 by gribozavr
Revert "[lldb/test] Disable NSDate format check under _WIN32"

This reverts commit e3aa4cd9dbcee6441f51102e3958c35321698c67. It is a
follow-up to b783f70a42575a5d9147bea1ac97e872370fe55b, which I'm
reverting -- see the explanation in that revert.
The file was modifiedlldb/unittests/DataFormatter/MockTests.cpp
Commit 0f1195a58648998d21bcfa1575a78a4706eaa52c by gribozavr
Revert "[lldb/test] Relax NSDate mock test for non-Apple platforms"

This reverts commit fff3a8464d4d518c7086c928fba967908eb294d7. It is a
follow-up to b783f70a42575a5d9147bea1ac97e872370fe55b, which I'm
reverting -- see the explanation in that revert.
The file was modifiedlldb/unittests/DataFormatter/MockTests.cpp
Commit 8214eff467f583309e9fbb971862d3c1cdcc65e4 by gribozavr
Revert "[lldb/DataFormatter] Check for overflow when finding NSDate epoch"

This reverts commit b783f70a42575a5d9147bea1ac97e872370fe55b. This
change had multiple issues which required post-commit fixups, and not
all issues are fixed yet. In particular, the LLDB build bot for ARM is
still broken. There is also an ongoing conversation in the original
phabricator review about whether there is undefined behavior in the
code.
The file was removedlldb/unittests/DataFormatter/MockTests.cpp
The file was removedlldb/include/lldb/DataFormatters/Mock.h
The file was modifiedlldb/source/Plugins/Language/ObjC/Cocoa.cpp
The file was modifiedlldb/unittests/DataFormatter/CMakeLists.txt
Commit 8cc911fa5b06f055430d006d0640248fcac2a101 by sam.parker
[NFCI][CostModel] Refactor getIntrinsicInstrCost

Combine the two API calls into one by introducing a structure to hold
the relevant data. This has the added benefit of moving the boiler
plate code for arguments and flags, into the constructors. This is
intended to be a non-functional change, but the complicated web of
logic involved here makes it very hard to guarantee.

Differential Revision: https://reviews.llvm.org/D79941
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.h
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Analysis/TargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfo.h
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
Commit 7004a621a01063234427ade75883db0bf3e6283f by flo
[Polly] Update ScalarEvolutionExpander.h include.
The file was modifiedpolly/lib/Support/ScopHelper.cpp
Commit 835251f7d99a6ff8d396fa019dcddb87a958b15f by pierre.vanhoutryve
[Target][ARM] Make Low Overhead Loops coexist with VPT blocks.

Previously, the LowOverheadLoops pass couldn't handle VPT blocks
with conditions, or with multiple VCTPs. This patch improves the
LowOverheadLoops pass so it can handle those cases.

It also adds support for VCMPs before the VCTP.

Differential Revision: https://reviews.llvm.org/D78206
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/cond-vector-reduce-mve-codegen.ll
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-in-vpt-2.mir
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vpt-blocks.mir
Commit 02035580d3b5a4dad081704a70ceb269e9264619 by tpopp
[mlir] Add custom assembly formats to shape.witness ops.

The assembly formats are essentially the generic forms without
quotations and type information.

Differential Revision: https://reviews.llvm.org/D80180
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
The file was modifiedmlir/test/Dialect/Shape/ops.mlir
Commit 587f81f54a3abab88fe9be5f113c74fc12655ee0 by Raphael Isemann
Revert "[lldb-server] Reset stop reason of all threads when resuming"

This reverts commit 56de738d18e11c86169f0248b97b2854c37e35ce.

This broke the aarch64 bot. Reverting on behalf of jarin.
The file was modifiedlldb/source/Plugins/Process/Linux/NativeThreadLinux.h
The file was removedlldb/test/API/functionalities/thread/break_step_other/Makefile
The file was modifiedlldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
The file was removedlldb/test/API/functionalities/thread/break_step_other/TestThreadBreakStepOther.py
The file was removedlldb/test/API/functionalities/thread/break_step_other/main.cpp
The file was modifiedlldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp