SuccessChanges

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

Summary

  1. [Support] Add mathematical constants (details)
  2. [AMDGPU] Use math constants defined in MathExtras (NFC) (details)
  3. [ConstProp] add tests for extractelement with undef index; NFC (details)
  4. [sanitizer] Use raise() in test and cover more signals (details)
  5. [test] Skip entry value test when clang < 10.0.0 (details)
  6. [sanitizer] Make signal_name a C test (details)
  7. [Docs] Adds Documentation links to sidebar (details)
  8. [utils] Update lldb-dotest for new test layout (details)
  9. [CMake] Fix add_lldb_test_dependency (details)
  10. Skip Apple simulator test for all remote testing scenarios. (details)
  11. [Clang][OpenMP Offload] Add new tool for wrapping offload device (details)
  12. [sanitizer] Disable signal_trap_handler on s390 (details)
  13. [System Model] [TTI] Fix virtual destructor warning (details)
  14. [System Model] [TTI] Define AMDGPUTTIImpl::getST and (details)
  15. [sanitizer, NFC] Fix grammar in comment (details)
  16. [OPENMP50]Fix scoring of contexts with and without user provided scores. (details)
  17. allow arbitrary python streams to be converted to SBFile (details)
  18. Revert "[lldb] Calculate relative path for symbol links" (details)
  19. [libFuzzer] Fix Alarm callback in fuchsia. (details)
  20. [LLDB] Remove standalone build dep on llvm-strip (details)
  21. [Docs] Adds section for Additional Topics on Reference page (details)
  22. [LLDB] Fix for regression of test (details)
  23. llvm-dwarfdump: Support multiple debug_loclists contributions (details)
  24. [SampleFDO] Add indexing for function profiles so they can be loaded on (details)
  25. TestHelloWorld: Make compatible with remote testing (details)
  26. [WebAssembly] Make returns variadic (details)
  27. [Reproducer] Add convenience methods IsCapturing and IsReplaying. (details)
  28. SBFile: add a bunch of tests that should eventually work. (details)
  29. SBFile support in SBCommandReturnObject (details)
  30. remove a smattering of isolated, unnecessary uses of FILE* (details)
  31. [IRBuilder] Update IRBuilder::CreateFNeg(...) to return a UnaryOperator (details)
  32. [AMDGPU] Fixed dpp combine of VOP1 (details)
  33. Fix a crasher due to an assert when two files have the same UUID but (details)
  34. [InstCombine] Fix PR43617 (details)
  35. [CMake] Use the correct lit.cfg.py (details)
  36. [GISel] Refactor and split PatternMatchTest. NFC (details)
  37. Set eRegisterKindEHFrame register numbers for 32 bit ARM register (details)
  38. [libc++][test] Miscellaneous MSVC cleanups (details)
  39. gn build: (manually) merge r374219 (details)
  40. [lldb] Put site-packages into a sub dir of CMAKE_CFG_INTDIR (details)
  41. Makefile.rules: add missing CODESIGN call (details)
  42. GlobalISel: Implement fewerElementsVector for G_BUILD_VECTOR (details)
  43. AMDGPU: Fix typos (details)
  44. AMDGPU: Relax register classes used (details)
  45. AMDGPU/GlobalISel: Fix crash on wide constant load with VGPR pointer (details)
  46. TestIndirectSymbols: Modernize the Makefile (details)
  47. AMDGPU: Don't fold copies to physregs (details)
  48. [sanitizer_common] Remove OnPrint from Go build. (details)
  49. [WebAssembly] Fix tests missed in rL374235 (details)
  50. gn build: Merge r374245 (details)
  51. Conservatively add volatility and atomic checks in a few places (details)
  52. TestMTCSimple.py: allow the test to run on Darwin embedded platforms (details)
  53. [CUDA][HIP] Fix host/device check with -fopenmp (details)
  54. Change debugserver to use the brk #0 for breakpoints. (details)
  55. [ASan] Do not misrepresent high value address dereferences as null (details)
  56. Use -fdebug-compilation-dir to form absolute paths in coverage mappings (details)
  57. [codeview] Try to avoid emitting .cv_loc with line zero (details)
  58. Revert [mangle] Fix mangling where an extra mangle context is required. (details)
  59. Re-land [mangle] Fix mangling where an extra mangle context is required. (details)
  60. dummy comment typo fix commit to cycle the bots (details)
  61. [libTooling] Move Transformer files to their own directory/library. (details)
  62. gn build: (manually) merge r374271 (details)
  63. [PowerPC] add testcase for ppc loop instr form prep - NFC (details)
  64. [sema] Revise `getCurrentMangleNumberContext` interface. NFC. (details)
  65. [lld][WebAssembly] Refactor markLive.cpp. NFC (details)
  66. [ast] Fix indentation. NFC. (details)
  67. Reland "[TextAPI] Introduce TBDv4" (details)
  68. gn build: Merge r374277 (details)
  69. [WebAssembly] Wrap definitions in namespace lld { namespace wasm {. NFC (details)
  70. [Attributor] Handle `null` differently in capture and alias logic (details)
  71. [Attributor][NFC] clang format (details)
  72. [X86] Add test case for trunc_packus_v16i32_v16i8 with avx512vl+avx512bw (details)
  73. AMDGPU: Use SGPR_128 instead of SReg_128 for vregs (details)
Commit e60415a0db2b1696c016ad21821cc2704ee18811 by e.menezes
[Support] Add mathematical constants
Add own version of the mathematical constants from the upcoming C++20
`std::numbers`.
Differential revision: https://reviews.llvm.org/D68257
llvm-svn: 374207
The file was modifiedllvm/include/llvm/Support/MathExtras.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
Commit c57a9dc487e3959337b72c0779f397174bb52c99 by e.menezes
[AMDGPU] Use math constants defined in MathExtras (NFC)
Use the the new math constants in `MathExtras.h`.
Differential revision: https://reviews.llvm.org/D68285
llvm-svn: 374208
The file was modifiedllvm/lib/Target/AMDGPU/R600ISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
Commit 232b9dc46a301c252c3c54543a3c67e13d517475 by spatel
[ConstProp] add tests for extractelement with undef index; NFC
llvm-svn: 374210
The file was modifiedllvm/test/Transforms/ConstProp/InsertElement.ll
Commit c3317658cf26471d78008c6f401d98e36f4fbdd7 by Vitaly Buka
[sanitizer] Use raise() in test and cover more signals
llvm-svn: 374211
The file was addedcompiler-rt/test/sanitizer_common/TestCases/Linux/signal_name.cpp
The file was removedcompiler-rt/test/sanitizer_common/TestCases/Linux/signal_trap.cpp
Commit c7cfa7c34e3ea9aa20288d2475ccb2ca85730605 by Vedant Kumar
[test] Skip entry value test when clang < 10.0.0
clang-9 emitted the wrong opcode for entry values on Darwin.
rdar://56119661
llvm-svn: 374212
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/param_entry_vals/basic_entry_values_x86_64/TestBasicEntryValuesX86_64.py
Commit 39f759189d51ea32e3010772e4e1409b62aa7ef9 by Vitaly Buka
[sanitizer] Make signal_name a C test
llvm-svn: 374213
The file was removedcompiler-rt/test/sanitizer_common/TestCases/Linux/signal_name.cpp
The file was addedcompiler-rt/test/sanitizer_common/TestCases/Linux/signal_name.c
Commit 02d264a54712badfb1886f4b692d51ad0259c0a6 by d4m1887
[Docs] Adds Documentation links to sidebar
Adds links to Getting Started/Tutorials, User Guides, and Reference
documentation pages to sidebar. Also adds a new section for LLVM IR on
the Reference documentation page.
llvm-svn: 374214
The file was modifiedllvm/docs/_templates/indexsidebar.html
The file was modifiedllvm/docs/GettingStartedTutorials.rst
The file was modifiedllvm/docs/Reference.rst
Commit be1c2902265edc578d3f652ebcdeac8fe1d045b7 by Jonas Devlieghere
[utils] Update lldb-dotest for new test layout
The path to dotest.py changed after the test directory reorganization.
llvm-svn: 374215
The file was modifiedlldb/utils/lldb-dotest/lldb-dotest.in
Commit d61ef7c46d11d31f5983ce87997244168d3b64e1 by Jonas Devlieghere
[CMake] Fix add_lldb_test_dependency
This function would ignore all but the first argument. Now it correctly
adds every dependency by iterating over its arguments.
llvm-svn: 374216
The file was modifiedlldb/test/CMakeLists.txt
The file was modifiedlldb/cmake/modules/AddLLDB.cmake
Commit 868b47fcbef1a116adf6668f24c2c3fcbfd57701 by Fred Riss
Skip Apple simulator test for all remote testing scenarios.
The test makes no sense to run remotely, period. The architecture of the
target is not the discriminant here.
llvm-svn: 374217
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/TestAppleSimulatorOSType.py
Commit a0d83768f10849e5cf230391fac949dc5118c0a6 by serguei.n.dmitriev
[Clang][OpenMP Offload] Add new tool for wrapping offload device
binaries
This patch removes the remaining part of the OpenMP offload linker
scripts which was used for inserting device binaries into the output
linked binary. Device binaries are now inserted into the host binary
with a help of the wrapper bit-code file which contains device binaries
as data. Wrapper bit-code file is dynamically created by the clang
driver with a help of new tool clang-offload-wrapper which takes device
binaries as input and produces bit-code file with required contents.
Wrapper bit-code is then compiled to an object and resulting object is
appended to the host linking by the clang driver.
This is the second part of the patch for eliminating OpenMP linker
script (please see https://reviews.llvm.org/D64943).
Differential Revision: https://reviews.llvm.org/D68166
llvm-svn: 374219
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was addedclang/test/Driver/clang-offload-wrapper.c
The file was modifiedclang/lib/Driver/Action.cpp
The file was addedclang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp
The file was modifiedclang/test/Driver/openmp-offload.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.h
The file was modifiedclang/include/clang/Driver/Action.h
The file was modifiedclang/test/Driver/openmp-offload-gpu.c
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
The file was addedclang/tools/clang-offload-wrapper/CMakeLists.txt
The file was modifiedclang/include/clang/Driver/ToolChain.h
The file was modifiedclang/tools/CMakeLists.txt
The file was modifiedclang/lib/Driver/ToolChains/Cuda.cpp
The file was modifiedclang/lib/Driver/ToolChain.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.h
Commit 3afc77dbbca937738a509700629eab6c6552e9dd by Vitaly Buka
[sanitizer] Disable signal_trap_handler on s390
llvm-svn: 374220
The file was modifiedcompiler-rt/test/sanitizer_common/TestCases/Linux/signal_trap_handler.cpp
Commit 2d85fd942a767cede7f8fa31244bab2158e13ddf by Vitaly Buka
[System Model] [TTI] Fix virtual destructor warning
llvm-svn: 374221
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
Commit c001144b10b7f11930ce1b0fe09850b55c6ce6a4 by Vitaly Buka
[System Model] [TTI] Define AMDGPUTTIImpl::getST and
AMDGPUTTIImpl::getTLI
To fix "infinite recursion" warning.
llvm-svn: 374222
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
Commit ff5a7c4ca6eadb5fd776a01b0e16800effcc8cfc by Vitaly Buka
[sanitizer, NFC] Fix grammar in comment
llvm-svn: 374223
The file was modifiedcompiler-rt/test/sanitizer_common/TestCases/Linux/signal_trap_handler.cpp
Commit adc38dcf5ff066ca5c445af023c6e75e32757bd9 by a.bataev
[OPENMP50]Fix scoring of contexts with and without user provided scores.
The context selector with user provided score must have higher score
than the context selector without user provided score.
llvm-svn: 374224
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/declare_variant_implementation_vendor_codegen.cpp
Commit 21b8a8ae27f3a374c55efce5a5637f732eb6595c by lawrence_danna
allow arbitrary python streams to be converted to SBFile
Summary: This patch adds SWIG typemaps that can convert arbitrary python
file objects into lldb_private::File.
A SBFile may be initialized from a python file using the constructor. 
There are also alternate, tagged constructors that allow python files to
be borrowed, and for the caller to control whether or not the python I/O
methods will be called even when a file descriptor is available.I
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: zturner, amccarth, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68188
llvm-svn: 374225
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
The file was modifiedlldb/scripts/interface/SBFile.i
The file was modifiedlldb/source/API/SBFile.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/include/lldb/API/SBFile.h
The file was modifiedlldb/scripts/Python/python-typemaps.swig
Commit c0da1282fc036908cc721ee74f574fbb99d5e506 by jingham
Revert "[lldb] Calculate relative path for symbol links"
This reverts commit 958091c209d0a92e38b9cb27fb77a0ff7da11853.
This commit incorrectly sets the _lldb.so symlink (at least it does when
building in Stefans' two build directory mode, where you build llvm with
cmake/ninja and lldb with cmake/Xcode, using a cmake generated project.
The _lldb.so link is SUPPOSED to point to:
bin/LLDB.framework/Versions/A/LLDB
but instead it points to
bin/LLDB
which is where LLDB was staged to before constructing the framework.
This causes all sorts of problems when we then build the lldb driver
into bin - remember that MacOS is a case-preserving but case insensitive
filesystem - so when we later go to dlopen _lldb.so, we dlopen the main
executable instead.
llvm-svn: 374226
The file was modifiedlldb/scripts/Python/finishSwigPythonLLDB.py
Commit e7bfce78636905d58300bea42861f2f35acdda77 by jakehehrlich
[libFuzzer] Fix Alarm callback in fuchsia.
This patch adds an #if macro to skip the InFuzzingThread() comparison
for fuchsia, similar to what it is done for Windows and NetBSD.
In fuchsia, the alarm callback runs in a separate thread[0], making it
fail the comparison InFuzzingThread(), breaking the -timeout flag.
[0]:
https://github.com/llvm/llvm-project/blob/master/compiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp#L323
Author: charco (aka Marco  Vanotti) Differential Revision:
https://reviews.llvm.org/D68166
llvm-svn: 374228
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerLoop.cpp
Commit 988ad419484811d6289c56ba365d2f276f11c0e9 by Jonas Devlieghere
[LLDB] Remove standalone build dep on llvm-strip
When building standalone, since llvm-strip is a symlink, it is created
using add_custom_command/add_custom_target which cannot be exported, and
thus cannot be depended on by lldb.
Patch by: Gwen Mittertreiner
Differential revision: https://reviews.llvm.org/D68614
llvm-svn: 374229
The file was modifiedlldb/test/CMakeLists.txt
Commit edbb895b181dc402c50273a1dcfed60cf67cad43 by d4m1887
[Docs] Adds section for Additional Topics on Reference page
Adds a new section for Additional Topics on the Reference documentation
page. Also moves Support Library topic to User Guides page.
llvm-svn: 374230
The file was modifiedllvm/docs/Reference.rst
The file was modifiedllvm/docs/UserGuides.rst
Commit 745e57c5939e289789b9171e118b09c3c59c572a by cameron
[LLDB] Fix for regression of test
'TestDataFormatterInvalidStdUniquePtr.py' introduced in r374195
Differential Revision: https://reviews.llvm.org/D68641
llvm-svn: 374231
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/LibStdcppUniquePointer.cpp
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/LibCxxTuple.cpp
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/LibStdcppTuple.cpp
Commit 411497c6c714d43f30c6942ca0e98ecc0e800744 by dblaikie
llvm-dwarfdump: Support multiple debug_loclists contributions
Also fixing the incorrect "offset" field being computed/printed for each
location list.
llvm-svn: 374232
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-debug-loclists.test
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
The file was addedllvm/test/tools/llvm-dwarfdump/X86/debug_loclists_multiple.s
The file was modifiedllvm/test/CodeGen/X86/debug-loclists.ll
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_loclists_startx_length.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
Commit 09dcfe68057082207f47da230c1c2618ce3aadca by wmi
[SampleFDO] Add indexing for function profiles so they can be loaded on
demand in ExtBinary format
Currently for Text, Binary and ExtBinary format profiles, when we
compile a module with samplefdo, even if there is no function showing up
in the profile, we have to load all the function profiles from the
profile input. That is a waste of compile time.
CompactBinary format profile has already had the support of loading
function profiles on demand. In this patch, we add the support to load
profile on demand for ExtBinary format. It will work no matter the
sections in ExtBinary format profile are compressed or not. Experiment
shows it reduces the time to compile a server benchmark by 30%.
When profile remapping and loading function profiles on demand are both
used, extra work needs to be done so that the loading on demand process
will take the name remapping into consideration. It will be addressed in
a follow-up patch.
Differential Revision: https://reviews.llvm.org/D68601
llvm-svn: 374233
The file was modifiedllvm/test/Transforms/SampleProfile/Inputs/inline.extbinary.afdo
The file was modifiedllvm/test/Transforms/SampleProfile/Inputs/profsampleacc.extbinary.afdo
The file was modifiedllvm/lib/ProfileData/SampleProfWriter.cpp
The file was modifiedllvm/unittests/ProfileData/SampleProfTest.cpp
The file was modifiedllvm/include/llvm/ProfileData/SampleProfReader.h
The file was modifiedllvm/lib/ProfileData/SampleProfReader.cpp
The file was modifiedllvm/include/llvm/ProfileData/SampleProf.h
The file was modifiedllvm/include/llvm/ProfileData/SampleProfWriter.h
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
Commit ffb26d9c7830f0f957caca155c2c56e173043906 by Fred Riss
TestHelloWorld: Make compatible with remote testing
The synchronization token handling was not remote-friendly.
llvm-svn: 374234
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py
Commit 00f9e5aa76f4932098da375545ee144d884eced3 by tlively
[WebAssembly] Make returns variadic
Summary: This is necessary and sufficient to get simple cases of
multiple return working with multivalue enabled. More complex cases will
require block and loop signatures to be generalized to potentially be
type indices as well.
Reviewers: aheejin, dschuff
Subscribers: sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68684
llvm-svn: 374235
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/MIR/WebAssembly/int-type-register-class-name.mir
The file was modifiedllvm/test/CodeGen/WebAssembly/llround-conv-i32.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/reg-argument.mir
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyPeephole.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/atomic-fence.mir
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/multivalue.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/function-info.mir
The file was modifiedllvm/test/CodeGen/WebAssembly/explicit-locals.mir
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/eh-labels.mir
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
The file was modifiedllvm/test/DebugInfo/WebAssembly/dbg-value-move-reg-stackify.mir
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/reg-copy.mir
The file was modifiedllvm/test/DebugInfo/WebAssembly/dbg-value-move-clone.mir
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
Commit 865cd0932f4483058ccc607b8867a4a5a597ec52 by Jonas Devlieghere
[Reproducer] Add convenience methods IsCapturing and IsReplaying.
Add convenience methods to the Reproducer class for when you don't need
access to the generator and the loader.
llvm-svn: 374236
The file was modifiedlldb/include/lldb/Utility/Reproducer.h
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
Commit b24022cd723f47c8dd5e78ed7b210c1b6287ff42 by lawrence_danna
SBFile: add a bunch of tests that should eventually work.
Summary: It's really annoying and confusing to have to keep referring
back to earlier versions of this SBFile work to find the tests that need
to be added for each patch, and not duplicate them with new tests.
This patch just imports all my tests.   A bunch of them don't work yet,
so they are marked to be skipped.   They'll be unmarked as I fix them.
One of these tests will actually trip an assert in the SWIG code now
instead of just failing, so I'm fixing that here too.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: JDevlieghere, labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68433
llvm-svn: 374237
The file was modifiedlldb/scripts/Python/python-typemaps.swig
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
Commit 9eb13719236458cd0c035ebbe882cfbf0add7bfc by lawrence_danna
SBFile support in SBCommandReturnObject
Summary: This patch add SBFile interfaces to SBCommandReturnObject, and
removes the internal callers of its FILE* interfaces.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: JDevlieghere
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68434
llvm-svn: 374238
The file was modifiedlldb/include/lldb/API/SBCommandReturnObject.h
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
The file was modifiedlldb/include/lldb/Interpreter/CommandReturnObject.h
The file was modifiedlldb/include/lldb/Utility/ReproducerInstrumentation.h
The file was modifiedlldb/tools/driver/Driver.cpp
The file was modifiedlldb/include/lldb/API/SBFile.h
The file was modifiedlldb/scripts/interface/SBCommandReturnObject.i
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/source/API/SBCommandReturnObject.cpp
The file was modifiedlldb/source/API/SBFile.cpp
The file was modifiedlldb/source/API/SBDebugger.cpp
Commit 5da2bc22badde8748a71b1e8ad1ef0bd8e2ce386 by lawrence_danna
remove a smattering of isolated, unnecessary uses of FILE*
Summary: There a a few call sites that use FILE* which are easy to fix
without disrupting anything else.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: JDevlieghere, labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68444
llvm-svn: 374239
The file was modifiedlldb/source/Core/IOHandler.cpp
The file was modifiedlldb/source/Expression/REPL.cpp
The file was modifiedlldb/source/API/SBDebugger.cpp
Commit 47363a148f1d3003f0dd1cce234b60cdc8cc48bd by cameron.mcinally
[IRBuilder] Update IRBuilder::CreateFNeg(...) to return a UnaryOperator
Also update Clang to call Builder.CreateFNeg(...) for UnaryMinus.
Differential Revision: https://reviews.llvm.org/D61675
llvm-svn: 374240
The file was modifiedclang/test/CodeGen/zvector.c
The file was modifiedllvm/test/Transforms/InstCombine/fast-math.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/divrem24-assume.ll
The file was modifiedclang/test/CodeGen/aarch64-v8.2a-fp16-intrinsics.c
The file was modifiedclang/test/CodeGen/fma-builtins.c
The file was modifiedclang/test/CodeGen/aarch64-neon-misc.c
The file was modifiedllvm/test/Transforms/InstCombine/cos-1.ll
The file was modifiedclang/test/CodeGen/builtins-ppc-vsx.c
The file was modifiedclang/test/CodeGen/fp16-ops.c
The file was modifiedclang/test/CodeGen/avx512vl-builtins.c
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedllvm/test/Transforms/InstCombine/fmul.ll
The file was modifiedllvm/unittests/IR/InstructionsTest.cpp
The file was modifiedclang/test/CodeGen/aarch64-v8.2a-neon-intrinsics.c
The file was modifiedclang/test/CodeGen/aarch64-neon-2velem.c
The file was modifiedclang/test/CodeGen/aarch64-neon-intrinsics.c
The file was modifiedclang/test/CodeGen/zvector2.c
The file was modifiedclang/test/CodeGen/exprs.c
The file was modifiedclang/test/CodeGen/aarch64-neon-fma.c
The file was modifiedllvm/test/Transforms/InstCombine/select-crash.ll
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/test/CodeGen/arm_neon_intrinsics.c
The file was modifiedclang/test/CodeGen/avx512f-builtins.c
The file was modifiedclang/test/CodeGen/complex-math.c
The file was modifiedclang/test/CodeGen/fma4-builtins.c
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
The file was modifiedclang/test/CodeGen/arm-v8.2a-neon-intrinsics.c
The file was modifiedclang/test/CodeGen/aarch64-neon-scalar-x-indexed-elem.c
Commit c6dec1d8288cd78ca0d6032551f826ce7a5bbc4e by Stanislav.Mekhanoshin
[AMDGPU] Fixed dpp combine of VOP1
If original instruction did not have source modifiers they were not
added to the new DPP instruction as well, even if needed.
Differential Revision: https://reviews.llvm.org/D68729
llvm-svn: 374241
The file was modifiedllvm/test/CodeGen/AMDGPU/dpp_combine.mir
The file was modifiedllvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
Commit 0156be59b45d3231ee0cb91eae3d68b8aaaed152 by clayborg
Fix a crasher due to an assert when two files have the same UUID but
different paths.
Summary: The PlaceholderObjectFile has an assert in SetLoadAddress that
fires if "m_base == value" is not true. To avoid this, we create check
that the base address matches, and if it doesn't we clear the module
that was found using the UUID so that we create a new
PlaceholderObjectFile. Added a test to cover this issue.
Reviewers: labath, aadsm, dvlahovski
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68106
llvm-svn: 374242
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/linux-arm-same-uuids.yaml
The file was modifiedlldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpUUID.py
Commit d2f4c452d9e60e2910753f4b03eaceb77c5a69a9 by e.menezes
[InstCombine] Fix PR43617
Check for `nullptr` before inspecting composite function.
llvm-svn: 374243
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
Commit f204914feea4c4abc8061520b9791a877e281c78 by Jonas Devlieghere
[CMake] Use the correct lit.cfg.py
llvm-svn: 374244
The file was modifiedlldb/test/CMakeLists.txt
Commit ff38448148d08e1701ae6361fffe7950b19ecf25 by hayarms
[GISel] Refactor and split PatternMatchTest. NFC
Split the ConstantFold part into a separate file and make it use the
fixture GISelMITest.
llvm-svn: 374245
The file was addedllvm/unittests/CodeGen/GlobalISel/ConstantFoldingTest.cpp
The file was modifiedllvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp
The file was modifiedllvm/unittests/CodeGen/GlobalISel/CMakeLists.txt
Commit dc9276b7d72342b4ddd8fff04ec8933dcdf375d4 by clayborg
Set eRegisterKindEHFrame register numbers for 32 bit ARM register
contexts in minidumps
Stack unwinding was sometimes failing when trying to unwind stacks in 32
bit ARM. I discovered this was because the EH frame register numbers
were not set. This patch fixes this issue and adds a unit test to verify
this doesn't regress.
Differential Revision: https://reviews.llvm.org/D68088
llvm-svn: 374246
The file was modifiedlldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM.cpp
The file was modifiedlldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM.h
The file was modifiedlldb/unittests/Process/minidump/RegisterContextMinidumpTest.cpp
Commit b2e3c83b0d64a7ac5c3da5829b4cc0374674f5d1 by Casey
[libc++][test] Miscellaneous MSVC cleanups
* Silence unused-local-typedef warnings:
`map.cons/assign_initializer_list.pass.cpp` (and the `set.cons` variant)
uses a local typedef only within `LIBCPP_ASSERT`s, so clang diagnoses it
as unused when testing non-libc++.
* Add missing include: `c.math/abs.pass.cpp` uses `std::numeric_limits`
but failed to `#include <limits>`.
* Don't test non-type: A "recent" change to
`meta.trans.other/underlying_type.pass.cpp` unconditionally tests the
type `F` which is conditionally defined.
* Use `hash<long long>` instead of `hash<short>` with `int` in
`unordered_meow` deduction guide tests to avoid truncation warnings.
* Convert `3.14` explicitly in `midpoint.float.pass` since MSVC
incorrectly diagnoses `float meow = 3.14;` as truncating.
Differential Revision: https://reviews.llvm.org/D68681
llvm-svn: 374248
The file was modifiedlibcxx/test/std/numerics/c.math/abs.pass.cpp
The file was modifiedlibcxx/test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.cnstr/deduct.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.float.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/map/map.cons/assign_initializer_list.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/set/set.cons/assign_initializer_list.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/unord.set.cnstr/deduct.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/deduct.pass.cpp
Commit b555ea5ff93826fa0220a2c90a623145a5406d0b by nicolasweber
gn build: (manually) merge r374219
llvm-svn: 374249
The file was addedllvm/utils/gn/secondary/clang/tools/clang-offload-wrapper/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/driver/BUILD.gn
Commit 1a509417714dbf658c04aabc66ff599a70f176cc by hhb
[lldb] Put site-packages into a sub dir of CMAKE_CFG_INTDIR
Summary: Fixes issue like D68719
Reviewers: tatyana-krasnukha
Subscribers: mgorny, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68728
llvm-svn: 374250
The file was modifiedlldb/CMakeLists.txt
Commit 0e891bcf797f3cde3e6ba0baa6b21ecb650f5a78 by Fred Riss
Makefile.rules: add missing CODESIGN call
When building an executable and a shared library at the same time (yes,
Makefile.rules is setup to do this!) the executable was not codesigned.
llvm-svn: 374251
The file was modifiedlldb/packages/Python/lldbsuite/test/make/Makefile.rules
Commit 3cd3959fe2794bf2c7d225f57cdb3f2622b0bc24 by Matthew.Arsenault
GlobalISel: Implement fewerElementsVector for G_BUILD_VECTOR
Turn it into a G_CONCAT_VECTORS of G_BUILD_VECTOR.
llvm-svn: 374252
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmul.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fminnum.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmad.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umin.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsub.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-flat.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ffloor.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsqrt.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fma.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-load-global.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-phi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-build-vector.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcos.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcanonicalize.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-extract.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-lshr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmaxnum.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir
Commit e114be608feb0878352ae2a41ded1bc4f3b9cb21 by Matthew.Arsenault
AMDGPU: Fix typos
llvm-svn: 374253
The file was modifiedllvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
Commit 001826835a9b1381776e7c1c3b0ab7c8979fe555 by Matthew.Arsenault
AMDGPU: Relax register classes used
llvm-svn: 374254
The file was modifiedllvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
Commit 85dfa82302238eddf66d9fdedf565ea4d4254136 by Matthew.Arsenault
AMDGPU/GlobalISel: Fix crash on wide constant load with VGPR pointer
This was ignoring the register bank of the input pointer, and
isUniformMMO seems overly aggressive.
This will now conservatively assume a VGPR in cases where the incoming
bank hasn't been determined yet (i.e. is from a loop phi).
llvm-svn: 374255
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-load.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit adc5043fa2749d2a38139e6429837651d4936569 by Fred Riss
TestIndirectSymbols: Modernize the Makefile
This old test used a completely hand-rolled Makefile. Modernize so that
it's able to cross-compile. And XFAIL the test as it fails on embedded
targets...
llvm-svn: 374256
The file was modifiedlldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py
The file was modifiedlldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/Makefile
Commit f8bf7d7f42f28fa18144091022236208e199f331 by Matthew.Arsenault
AMDGPU: Don't fold copies to physregs
In a future patch, this will help cleanup m0 handling.
The register coalescer handles copies from a register that materializes
an immediate, but doesn't handle move immediates itself. The virtual
register uses will often be allocated to the same register, so there end
up being no real copy.
llvm-svn: 374257
The file was modifiedllvm/lib/Target/AMDGPU/SIFoldOperands.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/stack-pointer-offset-relative-frameindex.ll
Commit da6cb7ba4c730e2b9ff4fc8508981483c20a0ab5 by mascasa
[sanitizer_common] Remove OnPrint from Go build.
Summary: Go now uses __sanitizer_on_print instead.
Reviewers: vitalybuka, dvyukov
Reviewed By: vitalybuka
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68621
llvm-svn: 374258
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_printf.cpp
Commit 3414bce07aa11458971608de99c64d0c76aa3e0b by tlively
[WebAssembly] Fix tests missed in rL374235
llvm-svn: 374259
The file was modifiedllvm/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp
The file was modifiedllvm/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid1.mir
The file was modifiedllvm/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid0.mir
Commit 04f1effb993c93973552cbc861038622395f0d0e by llvmgnsyncbot
gn build: Merge r374245
llvm-svn: 374260
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/CodeGen/GlobalISel/BUILD.gn
Commit 931120846e5f9c5ff9a70ee8a2fa4dfdd468f753 by listmail
Conservatively add volatility and atomic checks in a few places
As background, starting in D66309, I'm working on support unordered
atomics analogous to volatile flags on normal LoadSDNode/StoreSDNodes
for X86.
As part of that, I spent some time going through usages of LoadSDNode
and StoreSDNode looking for cases where we might have missed a
volatility check or need an atomic check. I couldn't find any cases that
clearly miscompile - i.e. no test cases - but a couple of pieces in code
loop suspicious though I can't figure out how to exercise them.
This patch adds defensive checks and asserts in the places my manual
audit found. If anyone has any ideas on how to either a) disprove any of
the checks, or b) hit the bug they might be fixing, I welcome
suggestions.
Differential Revision: https://reviews.llvm.org/D68419
llvm-svn: 374261
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 80b080723ff7f8a0097d76a322b241514a7f3864 by Fred Riss
TestMTCSimple.py: allow the test to run on Darwin embedded platforms
The test needed some updates to run using a different UI toolkit and
with a different libMTC, but it should run fine on a device.
llvm-svn: 374262
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbplatformutil.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/mtc/simple/main.m
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py
Commit 229c78d3a5d107e1f7436e5afda7b7c80d1da394 by Yaxun.Liu
[CUDA][HIP] Fix host/device check with -fopenmp
CUDA/HIP program may be compiled with -fopenmp. In this case, -fopenmp
is only passed to host compilation to take advantages of multi-threads
computation.
CUDA/HIP and OpenMP both use Sema::DeviceCallGraph to store functions to
be analyzed and remove them once they decide the function is sure to be
emitted. CUDA/HIP and OpenMP have different functions to determine if a
function is sure to be emitted.
To check host/device correctly for CUDA/HIP when -fopenmp is enabled,
there needs a unified logic to determine whether a function is to be
emitted. The logic needs to be aware of both CUDA and OpenMP logic.
Differential Revision: https://reviews.llvm.org/D67837
llvm-svn: 374263
The file was modifiedclang/lib/Sema/SemaCUDA.cpp
The file was modifiedclang/test/OpenMP/declare_target_messages.cpp
The file was modifiedclang/test/SemaCUDA/call-device-fn-from-host.cu
The file was addedclang/test/SemaCUDA/openmp-static-func.cu
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was addedclang/test/CodeGenCUDA/openmp-target.cu
The file was addedclang/test/SemaCUDA/openmp-target.cu
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/test/SemaCUDA/host-device-constexpr.cu
Commit d6e9e99cec95c83293c68d3b30534e34f53a1923 by Jason Molenda
Change debugserver to use the brk #0 for breakpoints.
debugserver had been using an instruction that would work for armv7 or
aarch64 processes, but we don't have armv7 code running on arm64 devices
any more so this is unnecessary.
<rdar://problem/56133118>
llvm-svn: 374264
The file was modifiedlldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp
Commit b577efe4567f1f6a711ad36e1d17280dd1c4f009 by jlettner
[ASan] Do not misrepresent high value address dereferences as null
dereferences
Dereferences with addresses above the 48-bit hardware addressable range
produce "invalid instruction" (instead of "invalid access") hardware
exceptions (there is no hardware address decoding logic for those bits),
and the address provided by this exception is the address of the
instruction (not the faulting address).  The kernel maps the "invalid
instruction" to SEGV, but fails to provide the real fault address.
Because of this ASan lies and says that those cases are null
dereferences.  This downgrades the severity of a found bug in terms of
security.  In the ASan signal handler, we can not provide the real
faulting address, but at least we can try not to lie.
rdar://50366151
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D68676
llvm-svn: 374265
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
The file was modifiedcompiler-rt/lib/asan/asan_errors.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
The file was addedcompiler-rt/test/asan/TestCases/Posix/high-address-dereference.c
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_win.cpp
Commit f6777964bde28c349d3e289ea37ecf5f5eeedbc4 by rnk
Use -fdebug-compilation-dir to form absolute paths in coverage mappings
This allows users to explicitly request relative paths with
`-fdebug-compilation-dir .`.
Fixes PR43614
Reviewers: vsk, arphaman
Differential Revision: https://reviews.llvm.org/D68733
llvm-svn: 374266
The file was modifiedclang/lib/CodeGen/CoverageMappingGen.cpp
The file was modifiedclang/lib/CodeGen/CoverageMappingGen.h
The file was addedclang/test/CoverageMapping/debug-dir.cpp
Commit 9d8f0b3519c4e9e4e2a3d3b19ea0caf9ef3f85ce by rnk
[codeview] Try to avoid emitting .cv_loc with line zero
Summary: Visual Studio doesn't like it while stepping. It kicks you out
of the source view of the file being stepped through and tries to fall
back to the disassembly view.
Fixes PR43530
The fix is incomplete, because it's possible to have a basic block with
no source locations at all. In this case, we don't emit a .cv_loc, but
that will result in wrong stepping behavior in the debugger if the
layout predecessor of the location-less BB has an unrelated source
location. We could try harder to find a valid location that dominates or
post-dominates the current BB, but in general it's a dataflow problem,
and one still might not exist. I left a FIXME about this.
As an alternative, we might want to consider having the middle-end check
if its emitting codeview and get it to stop using line zero.
Reviewers: akhuang
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68747
llvm-svn: 374267
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was addedllvm/test/DebugInfo/COFF/line-zero.ll
The file was modifiedllvm/test/DebugInfo/COFF/local-variables.ll
Commit c34385d07c7d59447bf836b740f032235391d121 by rnk
Revert [mangle] Fix mangling where an extra mangle context is required.
This reverts r374200 (git commit
fd18e94697c987d5f24e25aa4e27adaffff3cce4)
Causes crashes just compiling `int main() {}` on my machine.
llvm-svn: 374268
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/test/CodeGenCXX/mangle-lambdas.cpp
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/include/clang/Sema/Sema.h
Commit da2bde9e34df02a1c706425ec0bc85d4d49eebd5 by rnk
Re-land [mangle] Fix mangling where an extra mangle context is required.
This reverts r374268 (git commit
c34385d07c7d59447bf836b740f032235391d121)
I think I reverted this by mistake, so I'm relanding it. While my bisect
found this revision, I think the crashes I'm seeing locally must be
environmental. Maybe the version of clang I'm using miscompiles tot
clang.
llvm-svn: 374269
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/test/CodeGenCXX/mangle-lambdas.cpp
Commit 79a8476d4363912553d5165a055601bcd417e8ff by nicolasweber
dummy comment typo fix commit to cycle the bots
llvm-svn: 374270
The file was modifiedlld/COFF/ICF.cpp
The file was modifiedlld/COFF/InputFiles.cpp
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/COFF/DLL.cpp
The file was modifiedlld/COFF/MinGW.cpp
Commit fbdf83521b17c4683e4f819587000bbce71d928b by yitzhakm
[libTooling] Move Transformer files to their own directory/library.
Summary: The Transformer library has been growing inside of
lib/Tooling/Refactoring. However, it's not really related to anything
else in that directory. This revision moves all Transformer-related
files into their own include & lib directories.  A followup revision
will (temporarily) add forwarding headers to help any users migrate
their code to the new location.
Reviewers: gribozavr
Subscribers: mgorny, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68637
llvm-svn: 374271
The file was modifiedclang/lib/Tooling/Refactoring/CMakeLists.txt
The file was removedclang/lib/Tooling/Refactoring/Stencil.cpp
The file was addedclang/lib/Tooling/Transformer/SourceCodeBuilders.cpp
The file was addedclang/include/clang/Tooling/Transformer/Stencil.h
The file was addedclang/lib/Tooling/Transformer/SourceCode.cpp
The file was addedclang/include/clang/Tooling/Transformer/SourceCodeBuilders.h
The file was removedclang/lib/Tooling/Refactoring/SourceCodeBuilders.cpp
The file was removedclang/lib/Tooling/Refactoring/SourceCode.cpp
The file was removedclang/include/clang/Tooling/Refactoring/MatchConsumer.h
The file was removedclang/include/clang/Tooling/Refactoring/SourceCode.h
The file was modifiedclang/unittests/Tooling/SourceCodeBuildersTest.cpp
The file was modifiedclang/unittests/Tooling/SourceCodeTest.cpp
The file was modifiedclang/unittests/Tooling/TransformerTest.cpp
The file was addedclang/lib/Tooling/Transformer/Transformer.cpp
The file was removedclang/include/clang/Tooling/Refactoring/RangeSelector.h
The file was modifiedclang-tools-extra/clang-tidy/utils/TransformerClangTidyCheck.h
The file was modifiedclang-tools-extra/unittests/clang-tidy/TransformerClangTidyCheckTest.cpp
The file was removedclang/lib/Tooling/Refactoring/RangeSelector.cpp
The file was addedclang/lib/Tooling/Transformer/CMakeLists.txt
The file was modifiedclang/unittests/Tooling/StencilTest.cpp
The file was addedclang/include/clang/Tooling/Transformer/RangeSelector.h
The file was modifiedclang-tools-extra/clang-tidy/utils/CMakeLists.txt
The file was addedclang/include/clang/Tooling/Transformer/Transformer.h
The file was removedclang/include/clang/Tooling/Refactoring/SourceCodeBuilders.h
The file was removedclang/lib/Tooling/Refactoring/Transformer.cpp
The file was modifiedclang/unittests/Tooling/CMakeLists.txt
The file was modifiedclang-tools-extra/unittests/clang-tidy/CMakeLists.txt
The file was addedclang/include/clang/Tooling/Transformer/MatchConsumer.h
The file was modifiedclang/unittests/Tooling/RangeSelectorTest.cpp
The file was addedclang/lib/Tooling/Transformer/Stencil.cpp
The file was modifiedclang/lib/Tooling/CMakeLists.txt
The file was addedclang/include/clang/Tooling/Transformer/SourceCode.h
The file was addedclang/lib/Tooling/Transformer/RangeSelector.cpp
The file was removedclang/include/clang/Tooling/Refactoring/Transformer.h
The file was removedclang/include/clang/Tooling/Refactoring/Stencil.h
Commit 20fc20dfcfe5afd40c03c06ee4524809dfd0a3ad by nicolasweber
gn build: (manually) merge r374271
llvm-svn: 374272
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/utils/BUILD.gn
The file was addedllvm/utils/gn/secondary/clang/lib/Tooling/Transformer/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/unittests/Tooling/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/Tooling/Refactoring/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/unittests/clang-tidy/BUILD.gn
Commit 92e00293fd0e1cd77465c553a96c785cdb2a3516 by czhengsz
[PowerPC] add testcase for ppc loop instr form prep - NFC
llvm-svn: 374273
The file was addedllvm/test/CodeGen/PowerPC/loop-instr-form-prepare.ll
Commit e398def943821b77fd4711620dc831826ec21324 by michael.hliao
[sema] Revise `getCurrentMangleNumberContext` interface. NFC.
- Prefer returning mulitple values using a tuple instead of
additional pointers/references.
llvm-svn: 374274
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit ad2e12a3d99618e3ca0935e33d8400e38d531f7b by sbc
[lld][WebAssembly] Refactor markLive.cpp. NFC
This pattern matches the ELF implementation add if also useful as part
of a planned change where running `mark` more than once is needed.
Differential Revision: https://reviews.llvm.org/D68749
llvm-svn: 374275
The file was modifiedlld/wasm/MarkLive.cpp
Commit c752f5bce4cc524c9b808272ed9c7da67db61938 by michael.hliao
[ast] Fix indentation. NFC.
llvm-svn: 374276
The file was modifiedclang/include/clang/AST/Decl.h
Commit f9d8162b573df0765b22927da779537b132365c9 by cyndy_ishida
Reland "[TextAPI] Introduce TBDv4"
Original Patch broke for compilations w/ gcc and exposed asan fail. This
reland repairs those bugs.
Differential Revision: https://reviews.llvm.org/D67529
llvm-svn: 374277
The file was modifiedllvm/unittests/TextAPI/CMakeLists.txt
The file was modifiedllvm/include/llvm/TextAPI/MachO/Symbol.h
The file was modifiedllvm/lib/TextAPI/MachO/Target.cpp
The file was modifiedllvm/lib/TextAPI/MachO/TextStubCommon.cpp
The file was modifiedllvm/lib/TextAPI/MachO/TextStub.cpp
The file was addedllvm/unittests/TextAPI/TextStubV4Tests.cpp
The file was modifiedllvm/include/llvm/TextAPI/MachO/Target.h
The file was modifiedllvm/include/llvm/TextAPI/MachO/InterfaceFile.h
Commit c05a875c8cd5ee2451b549df543f08162ef8eb5e by llvmgnsyncbot
gn build: Merge r374277
llvm-svn: 374278
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/TextAPI/BUILD.gn
Commit 33c59abf5c69c16e5ee2b7f4846c9363980342db by maskray
[WebAssembly] Wrap definitions in namespace lld { namespace wasm {. NFC
Similar to D68323, but for wasm.
Reviewed By: ruiu
Differential Revision: https://reviews.llvm.org/D68759
llvm-svn: 374279
The file was modifiedlld/wasm/SyntheticSections.cpp
The file was modifiedlld/wasm/Relocations.cpp
The file was modifiedlld/wasm/Driver.cpp
The file was modifiedlld/wasm/LTO.cpp
The file was modifiedlld/wasm/OutputSections.cpp
The file was modifiedlld/wasm/Symbols.cpp
The file was modifiedlld/wasm/InputChunks.cpp
The file was modifiedlld/wasm/InputFiles.cpp
The file was modifiedlld/wasm/SymbolTable.cpp
The file was modifiedlld/wasm/Writer.cpp
The file was modifiedlld/wasm/WriterUtils.cpp
Commit 72adda1740ca893ba736690f3c2e1a7c513d1874 by jdoerfert
[Attributor] Handle `null` differently in capture and alias logic
Summary:
`null` in the default address space (=AS 0) cannot be captured nor can
it alias anything. We make this clear now as it can be important for
callbacks and other cases later on. In addition, this patch improves the
debug output for noalias deduction.
Reviewers: sstefan1, uenoku
Subscribers: hiraditya, bollu, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68624
llvm-svn: 374280
The file was modifiedllvm/test/Transforms/FunctionAttrs/callbacks.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/nocapture.ll
Commit 1c2afae7dcf66ee0efa5a2ffcb3222ea72dc95ba by jdoerfert
[Attributor][NFC] clang format
llvm-svn: 374281
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 0a84576262e9dbfafbedc327c6a6f83c50b61f10 by craig.topper
[X86] Add test case for trunc_packus_v16i32_v16i8 with avx512vl+avx512bw
and prefer-vector-width=256 and min-legal-vector-width=256. NFC
llvm-svn: 374283
The file was modifiedllvm/test/CodeGen/X86/min-legal-vector-width.ll
Commit 12994a70cf798eec60a236d81bb5618a2674fccf by Matthew.Arsenault
AMDGPU: Use SGPR_128 instead of SReg_128 for vregs
SGPR_128 only includes the real allocatable SGPRs, and SReg_128 adds the
additional non-allocatable TTMP registers. There's no point in
allocating SReg_128 vregs. This shrinks the size of the classes regalloc
needs to consider, which is usually good.
llvm-svn: 374284
The file was modifiedllvm/test/CodeGen/AMDGPU/detect-dead-lanes.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/schedule-regpressure.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/mubuf-legalize-operands.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/couldnt-join-subrange-3.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-merge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/rename-independent-subregs.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/coalescer-subranges-another-prune-error.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/merge-load-store.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/coalescer-with-subregs-bad-identical.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/regcoal-subrange-join.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.format.f32.ll
The file was modifiedllvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-unmerge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-trunc.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/memory_clause.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/subreg-split-live-in-error.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-build-vector.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/global-load-store-atomics.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/extract_subvector_vec4_vec3.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/coalescer-identical-values-undef.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-before-exec.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-concat-vectors.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/fold-multiple.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/subreg_interference.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/regcoal-subrange-join-seg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/coalescer-extend-pruned-subrange.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/coalescer-subreg-join.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/fold-imm-f16-f32.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/regcoalescing-remove-partial-redundancy-assert.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-constant.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/phi-elimination-end-cf.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/coalescer-subregjoin-fullcopy.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/coalescer-subranges-another-copymi-not-live.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/subvector-test.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/optimize-negated-cond-exec-masking.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-insert.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.format.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/regbank-reassign.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/fold-imm-copy.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/constant-fold-imm-immreg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/dce-disjoint-intervals.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/splitkit.mir