SuccessChanges

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

Summary

  1. Added legacy mode support for automatic SVN schedulers. (details)
Commit b095aa0f3729c2d9a05d33afbced710e2d7dbda1 by gkistanova
Added legacy mode support for automatic SVN schedulers.
llvm-svn: 374594
The file was modifiedbuildbot/osuosl/master/config/schedulers.py

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

Summary

  1. Fix test failure with 374562 on Hexagon (details)
  2. [lldb-test] Modify lldb-test to print out ASTs from symbol file (details)
  3. Update clang module map for new excluded .def file. (details)
  4. [lldb] Add import-std-module/sysroot to the libc++ test category. (details)
  5. [clang][IFS] Fixing assert in clang interface stubs for enums, records, (details)
  6. [lldb] Mark import-std-module/empty-module as libc++ test (details)
  7. gn build: (manually) merge r374110 (details)
  8. IOHandler: fall back on File::Read if a FILE* isn't available. (details)
  9. [lldb] Fix python packages install path (details)
  10. [X86][SSE] Add support for v4i8 add reduction (details)
  11. Suppress false-positive -Wdeprecated-volatile warning from (details)
  12. [Stats] Convert some ad-hoc header search stats to (details)
  13. llvm-dwarfdump: Add verbose printing for debug_loclists (details)
  14. make ConstString allocate memory in non-tiny chunks (details)
  15. [platform process list] add a flag for showing the processes of all (details)
  16. Add -fgnuc-version to ClangModuleCompilationOptions on Darwin. (details)
  17. [NativePDB] Remove unused references to ClangASTImporter (details)
  18. [MachineIRBuilder] Fix an assertion failure with buildMerge (details)
  19. [GISel][CallLowering] Enable vector support in argument lowering (details)
  20. [Mips][llvm-exegesis] Add a Mips target (details)
  21. Set GNUC version in the LLDB expression parser. (details)
  22. Revert 374373: [Codegen] Alter the default promotion for saturating adds (details)
  23. Release notes: Add the option WarnForDeadNestedAssignments (details)
  24. [GISel][UnitTest] Fix a bunch of tests that were not doing anything (details)
  25. [ObjC] Remove default parameter no caller was providing. NFC intended. (details)
  26. [mips] Use less instruction to load zero into FPR by li.s / li.d pseudos (details)
  27. [mips] Store 64-bit `li.d' operand as a single 8-byte value (details)
  28. [mips] Remove unused local variables. NFC (details)
  29. DebugInfo: Use base address selection entries for debug_loc (details)
  30. [lit] Change regex filter to ignore case (details)
  31. [lit] Small cleanups in main.py (details)
  32. Revert "[platform process list] add a flag for showing the processes of (details)
  33. [AMDGPU] link dpp pseudos and real instructions on gfx10 (details)
  34. [libunwind] Refactor CMake flag checks to match libc++ and libc++abi (details)
  35. [AMDGPU] Use GCN prefix in dpp_combine.mir. NFC. (details)
  36. gn build: Cmanually) merge r374590 (details)
  37. [platform process list] add a flag for showing the processes of all (details)
  38. gn build: Merge r235758 (details)
  39. gn build: (manually) merge r374606 better (details)
  40. [libFuzzer] Don't prefix absolute paths in fuchsia. (details)
  41. DebugInfo: Reduce the scope of some variables related to debug_ranges (details)
  42. [X86] Add test case showing missing opportunity to fold vmovsdb into a (details)
  43. [X86] Fold a VTRUNCS/VTRUNCUS+store into a saturating truncating store. (details)
  44. Temporarily Revert [platform process list] add a flag for showing the (details)
  45. [llvm-profdata] Make "malformed-ptr-to-counter-array.test" textual (details)
  46. DebugInfo: Fix msan use-of-uninitialized exposed by r374600 (details)
  47. [platform process list] add a flag for showing the processes of all (details)
  48. Revert "[platform process list] add a flag for showing the processes of (details)
  49. [platform process list] add a flag for showing the processes of all (details)
  50. [asan] Return true from instrumentModule (details)
  51. [libunwind] Fix issues introduced in r374606 (details)
  52. Revert "[platform process list] add a flag for showing the processes of (details)
  53. [platform process list] add a flag for showing the processes of all (details)
  54. Slightly relax restriction on exact order arguments must appear. (details)
  55. [sancov] Use LLVM Support library JSON writer in favor of individual (details)
  56. [sancov] Accommodate sancov and coverage report server for use under (details)
  57. Revert "[platform process list] add a flag for showing the processes of (details)
  58. [platform process list] add a flag for showing the processes of all (details)
  59. [clang][IFS] Updating tests to pass on -fvisibility=hidden builds (details)
  60. recommit: [LoopVectorize][PowerPC] Estimate int and float register (details)
  61. NFC: clang-format rL374420 and adjust comment wording (details)
  62. Revert 374629 "[sancov] Accommodate sancov and coverage report server (details)
  63. [llvm-lipo] Pass ArrayRef by value. (details)
  64. [clang][IFS] Fixing spelling errors in interface-stubs OPT flag (NFC). (details)
  65. [lit] Remove setting of the target-windows feature (details)
  66. [mips] Fix `loadImmediate` calls when load non-address values. (details)
  67. [mips] Rely on GPR size not ABI when select instruction to load value (details)
  68. [X86] Test SKX cpu in the vector-trunc-packus/ssat/usat.ll tests instad (details)
  69. [X86] Use pack instructions for packus/ssat truncate patterns when (details)
  70. [LV] Merge LLVM_DEBUG blocks. (details)
  71. [Attributor] Extend anonymous namespace. NFC. (details)
  72. Reland r374388: [lit] Make internal diff work in pipelines (details)
  73. Reland r374389: [lit] Clean up internal diff's encoding handling (details)
  74. Reland r374390: [lit] Extend internal diff to support `-` argument (details)
  75. Reland r374392: [lit] Extend internal diff to support -U (details)
  76. [lit] Fix internal diff's --strip-trailing-cr and use it (details)
  77. [lit] Fix a few oversights in r374651 that broke some bots (details)
  78. [lit] Try to fix new tests that fail on Windows bots (details)
  79. [CostModel][X86] Improve sum reduction costs. (details)
  80. Revert r374654: "[lit] Try to fix new tests that fail on Windows bots" (details)
  81. [lit] Try again to fix new tests that fail on Windows bots (details)
Commit add0786dbaa8ca9c0b44b5eefcf700c15a0c8e44 by erich.keane
Fix test failure with 374562 on Hexagon
__builtin_assume_aligned takes a size_t which is a 32 bit int on
hexagon.  Thus, the constant gets converted to a 32 bit value, resulting
in 0 not being a power of 2.  This patch changes the constant being
passed to 2**30 so that it fails, but doesnt exceed 30 bits.
llvm-svn: 374569
The file was modifiedclang/test/Sema/builtin-assume-aligned.c
Commit 5f46982b452b685419629b23d530281df2298536 by syaghmour
[lldb-test] Modify lldb-test to print out ASTs from symbol file
Summary: Currently when invoking lldb-test symbols -dump-ast it parses
all the debug symbols and calls print(...) on the TranslationUnitDecl.
While useful the TranslationUnitDecl::print(...) method gives us a
higher level view then the dump from ASTDumper which is what we get when
we invoke dump() on a specific AST node. The main motivation for this
change is allow us to verify that the AST nodes we create when we parse
DWARF. For example in order to verify we are correctly using
DIFlagExportSymbols added by D66667
Differential Revision: https://reviews.llvm.org/D67994
llvm-svn: 374570
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was modifiedlldb/tools/lldb-test/lldb-test.cpp
Commit 1edb7e0b6f390b066f5218208a7c8ac974ee243c by richard-llvm
Update clang module map for new excluded .def file.
llvm-svn: 374571
The file was modifiedclang/include/clang/module.modulemap
Commit 81018c85b9c8275cc3bd0b60aa7a3ef4b601fa16 by Raphael Isemann
[lldb] Add import-std-module/sysroot to the libc++ test category.
We essentially test libc++ in a sysroot here so let's make sure that we
actually only run this test on platforms where libc++ testing is
enabled.
llvm-svn: 374572
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py
Commit e3388c42f39b6715e9aa1c7594fb0dcf9429e111 by puyan
[clang][IFS] Fixing assert in clang interface stubs for enums, records,
typedefs
The clang IFS ASTConsumer was asserting on enums, records (struct
definitions in C), and typedefs. All it needs to do is skip them because
the stub just needs to expose global object instances and functions.
Differential Revision: https://reviews.llvm.org/D68859
llvm-svn: 374573
The file was addedclang/test/InterfaceStubs/noninstancetypes.c
The file was modifiedclang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
Commit 766a0cb1e082efa85f01187b68c9a784b3ed62f5 by Raphael Isemann
[lldb] Mark import-std-module/empty-module as libc++ test
Same as with the import-std-module/sysroot test before.
llvm-svn: 374574
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/import-std-module/empty-module/TestEmptyStdModule.py
Commit e695d3c695652d4cc4afcb52112d04f3b25fe851 by nicolasweber
gn build: (manually) merge r374110
llvm-svn: 374575
The file was modifiedllvm/utils/gn/secondary/clang/test/BUILD.gn
Commit b3faa01ff9625cc00d98d5fffd597c64d494c349 by lawrence_danna
IOHandler: fall back on File::Read if a FILE* isn't available.
Summary: IOHandler needs to read lines of input from a lldb::File. The
way it currently does this using, FILE*, which is something we want to
avoid now.   I'd prefer to just replace the FILE* code with calls to
File::Read, but it contains an awkward and delicate workaround specific
to ctrl-C handling on windows, and it's not clear if or how that
workaround would translate to lldb::File.
So in this patch, we use use the FILE* if it's available, and only fall
back on File::Read if that's the only option.
I think this is a reasonable approach here for two reasons.  First is
that interactive terminal support is the one area where FILE* can't be
avoided.   We need them for libedit and curses anyway, and using them
here as well is consistent with that pattern.
The second reason is that the comments express a hope that the
underlying windows bug that's being worked around will be fixed one day,
so hopefully when that happens, that whole path can be deleted.
Reviewers: JDevlieghere, jasonmolenda, labath, lanza
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68622
llvm-svn: 374576
The file was modifiedlldb/include/lldb/Core/IOHandler.h
The file was modifiedlldb/source/Core/IOHandler.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
Commit 6aacd968754341a0743a427d842cacb91637279c by hhb
[lldb] Fix python packages install path
Reviewers: mgorny
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68878
llvm-svn: 374577
The file was modifiedlldb/CMakeLists.txt
Commit af6c15f67916c30acda3aed908382230882ee03c by llvm-dev
[X86][SSE] Add support for v4i8 add reduction
llvm-svn: 374579
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-add.ll
Commit 1e3a8d12a1a37fb2842af6c0fad8e5ba2804ea60 by richard-llvm
Suppress false-positive -Wdeprecated-volatile warning from
__is_*_assignable(volatile T&, U).
llvm-svn: 374580
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/test/SemaCXX/deprecated.cpp
Commit e8752a9d1bcf7f68397d59cfe42eb304945dceec by vsapsai
[Stats] Convert some ad-hoc header search stats to
ALWAYS_ENABLED_STATISTIC.
rdar://problem/55715134
Reviewers: dsanders, bogner, rtereshin
Reviewed By: dsanders
Subscribers: hiraditya, jkorous, dexonsmith, ributzka, cfe-commits,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68252
llvm-svn: 374581
The file was modifiedclang/include/clang/Basic/FileManager.h
The file was modifiedclang/lib/Basic/FileManager.cpp
The file was modifiedclang/include/clang/Lex/HeaderSearch.h
The file was modifiedclang/lib/Lex/HeaderSearch.cpp
Commit f358c3d3717648cd076add3774c164ad444168d6 by dblaikie
llvm-dwarfdump: Add verbose printing for debug_loclists
llvm-svn: 374582
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-debug-loclists.test
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDie.cpp
The file was modifiedllvm/test/CodeGen/X86/debug-loclists.ll
The file was modifiedllvm/test/DebugInfo/X86/fission-ranges.ll
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_loclists_startx_length.s
Commit e2ca7cb504a84b7a64c670455eb5e66e9cf0ecff by l.lunak
make ConstString allocate memory in non-tiny chunks
BumpPtrAllocator allocates in 4KiB chunks, which with any larger project
is going to result in a large number of allocations. Increasing
allocation size this way can save 10%-20% of symbol load time for a huge
C++ project with correctly built debuginfo.
Differential Revision: https://reviews.llvm.org/D68549
llvm-svn: 374583
The file was modifiedlldb/source/Utility/ConstString.cpp
Commit 089a334c39d06e958607e1e8e0c9796f9387f512 by a20012251
[platform process list] add a flag for showing the processes of all
users
Summary: For context: https://reviews.llvm.org/D68293
We need a way to show all the processes on android regardless of the
user id. When you run `platform process list`, you only see the
processes with the same user as the user that launched lldb-server.
However, it's quite useful to see all the processes, though, and it will
lay a foundation for full apk debugging support from lldb.
Before:
``` PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 3234   1               
aarch64-unknown-linux-android adbd 8034   3234            
aarch64-unknown-linux-android sh 9096   3234            
aarch64-unknown-linux-android sh 9098   9096            
aarch64-unknown-linux-android lldb-server
(lldb) ^D
```
Now:
```
(lldb) platform process list -x 205 matching processes were found on
"remote-android" PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 1      0                                  
      init 524    1                                          init 525  
1                                          init 531    1               
                         ueventd 568    1                              
          logd 569    1                 aarch64-unknown-linux-android
servicemanager 570    1                 aarch64-unknown-linux-android
hwservicemanager 571    1                 aarch64-unknown-linux-android
vndservicemanager 577    1                 aarch64-unknown-linux-android
qseecomd 580    577               aarch64-unknown-linux-android qseecomd
... 23816  979                                      
com.android.providers.calendar 24600  979                              
        com.verizon.mips.services 27888  979                           
           com.hualai 28043  2378                                     
com.android.chrome:sandboxed_process0 31449  979                       
               com.att.shm 31779  979                                  
    com.samsung.android.authfw 31846  979                              
        com.samsung.android.server.iris 32014  979                     
                 com.samsung.android.MtpApplication 32045  979         
                             com.samsung.InputEventApp
```
Reviewers: labath,xiaobai,aadsm,clayborg
Subscribers:
llvm-svn: 374584
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
Commit 886099974e067c380ceca27ef2374961e6e1168e by Adrian Prantl
Add -fgnuc-version to ClangModuleCompilationOptions on Darwin.
This adapts LLDB for https://reviews.llvm.org/D68055.
Darwin's libC headers expect the GNUC macro to be set.
llvm-svn: 374585
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
Commit 03fbde6d84704e32eef204c1e59a2c26350aacde by apl
[NativePDB] Remove unused references to ClangASTImporter
llvm-svn: 374587
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
Commit 7720f1149867ac11543470a945438df59dcd2824 by quentin.colombet
[MachineIRBuilder] Fix an assertion failure with buildMerge
Teach buildMerge how to deal with scalar to vector kind of requests.
Prior to this patch, buildMerge would issue either a G_MERGE_VALUES when
all the vregs are scalars or a G_CONCAT_VECTORS when the destination
vreg is a vector. G_CONCAT_VECTORS was actually not the proper
instruction when the source vregs were scalars and the compiler would
assert that the sources must be vectors. Instead we want is to issue a
G_BUILD_VECTOR when we are in this situation.
This patch fixes that.
llvm-svn: 374588
The file was modifiedllvm/unittests/CodeGen/GlobalISel/MachineIRBuilderTest.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
Commit 9c36ec5941730364d4b9befd15e20365a039a2f1 by quentin.colombet
[GISel][CallLowering] Enable vector support in argument lowering
The exciting code is actually already enough to handle the splitting of
vector arguments but we were lacking a test case.
This commit adds a test case for vector argument lowering involving
splitting and enable the related support in call lowering.
llvm-svn: 374589
The file was modifiedllvm/lib/CodeGen/GlobalISel/CallLowering.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/irtranslator-split-vector-arg.ll
Commit cf1ba238d4f752133897af1773e85056b1492803 by simon
[Mips][llvm-exegesis] Add a Mips target
The target does just enough to be able to run llvm-exegesis in latency
mode for at least some opcodes.
Patch by Miloš Stojanović.
Differential Revision: https://reviews.llvm.org/D68649
llvm-svn: 374590
The file was addedllvm/unittests/tools/llvm-exegesis/Mips/TargetTest.cpp
The file was addedllvm/unittests/tools/llvm-exegesis/Mips/CMakeLists.txt
The file was addedllvm/lib/Target/Mips/MipsPfmCounters.td
The file was modifiedllvm/tools/llvm-exegesis/lib/CMakeLists.txt
The file was addedllvm/tools/llvm-exegesis/lib/Mips/Target.cpp
The file was addedllvm/tools/llvm-exegesis/lib/Mips/CMakeLists.txt
The file was modifiedllvm/lib/Target/Mips/Mips.td
The file was modifiedllvm/tools/llvm-exegesis/lib/Assembler.cpp
The file was modifiedllvm/lib/Target/Mips/CMakeLists.txt
The file was addedllvm/tools/llvm-exegesis/lib/Mips/LLVMBuild.txt
The file was modifiedllvm/unittests/tools/llvm-exegesis/CMakeLists.txt
Commit f30ae7173958681b4b639e82e6530b3b047c1fde by Adrian Prantl
Set GNUC version in the LLDB expression parser.
This adapts LLDB for https://reviews.llvm.org/D68055.
Darwin's libC headers expect the GNUC macro to be set.
llvm-svn: 374591
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
Commit 7c30af8e65904bc2eb7e8926c7d2a2ad68aeab4d by david.green
Revert 374373: [Codegen] Alter the default promotion for saturating adds
and subs
This commit is not extending the promoted integers as it should.
Reverting whilst I look into the details.
llvm-svn: 374592
The file was modifiedllvm/test/CodeGen/X86/sadd_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/sadd_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/ssub_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/usub_sat.ll
The file was modifiedllvm/test/CodeGen/X86/ssub_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/uadd_sat.ll
The file was modifiedllvm/test/CodeGen/AArch64/usub_sat_vec.ll
The file was modifiedllvm/test/CodeGen/AArch64/ssub_sat.ll
The file was modifiedllvm/test/CodeGen/AArch64/sadd_sat.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/test/CodeGen/AArch64/ssub_sat_vec.ll
The file was modifiedllvm/test/CodeGen/AArch64/uadd_sat.ll
The file was modifiedllvm/test/CodeGen/AArch64/uadd_sat_vec.ll
The file was modifiedllvm/test/CodeGen/AArch64/sadd_sat_vec.ll
The file was modifiedllvm/test/CodeGen/AArch64/usub_sat.ll
The file was modifiedllvm/test/CodeGen/X86/uadd_sat.ll
The file was modifiedllvm/test/CodeGen/X86/usub_sat.ll
Commit 9bea4ec28cdf2a0b020e17b1999723b3e48eb088 by sylvestre
Release notes: Add the option WarnForDeadNestedAssignments
https://reviews.llvm.org/D66733
llvm-svn: 374593
The file was modifiedclang/docs/ReleaseNotes.rst
Commit 49036dd3aef9265270dcf4bb645050510b68e183 by quentin.colombet
[GISel][UnitTest] Fix a bunch of tests that were not doing anything
After r368065, all the tests using GISelMITest must call setUp() before
doing anything, otherwise the TargetMachine is not going to be set up. A
few tests added after that commit were not doing that and ended up
testing effectively nothing.
Fix the setup of all the tests and fix the failing tests.
llvm-svn: 374595
The file was modifiedllvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp
The file was modifiedllvm/unittests/CodeGen/GlobalISel/MachineIRBuilderTest.cpp
Commit b95d4c3a99794f57b3ac7accd86f5c061f6c69f9 by vsapsai
[ObjC] Remove default parameter no caller was providing. NFC intended.
Currently there is no need to make ObjCTypeParamType have a canonical
type different from the one in corresponding ObjCTypeParamDecl. So
remove the corresponding unused API.
llvm-svn: 374596
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/include/clang/AST/ASTContext.h
Commit 5ebe3511b35d41b9364be62a28966e279fc568b0 by simon
[mips] Use less instruction to load zero into FPR by li.s / li.d pseudos
If `li.s` or `li.d` loads zero into a FPR, it's not necessary to load
zero into `at` GPR register and then move its value into a floating
point register. We can use as a source register the `zero / $0` one.
Differential Revision: https://reviews.llvm.org/D68777
llvm-svn: 374597
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
The file was modifiedllvm/test/MC/Mips/macro-li.s.s
The file was modifiedllvm/test/MC/Mips/macro-li.d.s
Commit 66048fed828987eff8db73bdbe878b06ee941338 by simon
[mips] Store 64-bit `li.d' operand as a single 8-byte value
Now assembler generates two consecutive `.4byte` directives to store
64-bit `li.d' operand. The first directive stores high 4-byte of the
value. The second directive stores low 4-byte of the value. But on
64-bit system we load this value at once and get wrong result if the
system is little-endian.
This patch fixes the bug. It stores the `li.d' operand as a single
8-byte value.
Differential Revision: https://reviews.llvm.org/D68778
llvm-svn: 374598
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
The file was modifiedllvm/test/MC/Mips/macro-li.d.s
Commit fcb393433694745afc1793a61019a138c2f4a053 by simon
[mips] Remove unused local variables. NFC
llvm-svn: 374599
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
Commit 289c45cc62e47f71ae0bd30296e6b2086dffbf33 by dblaikie
DebugInfo: Use base address selection entries for debug_loc
Unify the range and loc emission (for both DWARFv4 and DWARFv5 style
lists) and take advantage of that unification to use strategic base
addresses for loclists.
Differential Revision: https://reviews.llvm.org/D68620
llvm-svn: 374600
The file was modifiedllvm/test/DebugInfo/X86/sret.ll
The file was modifiedllvm/test/CodeGen/X86/debug-loclists.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit ac36dafb692129c2f3f78c903333a3c9b7705ae1 by jlettner
[lit] Change regex filter to ignore case
Make regex filter `--filter=REGEX` option more lenient via
`re.IGNORECASE`.
Reviewed By: yln
Differential Revision: https://reviews.llvm.org/D68834
llvm-svn: 374601
The file was modifiedllvm/utils/lit/lit/cl_arguments.py
The file was modifiedllvm/utils/lit/lit/main.py
The file was modifiedllvm/utils/lit/tests/selecting.py
Commit afa8903ad6de54a3a45237af4af5b75b820c613e by jlettner
[lit] Small cleanups in main.py
* Extract separate function for running tests from main
* Push single-usage imports to point of usage
* Remove unnecessary sys.exit(0) calls
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D68836
llvm-svn: 374602
The file was modifiedllvm/utils/lit/lit/main.py
Commit 6fcf0681609f95493595825d428e802e756c7c50 by a20012251
Revert "[platform process list] add a flag for showing the processes of
all users"
Summary: This reverts commit e4ac611cd787f3f0e727a394e96fb1a5c3b19ccb.
There's a failure according to
http://lab.llvm.org:8080/green/view/LLDB/job/lldb-cmake/2538/testReport/junit/lldb-api/functionalities_gdb_remote_client/TestPlatformClient_py/
Reviewers: labath, aadsm, clayborg
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68883
llvm-svn: 374603
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
Commit e2d104f64ca8f3b77888f218f0054c28c96a3975 by Stanislav.Mekhanoshin
[AMDGPU] link dpp pseudos and real instructions on gfx10
This defaults to zero fi operand, but we do not expose it anyway. Should
we expose it later it needs to be added to the pseudo.
This enables dpp combining on gfx10.
Differential Revision: https://reviews.llvm.org/D68888
llvm-svn: 374604
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td
The file was modifiedllvm/lib/Target/AMDGPU/VOP1Instructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll
The file was addedllvm/test/CodeGen/AMDGPU/dpp_combine.ll
Commit 20da3bdb96c306c3e89d56039ffdeaf2bd41d737 by phosek
[libunwind] Refactor CMake flag checks to match libc++ and libc++abi
libunwind was using its own set of macros/functions for flag checking
which was similar but different from libc++ and libc++abi. This made it
difficult to replicate the same checks across projects, in fact there
were some checks that appear to have been copy & pasted from another
project and that were broken in the standalone libunwind build. This
change refactors flag checks to match libc++ and libc++abi using a copy
of HandleLibunwindFlags.cmake which is derived from the versions used by
the other projects. This also paves a road to deduplicating and unifying
HandleLibunwindFlags.cmake, HandleLibcxxabiFlags.cmake and
HandleLibcxxFlags.cmake post monorepo switch.
Differential Revision: https://reviews.llvm.org/D68855
llvm-svn: 374606
The file was modifiedlibunwind/cmake/config-ix.cmake
The file was modifiedlibunwind/src/CMakeLists.txt
The file was modifiedlibunwind/CMakeLists.txt
The file was addedlibunwind/cmake/Modules/HandleLibunwindFlags.cmake
Commit f87fe45d5c3fd222029b33960e83189cb56a23b7 by Stanislav.Mekhanoshin
[AMDGPU] Use GCN prefix in dpp_combine.mir. NFC.
llvm-svn: 374607
The file was modifiedllvm/test/CodeGen/AMDGPU/dpp_combine.mir
Commit 71ecae9d54c0223261c1bbafb70c8176f6427c9f by nicolasweber
gn build: Cmanually) merge r374590
llvm-svn: 374608
The file was addedllvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/Mips/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/targets.gni
The file was addedllvm/utils/gn/secondary/llvm/unittests/tools/llvm-exegesis/Mips/BUILD.gn
Commit 696d3cf8ad6f3a0b3019c87526d561bb77ad538e by a20012251
[platform process list] add a flag for showing the processes of all
users
Summary: For context: https://reviews.llvm.org/D68293
We need a way to show all the processes on android regardless of the
user id. When you run `platform process list`, you only see the
processes with the same user as the user that launched lldb-server.
However, it's quite useful to see all the processes, though, and it will
lay a foundation for full apk debugging support from lldb.
Before:
``` PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 3234   1               
aarch64-unknown-linux-android adbd 8034   3234            
aarch64-unknown-linux-android sh 9096   3234            
aarch64-unknown-linux-android sh 9098   9096            
aarch64-unknown-linux-android lldb-server
(lldb) ^D
```
Now:
```
(lldb) platform process list -x 205 matching processes were found on
"remote-android" PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 1      0                                  
      init 524    1                                          init 525  
1                                          init 531    1               
                         ueventd 568    1                              
          logd 569    1                 aarch64-unknown-linux-android
servicemanager 570    1                 aarch64-unknown-linux-android
hwservicemanager 571    1                 aarch64-unknown-linux-android
vndservicemanager 577    1                 aarch64-unknown-linux-android
qseecomd 580    577               aarch64-unknown-linux-android qseecomd
... 23816  979                                      
com.android.providers.calendar 24600  979                              
        com.verizon.mips.services 27888  979                           
           com.hualai 28043  2378                                     
com.android.chrome:sandboxed_process0 31449  979                       
               com.att.shm 31779  979                                  
    com.samsung.android.authfw 31846  979                              
        com.samsung.android.server.iris 32014  979                     
                 com.samsung.android.MtpApplication 32045  979         
                             com.samsung.InputEventApp
```
Reviewers: labath,xiaobai,aadsm,clayborg
Subscribers:
> llvm-svn: 374584
llvm-svn: 374609
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedlldb/source/Commands/Options.td
Commit 92e11e6d394df8acaed857724b27f57823143a0e by llvmgnsyncbot
gn build: Merge r235758
llvm-svn: 374610
The file was modifiedllvm/utils/gn/secondary/libunwind/src/BUILD.gn
Commit 1b82fb61c18474473ea21123b9a150e1a88dddbf by nicolasweber
gn build: (manually) merge r374606 better
llvm-svn: 374611
The file was modifiedllvm/utils/gn/secondary/libunwind/src/BUILD.gn
Commit cde860a1c996b0badff5f8f10baf48df3c19d921 by jakehehrlich
[libFuzzer] Don't prefix absolute paths in fuchsia.
The ExecuteCommand function in fuchsia used to prefix the getOutputFile
for each command run with the artifact_prefix flag if it was available,
because fuchsia components don't have a writable working directory.
However, if a file with a global path is provided, fuchsia should honor
that.
An example of this is using the global /tmp directory to store stuff. In
fuchsia it ended up being translated to data///tmp, whereas we want to
make sure it is using /tmp (which is available to components using the
isolated-temp feature).
To test this I made the change, compiled fuchsia with this toolchain and
ran a fuzzer with the -fork=1 flag (that mode makes use of the /tmp
directory). I also tested that normal fuzzing workflow was not affected
by this.
Author: charco (Marco Vanotti) Differential Revision:
https://reviews.llvm.org/D68774
llvm-svn: 374612
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp
Commit de9aa37bf061abce87d0fbca68959a79e0cc7c51 by dblaikie
DebugInfo: Reduce the scope of some variables related to debug_ranges
emission
Minor tidy up/NFC
llvm-svn: 374613
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
Commit 7dcd440d44ddaf5c31f99128b1869e9dea5b767c by craig.topper
[X86] Add test case showing missing opportunity to fold vmovsdb into a
store after type legalization. NFC
llvm-svn: 374614
The file was modifiedllvm/test/CodeGen/X86/avx512-trunc.ll
Commit 3472feb94cdf90ce8d4761b2c44f080da1b5a79d by craig.topper
[X86] Fold a VTRUNCS/VTRUNCUS+store into a saturating truncating store.
We already did this for VTRUNCUS with a specific combination of types.
This extends this to VTRUNCS and handles any types where a truncating
store is legal.
llvm-svn: 374615
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512-trunc.ll
Commit b15c886ba5b6474b64a782b35b1c66098fc60920 by Adrian Prantl
Temporarily Revert [platform process list] add a flag for showing the
processes of all users
as it breaks the bots.
This reverts r374609 (git commit
696d3cf8ad6f3a0b3019c87526d561bb77ad538e)
llvm-svn: 374616
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
Commit 852e3b207651ce4cc8e9382282eca5e91ac1476b by Vedant Kumar
[llvm-profdata] Make "malformed-ptr-to-counter-array.test" textual
As pointed out in https://reviews.llvm.org/D66979 post-commit, making
this test textual would make it more maintainable.
Differential Revision: https://reviews.llvm.org/D68718
llvm-svn: 374617
The file was removedllvm/test/tools/llvm-profdata/Inputs/malformed-ptr-to-counter-array.profraw
The file was modifiedllvm/test/tools/llvm-profdata/malformed-ptr-to-counter-array.test
Commit c8e5b90ba65959fed4b1da1a7aee2175003f1a7c by dblaikie
DebugInfo: Fix msan use-of-uninitialized exposed by r374600
llvm-svn: 374619
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
Commit 914f38295e1249daea77d75da230a4179a9a5b3b by a20012251
[platform process list] add a flag for showing the processes of all
users
Summary: For context: https://reviews.llvm.org/D68293
We need a way to show all the processes on android regardless of the
user id. When you run `platform process list`, you only see the
processes with the same user as the user that launched lldb-server.
However, it's quite useful to see all the processes, though, and it will
lay a foundation for full apk debugging support from lldb.
Before:
``` PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 3234   1               
aarch64-unknown-linux-android adbd 8034   3234            
aarch64-unknown-linux-android sh 9096   3234            
aarch64-unknown-linux-android sh 9098   9096            
aarch64-unknown-linux-android lldb-server
(lldb) ^D
```
Now:
```
(lldb) platform process list -x 205 matching processes were found on
"remote-android" PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 1      0                                  
      init 524    1                                          init 525  
1                                          init 531    1               
                         ueventd 568    1                              
          logd 569    1                 aarch64-unknown-linux-android
servicemanager 570    1                 aarch64-unknown-linux-android
hwservicemanager 571    1                 aarch64-unknown-linux-android
vndservicemanager 577    1                 aarch64-unknown-linux-android
qseecomd 580    577               aarch64-unknown-linux-android qseecomd
... 23816  979                                      
com.android.providers.calendar 24600  979                              
        com.verizon.mips.services 27888  979                           
           com.hualai 28043  2378                                     
com.android.chrome:sandboxed_process0 31449  979                       
               com.att.shm 31779  979                                  
    com.samsung.android.authfw 31846  979                              
        com.samsung.android.server.iris 32014  979                     
                 com.samsung.android.MtpApplication 32045  979         
                             com.samsung.InputEventApp
```
Reviewers: labath,xiaobai,aadsm,clayborg
Subscribers:
> llvm-svn: 374584
llvm-svn: 374620
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py
The file was modifiedlldb/source/Commands/Options.td
Commit 16194bf8bff9e6ed1315fea34b9fa0530b511ef8 by a20012251
Revert "[platform process list] add a flag for showing the processes of
all users"
This reverts commit 08781f4c53a177662c029d3da9c407ba65ae6747.
llvm-svn: 374621
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py
Commit e031bdfefad08739a986a6ec9c46712533979d98 by a20012251
[platform process list] add a flag for showing the processes of all
users
Summary: For context: https://reviews.llvm.org/D68293
We need a way to show all the processes on android regardless of the
user id. When you run `platform process list`, you only see the
processes with the same user as the user that launched lldb-server.
However, it's quite useful to see all the processes, though, and it will
lay a foundation for full apk debugging support from lldb.
Before:
``` PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 3234   1               
aarch64-unknown-linux-android adbd 8034   3234            
aarch64-unknown-linux-android sh 9096   3234            
aarch64-unknown-linux-android sh 9098   9096            
aarch64-unknown-linux-android lldb-server
(lldb) ^D
```
Now:
```
(lldb) platform process list -x 205 matching processes were found on
"remote-android" PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 1      0                                  
      init 524    1                                          init 525  
1                                          init 531    1               
                         ueventd 568    1                              
          logd 569    1                 aarch64-unknown-linux-android
servicemanager 570    1                 aarch64-unknown-linux-android
hwservicemanager 571    1                 aarch64-unknown-linux-android
vndservicemanager 577    1                 aarch64-unknown-linux-android
qseecomd 580    577               aarch64-unknown-linux-android qseecomd
... 23816  979                                      
com.android.providers.calendar 24600  979                              
        com.verizon.mips.services 27888  979                           
           com.hualai 28043  2378                                     
com.android.chrome:sandboxed_process0 31449  979                       
               com.att.shm 31779  979                                  
    com.samsung.android.authfw 31846  979                              
        com.samsung.android.server.iris 32014  979                     
                 com.samsung.android.MtpApplication 32045  979         
                             com.samsung.InputEventApp
```
Reviewers: labath,xiaobai,aadsm,clayborg
Subscribers:
> llvm-svn: 374584
llvm-svn: 374622
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
Commit 4cdd8287b836238595fc8e87922177f13fa4a842 by Vitaly Buka
[asan] Return true from instrumentModule
createSanitizerCtorAndInitFunctions always change the module.
llvm-svn: 374623
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
Commit e3250b0c400cacf66978a180fe3fab9f73f1afd7 by phosek
[libunwind] Fix issues introduced in r374606
There are few differences in compile flags introduced in r374606 which
are causing libcxx-libcxxabi-libunwind-armv8-linux to fail. This change
should address all of those, I've compared the generated build file from
before r374606 and with this change and the set of flags is the same
modulo order.
llvm-svn: 374624
The file was modifiedlibunwind/CMakeLists.txt
The file was modifiedlibunwind/src/CMakeLists.txt
Commit 892482eb9cb377a66e03b73f273fe9af8cfab75a by a20012251
Revert "[platform process list] add a flag for showing the processes of
all users"
This reverts commit 90d0de4999354a5223f08ad714222b0a5dca3cad.
llvm-svn: 374625
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
Commit d334b78f25cdd70546b79072c7fd12d575d4ec1c by a20012251
[platform process list] add a flag for showing the processes of all
users
Summary: For context: https://reviews.llvm.org/D68293
We need a way to show all the processes on android regardless of the
user id. When you run `platform process list`, you only see the
processes with the same user as the user that launched lldb-server.
However, it's quite useful to see all the processes, though, and it will
lay a foundation for full apk debugging support from lldb.
Before:
``` PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 3234   1               
aarch64-unknown-linux-android adbd 8034   3234            
aarch64-unknown-linux-android sh 9096   3234            
aarch64-unknown-linux-android sh 9098   9096            
aarch64-unknown-linux-android lldb-server
(lldb) ^D
```
Now:
```
(lldb) platform process list -x 205 matching processes were found on
"remote-android" PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 1      0                                  
      init 524    1                                          init 525  
1                                          init 531    1               
                         ueventd 568    1                              
          logd 569    1                 aarch64-unknown-linux-android
servicemanager 570    1                 aarch64-unknown-linux-android
hwservicemanager 571    1                 aarch64-unknown-linux-android
vndservicemanager 577    1                 aarch64-unknown-linux-android
qseecomd 580    577               aarch64-unknown-linux-android qseecomd
... 23816  979                                      
com.android.providers.calendar 24600  979                              
        com.verizon.mips.services 27888  979                           
           com.hualai 28043  2378                                     
com.android.chrome:sandboxed_process0 31449  979                       
               com.att.shm 31779  979                                  
    com.samsung.android.authfw 31846  979                              
        com.samsung.android.server.iris 32014  979                     
                 com.samsung.android.MtpApplication 32045  979         
                             com.samsung.InputEventApp
```
Reviewers: labath,xiaobai,aadsm,clayborg
Subscribers:
> llvm-svn: 374584
llvm-svn: 374626
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
Commit 0bb06f6f667eb174f1cec638fc181f1f32dffb44 by douglas.yung
Slightly relax restriction on exact order arguments must appear.
llvm-svn: 374627
The file was modifiedclang/test/Driver/openmp-offload.c
Commit e8a462a01923676860ee4d7b0d191043ea4b9f63 by Vitaly Buka
[sancov] Use LLVM Support library JSON writer in favor of individual
implementation
Summary: In this diff, I've replaced the individual implementation of
`JSONWriter` with `json::OStream` provided by `llvm/Support/JSON.h`.
Important Note: The output format of the JSON is considerably different
compared to the original implementation. Important differences include:
* New line for each entry in an array (should make diffs cleaner)
* No space between keys and colon in attributed object entries.
* Attributes with empty strings will now print the attribute name and a
quote pair rather than excluding the attribute altogether
Examples of these differences can be seen in the changes to the sancov
tests which compare the JSON output.
Patch by Douglas Gliner.
Reviewers: kcc, filcab, phosek, morehouse, vitalybuka, metzman
Subscribers: mehdi_amini, dexonsmith, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D68752
llvm-svn: 374628
The file was modifiedllvm/test/tools/sancov/symbolize_noskip_dead_files.test
The file was modifiedllvm/tools/sancov/sancov.cpp
The file was modifiedllvm/test/tools/sancov/merge.test
The file was modifiedllvm/test/tools/sancov/symbolize.test
Commit 23aa2aec78181fa064191b8f3c1c5b3ffa1c9424 by Vitaly Buka
[sancov] Accommodate sancov and coverage report server for use under
Windows
Summary: This patch makes the following changes to SanCov and its
complementary Python script in order to resolve issues pertaining to
non-UNIX file paths in JSON symbolization information:
* Convert all paths to use forward slash.
* Update `coverage-report-server.py` to correctly handle paths to
sources which contain spaces.
* Remove Linux platform restriction for all SanCov unit tests. All
SanCov tests passed when ran on my local Windows machine.
Patch by Douglas Gliner.
Reviewers: kcc, filcab, phosek, morehouse, vitalybuka, metzman
Reviewed By: vitalybuka
Subscribers: vsk, Dor1s, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D51018
llvm-svn: 374629
The file was modifiedllvm/test/tools/sancov/symbolize_noskip_dead_files.test
The file was modifiedllvm/test/tools/sancov/covered_functions.test
The file was modifiedllvm/test/tools/sancov/symbolize.test
The file was modifiedllvm/test/tools/sancov/merge.test
The file was modifiedllvm/test/tools/sancov/blacklist.test
The file was modifiedllvm/test/tools/sancov/validation.test
The file was modifiedllvm/tools/sancov/coverage-report-server.py
The file was modifiedllvm/test/tools/sancov/stats.test
The file was modifiedllvm/tools/sancov/sancov.cpp
The file was modifiedllvm/test/tools/sancov/not_covered_functions.test
The file was modifiedllvm/test/tools/sancov/print.test
Commit 0f22955899870607cf868b3c4a57f60efd8df02c by a20012251
Revert "[platform process list] add a flag for showing the processes of
all users"
This reverts commit f670a5edfc70066872e1795d650ed6e1ac62b6a8.
llvm-svn: 374630
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/source/Commands/Options.td
Commit af1d27e3011ae858b67e9d43c7fd76131e6d4946 by a20012251
[platform process list] add a flag for showing the processes of all
users
Summary: For context: https://reviews.llvm.org/D68293
We need a way to show all the processes on android regardless of the
user id. When you run `platform process list`, you only see the
processes with the same user as the user that launched lldb-server.
However, it's quite useful to see all the processes, though, and it will
lay a foundation for full apk debugging support from lldb.
Before:
``` PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 3234   1               
aarch64-unknown-linux-android adbd 8034   3234            
aarch64-unknown-linux-android sh 9096   3234            
aarch64-unknown-linux-android sh 9098   9096            
aarch64-unknown-linux-android lldb-server
(lldb) ^D
```
Now:
```
(lldb) platform process list -x 205 matching processes were found on
"remote-android" PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 1      0                                  
      init 524    1                                          init 525  
1                                          init 531    1               
                         ueventd 568    1                              
          logd 569    1                 aarch64-unknown-linux-android
servicemanager 570    1                 aarch64-unknown-linux-android
hwservicemanager 571    1                 aarch64-unknown-linux-android
vndservicemanager 577    1                 aarch64-unknown-linux-android
qseecomd 580    577               aarch64-unknown-linux-android qseecomd
... 23816  979                                      
com.android.providers.calendar 24600  979                              
        com.verizon.mips.services 27888  979                           
           com.hualai 28043  2378                                     
com.android.chrome:sandboxed_process0 31449  979                       
               com.att.shm 31779  979                                  
    com.samsung.android.authfw 31846  979                              
        com.samsung.android.server.iris 32014  979                     
                 com.samsung.android.MtpApplication 32045  979         
                             com.samsung.InputEventApp
```
Reviewers: labath,xiaobai,aadsm,clayborg
Subscribers:
> llvm-svn: 374584
llvm-svn: 374631
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py
The file was modifiedlldb/source/Commands/Options.td
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
Commit c0abc2e7f2f6fa704dea6f5b521fe08a5f1d96d9 by puyan
[clang][IFS] Updating tests to pass on -fvisibility=hidden builds
(NFCi).
Special thanks to JamesNagurne who got to the bottom of this; landing
this on his behalf.
Differential Revision: https://reviews.llvm.org/D68897
llvm-svn: 374632
The file was modifiedclang/test/InterfaceStubs/merge-conflict-test.c
The file was modifiedclang/test/InterfaceStubs/object.c
The file was modifiedclang/test/InterfaceStubs/object-float.c
The file was modifiedclang/test/InterfaceStubs/externstatic.c
Commit 9802268ad3123b0ac71413fd5493606573b3544d by wuzish
recommit: [LoopVectorize][PowerPC] Estimate int and float register
pressure separately in loop-vectorize
In loop-vectorize, interleave count and vector factor depend on target
register number. Currently, it does not estimate different register
pressure for different register class separately(especially for scalar
type, float type should not be on the same position with int type), so
it's not accurate. Specifically, it causes too many times
interleaving/unrolling, result in too many register spills in loop body
and hurting performance.
So we need classify the register classes in IR level, and importantly
these are abstract register classes, and are not the target register
class of backend provided in td file. It's used to establish the mapping
between the types of IR values and the number of simultaneous live
ranges to which we'd like to limit for some set of those types.
For example, POWER target, register num is special when VSX is enabled.
When VSX is enabled, the number of int scalar register is 32(GPR), float
is 64(VSR), but for int and float vector register both are 64(VSR). So
there should be 2 kinds of register class when vsx is enabled, and 3
kinds of register class when VSX is NOT enabled.
It runs on POWER target, it makes big(+~30%) performance improvement in
one specific bmk(503.bwaves_r) of spec2017 and no other obvious
degressions.
Differential revision: https://reviews.llvm.org/D67148
llvm-svn: 374634
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.h
The file was modifiedllvm/lib/Target/XCore/XCoreTargetTransformInfo.h
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/reg-usage-debug.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/reg-usage.ll
The file was modifiedllvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h
The file was modifiedllvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
The file was modifiedllvm/lib/Analysis/TargetTransformInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
The file was addedllvm/test/Transforms/LoopVectorize/PowerPC/reg-usage.ll
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
Commit fce11c6904c888e6d39f71e03806a540852dec41 by hubert.reinterpretcast
NFC: clang-format rL374420 and adjust comment wording
The commit of rL374420 had various formatting issues, including lines
that exceed 80 columns. This patch applies `git clang-format` on the
changes from commit 13bd3ef40d8b1586f26a022e01b21e56c91e05bd.
It further adjusts a comment to clarify the domain of inputs upon which
a newly added function is meant to operate. The adjustment to the
comment was suggested in a post-commit comment on D68721 and discussed
off-list with @sfertile.
llvm-svn: 374635
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Commit ec6bfa81b7b57b256ba55d1455702c89cd22c129 by Vitaly Buka
Revert 374629 "[sancov] Accommodate sancov and coverage report server
for use under Windows"
http://lab.llvm.org:8011/builders/clang-s390x-linux/builds/27650/steps/ninja%20check%201/logs/stdio
http://lab.llvm.org:8011/builders/clang-ppc64be-linux-lnt/builds/31759
http://lab.llvm.org:8011/builders/clang-s390x-linux-lnt/builds/15095
http://lab.llvm.org:8011/builders/clang-ppc64be-linux-multistage/builds/21075
http://lab.llvm.org:8011/builders/clang-ppc64be-linux-lnt/builds/31759
llvm-svn: 374636
The file was modifiedllvm/test/tools/sancov/symbolize.test
The file was modifiedllvm/test/tools/sancov/print.test
The file was modifiedllvm/test/tools/sancov/stats.test
The file was modifiedllvm/tools/sancov/sancov.cpp
The file was modifiedllvm/test/tools/sancov/not_covered_functions.test
The file was modifiedllvm/test/tools/sancov/covered_functions.test
The file was modifiedllvm/tools/sancov/coverage-report-server.py
The file was modifiedllvm/test/tools/sancov/blacklist.test
The file was modifiedllvm/test/tools/sancov/merge.test
The file was modifiedllvm/test/tools/sancov/symbolize_noskip_dead_files.test
The file was modifiedllvm/test/tools/sancov/validation.test
Commit b42e679a4bde21f240e298fa3e8aec3577aa607d by shal1t712
[llvm-lipo] Pass ArrayRef by value.
Pass ArrayRef by value, fix formatting. NFC.
Test plan: make check-all
llvm-svn: 374637
The file was modifiedllvm/tools/llvm-lipo/llvm-lipo.cpp
Commit 17bde36a031a202ce9fe6cc1d134accbba7afb08 by puyan
[clang][IFS] Fixing spelling errors in interface-stubs OPT flag (NFC).
This is just a long standing spelling error that was found recently.
llvm-svn: 374638
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
The file was modifiedclang/lib/Driver/Types.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit fe88be8c3af9523b887368e91fbc56968e06d8a5 by martin
[lit] Remove setting of the target-windows feature
No other OSes use a target-<os> feature, and no tests depend on it any
lomger.
Differential Revision: https://reviews.llvm.org/D68450
llvm-svn: 374639
The file was modifiedllvm/utils/lit/lit/llvm/config.py
Commit 4a46af845f6753b33d7c943ae4cc1f945b5ea211 by simon
[mips] Fix `loadImmediate` calls when load non-address values.
llvm-svn: 374640
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
The file was modifiedllvm/test/MC/Mips/macro-li.d.s
Commit aeaf5f8bd3009233c9d7fb786a393a6033ed93fa by simon
[mips] Rely on GPR size not ABI when select instruction to load value
into register
llvm-svn: 374641
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
Commit 80a4feed7c4882e1c97e7ff3534422eb0a394621 by craig.topper
[X86] Test SKX cpu in the vector-trunc-packus/ssat/usat.ll tests instad
of min-legal-vector-width.ll
This adds "min-legal-vector-width"="256" function attributes to all the
tests for a larger than 256-bit input. Also switch any larger than
512-bit inputs to use a load. This makes the arguments consistent with
min-legal-vector-width attribute which should usually be at least as
large as the arguments.
The SKX configuration will avoid using zmm registers on the modified
test cases. For many of them we should use something closer to the AVX2
codegen with pack instructions instead of the avx512 saturating
truncates.
llvm-svn: 374642
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-packus.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-usat.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-ssat.ll
The file was modifiedllvm/test/CodeGen/X86/min-legal-vector-width.ll
Commit 9bd542dcd5b8d681a535fa2b5c5d0cf7193be0e1 by craig.topper
[X86] Use pack instructions for packus/ssat truncate patterns when
256-bit is the largest legal vector and the result type is at least 256
bits.
Since the input type is larger than 256-bits we'll need to some
concatenating to reassemble the results. The pack instructions ability
to concatenate while packing make this a shorter/faster sequence.
llvm-svn: 374643
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-ssat.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-packus.ll
Commit 97c9804e06395f94ee303bc1ae17d81776ead003 by benny.kra
[LV] Merge LLVM_DEBUG blocks.
Avoids unused variable warnings about the range-based for loops in
there. NFCI.
llvm-svn: 374646
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit c5d1d56731d810f99dc57fbea68826ae60027128 by benny.kra
[Attributor] Extend anonymous namespace. NFC.
llvm-svn: 374647
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit daf42dc36dc2e1092dc6a14a4bb0bce307de58ba by jdenny.ornl
Reland r374388: [lit] Make internal diff work in pipelines
To avoid breaking some tests, D66574, D68664, D67643, and D68668 landed
together.  However, D68664 introduced an issue now addressed by D68839,
with which these are now all relanding.
Differential Revision: https://reviews.llvm.org/D66574
llvm-svn: 374648
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt
The file was addedllvm/utils/lit/lit/builtin_commands/diff.py
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was modifiedllvm/utils/lit/lit/TestRunner.py
The file was removedllvm/utils/lit/tests/Inputs/shtest-shell/diff-error-0.txt
Commit e4f11a31927e7ca67ff54897de37ef75e31e05ff by jdenny.ornl
Reland r374389: [lit] Clean up internal diff's encoding handling
To avoid breaking some tests, D66574, D68664, D67643, and D68668 landed
together.  However, D68664 introduced an issue now addressed by D68839,
with which these are now all relanding.
Differential Revision: https://reviews.llvm.org/D68664
llvm-svn: 374649
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-in.utf16
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-in.utf8
The file was modifiedllvm/utils/lit/tests/max-failures.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-in.bin
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-encodings.txt
The file was modifiedllvm/utils/lit/lit/builtin_commands/diff.py
Commit 32096a86b240a8f4be64094f58162137a17f72d7 by jdenny.ornl
Reland r374390: [lit] Extend internal diff to support `-` argument
To avoid breaking some tests, D66574, D68664, D67643, and D68668 landed
together.  However, D68664 introduced an issue now addressed by D68839,
with which these are now all relanding.
Differential Revision: https://reviews.llvm.org/D67643
llvm-svn: 374650
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-shell/diff-encodings.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-7.txt
The file was modifiedllvm/utils/lit/lit/builtin_commands/diff.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-8.txt
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt
The file was modifiedllvm/utils/lit/tests/max-failures.py
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
Commit 92a8294f9eda2d9b3f7718cba68269a4fc8eea10 by jdenny.ornl
Reland r374392: [lit] Extend internal diff to support -U
To avoid breaking some tests, D66574, D68664, D67643, and D68668 landed
together.  However, D68664 introduced an issue now addressed by D68839,
with which these are now all relanding.
Differential Revision: https://reviews.llvm.org/D68668
llvm-svn: 374651
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was modifiedllvm/utils/lit/tests/max-failures.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-unified.txt
The file was modifiedllvm/utils/lit/lit/builtin_commands/diff.py
Commit 0f80927316c7b12e5c170adec26608dda449497c by jdenny.ornl
[lit] Fix internal diff's --strip-trailing-cr and use it
Using GNU diff, `--strip-trailing-cr` removes a `\r` appearing before a
`\n` at the end of a line.  Without this patch, lit's internal diff only
removes `\r` if it appears as the last character.  That seems useless.
This patch fixes that.
This patch also adds `--strip-trailing-cr` to some tests that fail on
Windows bots when D68664 is applied.  Based on what I see in the bot
logs, I think the following is happening.  In each test there, lit diff
is comparing a file with `\r\n` line endings to a file with `\n` line
endings.  Without D68664, lit diff reads those files with Python's
universal newlines support activated, causing `\r` to be dropped.
However, with D68664, lit diff reads the files in binary mode instead
and thus reports that every line is different, just as GNU diff does (at
least under Ubuntu).  Adding `--strip-trailing-cr` to those tests
restores the previous behavior while permitting the behavior of lit diff
to be more like GNU diff.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D68839
llvm-svn: 374652
The file was modifiedllvm/test/tools/llvm-profdata/profile-symbol-list.test
The file was modifiedllvm/test/MC/AsmParser/preserve-comments.s
The file was modifiedllvm/test/tools/llvm-profdata/roundtrip.test
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-in.dos
The file was modifiedllvm/test/tools/llvm-cxxmap/remap.test
The file was modifiedllvm/utils/lit/tests/max-failures.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-in.unix
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-strip-trailing-cr.txt
The file was modifiedllvm/test/tools/llvm-profdata/sample-remap.test
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was modifiedllvm/utils/lit/lit/builtin_commands/diff.py
Commit 648875bbcff72997dbaf951cc3880224c0336f7e by jdenny.ornl
[lit] Fix a few oversights in r374651 that broke some bots
llvm-svn: 374653
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was modifiedllvm/test/MC/ARM/preserve-comments-arm.s
Commit ba229557dd208a39086c5e2bd8db619dca7d9b45 by jdenny.ornl
[lit] Try to fix new tests that fail on Windows bots
llvm-svn: 374654
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
Commit 1b59a16c0b8bd89445b97eee0fde2a152001dbaf by llvm-dev
[CostModel][X86] Improve sum reduction costs.
I can't see any notable differences in costs between SSE2 and SSE42
arches for FADD/ADD reduction, so I've lowered the target to just SSE2.
I've also added vXi8 sum reduction costs in line with the PSADBW codegen
and discussions on PR42674.
llvm-svn: 374655
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-add.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/reduction.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/remark_horcost.ll
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
Commit 0e22cb6ce39b139d35118a7b198390a4e536f0a0 by jdenny.ornl
Revert r374654: "[lit] Try to fix new tests that fail on Windows bots"
llvm-svn: 374656
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
Commit 1f5823b788037b0dc8c846a22ef6a5a8a0714af7 by jdenny.ornl
[lit] Try again to fix new tests that fail on Windows bots
Based on the bot logs, when lit's internal diff runs on Windows, it
looks like binary diffs must be decoded also for Python 2.7. Otherwise,
writing the diff to stdout fails with:
``` UnicodeEncodeError: 'ascii' codec can't encode characters in
position 7-8: ordinal not in range(128)
```
I did not need to decode using Python 2.7.15 under Ubuntu.  When I do it
anyway in that case, `errors="backslashreplace"` fails for me:
``` TypeError: don't know how to handle UnicodeDecodeError in error
callback
```
However, `errors="ignore"` works, so this patch uses that, hoping it'll
work on Windows as well.
This patch leaves `errors="backslashreplace"` for Python >= 3.5 as
there's no evidence yet that doesn't work and it produces more
informative binary diffs.  This patch also adjusts some lit tests to
succeed for either error handler.
This patch adjusts changes introduced by D68664.
llvm-svn: 374657
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was modifiedllvm/utils/lit/lit/builtin_commands/diff.py