SuccessChanges

Summary

  1. [DSE,MemorySSA] Account for ScanLimit == 0 on entry. (details)
  2. [ELF] Enforce two-dash form for some LLD specific options and the newer --[no-]pcrel-optimize (details)
  3. Revert "Make compiler-rt/asan tests run with llvm-lit." (details)
  4. [lldb] Use os.path.sep in TestInvalidArgsLog.py to fix Windows bot (details)
  5. [lldb] Replace unittest2.expectedFailure with expectedFailure (NFC) (details)
  6. [test] Fix thinlto-debug-pm.c in preparation for -enable-npm-optnone (details)
  7. [test] Fix aggregate-assign-call.c in preparation for -enable-npm-optnone (details)
  8. [lldb] Add missing LLDB_REGISTER for GarbageCollectAllocatedModules (details)
Commit 139810449ba4c2203dbd9021b7ec4153bbfab269 by flo
[DSE,MemorySSA] Account for ScanLimit == 0 on entry.

Currently the code does not account for the fact that getDomMemoryDef
can be called with ScanLimit == 0, if we reached the limit while
processing an earlier access. Also tighten the check a bit more and bump
the scan limit now that it is handled properly.

In some cases, this brings a 2x speedup in terms of compile-time.
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/memoryssa-scan-limit.ll (diff)
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp (diff)
Commit 661c089a402e0d41a28c94fab35d85c8ef90747e by i
[ELF] Enforce two-dash form for some LLD specific options and the newer --[no-]pcrel-optimize

Since -[no-]toc-optimize has not ever been used, we can enforce the two-dash form as well.
The file was modifiedlld/test/ELF/time-trace.s (diff)
The file was modifiedlld/ELF/Options.td (diff)
The file was modifiedlld/test/ELF/lto/thinlto-time-trace.ll (diff)
Commit 51c152ca2a932754e0b0e167b96394eab064961e by akhuang
Revert "Make compiler-rt/asan tests run with llvm-lit."

This reverts commit 7f84f62ef07a0a540a7dd751d08aae583d5e2472.

Seems to be causing a bunch of compiler-rt test failures on
ppc64-linux bots.
The file was modifiedcompiler-rt/test/asan/lit.site.cfg.py.in (diff)
The file was modifiedcompiler-rt/test/asan/CMakeLists.txt (diff)
The file was modifiedcompiler-rt/test/asan/lit.cfg.py (diff)
Commit c6cc566c8a95bb39c65f7b39649e804809fc8701 by Raphael Isemann
[lldb] Use os.path.sep in TestInvalidArgsLog.py to fix Windows bot
The file was modifiedlldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py (diff)
Commit e9b099401262108301ecf27305b06749d1a58286 by Jonas Devlieghere
[lldb] Replace unittest2.expectedFailure with expectedFailure (NFC)

Rename the existing expectedFailure to expectedFailureIfFn to better
describe its purpose and provide an overload for
unittest2.expectedFailure in decorators.py.
The file was modifiedlldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py (diff)
The file was modifiedlldb/test/API/functionalities/thread/state/TestThreadStates.py (diff)
The file was modifiedlldb/test/API/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py (diff)
The file was modifiedlldb/test/API/tools/lldb-server/TestLldbGdbServer.py (diff)
The file was modifiedlldb/test/API/functionalities/avoids-fd-leak/TestFdLeak.py (diff)
The file was modifiedlldb/test/API/functionalities/jitloader_gdb/TestJITLoaderGDB.py (diff)
The file was modifiedlldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/TestRequireHWBreakpoints.py (diff)
The file was modifiedlldb/test/API/lang/objc/hidden-ivars/TestHiddenIvars.py (diff)
The file was modifiedlldb/packages/Python/lldbsuite/test/decorators.py (diff)
The file was modifiedlldb/test/API/commands/expression/test/TestExprs.py (diff)
The file was modifiedlldb/test/API/lang/c/shared_lib/TestSharedLib.py (diff)
The file was modifiedlldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py (diff)
Commit a3973195095ed918915213341c132b41fb269f4e by aeubanks
[test] Fix thinlto-debug-pm.c in preparation for -enable-npm-optnone

This fails due to the clang invocation running at -O0, producing an optnone function.
Then even with -O2 in the later invocations, LoopVectorizePass doesn't run on the optnone function.
So split this into an -O0 run and an -O2 run.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D86011
The file was modifiedclang/test/CodeGen/thinlto-debug-pm.c (diff)
Commit b0ceff94d66372fd88dcf924e1c6751ce5ab5ee4 by aeubanks
[test] Fix aggregate-assign-call.c in preparation for -enable-npm-optnone

Pin the test to use -enable-npm-optnone.
Before, optnone wasn't implemented under NPM, so the LPM and NPM runs produced different IR. Now with -enable-npm-optnone, that is no longer necessary.

Reviewed By: ychen

Differential Revision: https://reviews.llvm.org/D86008
The file was modifiedclang/test/CodeGen/aggregate-assign-call.c (diff)
Commit e095e98a3abc8b2852b708cb4c8cbeec0b8f1d51 by Jonas Devlieghere
[lldb] Add missing LLDB_REGISTER for GarbageCollectAllocatedModules

Add the missing LLDB_REGISTER_STATIC_METHOD macro and format the file.
The file was modifiedlldb/source/API/SBModule.cpp (diff)