SuccessChanges

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

Summary

  1. [lldb/SWIG] Refactor extensions to be non Python-specific (2/2) (details)
  2. [X86]  Remove EFLAGS from live-in lists in X86FlagsCopyLowering. (details)
  3. [NFC] Whitespace fixes (details)
  4. [libcxx] [test] Disable refwrap/weak_result.pass.cpp in C++20 mode (details)
  5. Recommit "[MachineVerifier] Improve verification of live-in lists." (details)
  6. [PowerPC]: Add powerpcspe target triple subarch component (details)
  7. [NFC][InlineCost] Factor cost modeling out of CallAnalyzer traversal. (details)
  8. [Attributor][FIX] Avoid dangling value pointers during code modification (details)
  9. [Attributor][FIX] Carefully change invokes to calls (after manifest) (details)
  10. Revert "[NFC][InlineCost] Factor cost modeling out of CallAnalyzer (details)
Commit ae47a3d8107856c84c104f3c2e43a553f4e36748 by Jonas Devlieghere
[lldb/SWIG] Refactor extensions to be non Python-specific (2/2)
The current SWIG extensions for the string conversion operator is Python
specific because it uses the PythonObjects. This means that the code
cannot be reused for other SWIG supported languages such as Lua.
This reimplements the extensions in a more generic way that can be
reused. It uses a SWIG macro to reduce code duplication.
Differential revision: https://reviews.llvm.org/D72377
The file was modifiedlldb/scripts/interface/SBBreakpointLocation.i
The file was modifiedlldb/scripts/interface/SBDeclaration.i
The file was modifiedlldb/scripts/interface/SBModule.i
The file was modifiedlldb/scripts/interface/SBAddress.i
The file was modifiedlldb/scripts/interface/SBError.i
The file was modifiedlldb/scripts/interface/SBData.i
The file was modifiedlldb/scripts/interface/SBBreakpointName.i
The file was modifiedlldb/scripts/interface/SBInstructionList.i
The file was modifiedlldb/scripts/interface/SBDebugger.i
The file was modifiedlldb/scripts/interface/SBMemoryRegionInfo.i
The file was modifiedlldb/scripts/interface/SBInstruction.i
The file was modifiedlldb/scripts/interface/SBModuleSpec.i
The file was modifiedlldb/scripts/Python/python-extensions.swig
The file was modifiedlldb/scripts/interface/SBBlock.i
The file was modifiedlldb/scripts/lldb.swig
The file was modifiedlldb/scripts/interface/SBCommandReturnObject.i
The file was modifiedlldb/scripts/interface/SBFrame.i
The file was modifiedlldb/scripts/interface/SBLineEntry.i
The file was modifiedlldb/scripts/interface/SBFunction.i
The file was modifiedlldb/scripts/interface/SBCompileUnit.i
The file was modifiedlldb/scripts/interface/SBFileSpec.i
The file was modifiedlldb/scripts/interface/SBTarget.i
The file was addedlldb/scripts/macros.swig
The file was modifiedlldb/scripts/lldb_lua.swig
The file was modifiedlldb/scripts/interface/SBBreakpoint.i
Commit ee57469a5128a5cd4f8b13945c873d3421a4b3d0 by paulsson
[X86]  Remove EFLAGS from live-in lists in X86FlagsCopyLowering.
When EFLAGS is no longer live into a basic block, remove it from the
live-in list.
Fixes https://bugs.llvm.org/show_bug.cgi?id=44462.
Review: Craig Topper
Differential Revision: https://reviews.llvm.org/D71375
The file was modifiedllvm/lib/Target/X86/X86FlagsCopyLowering.cpp
The file was addedllvm/test/CodeGen/X86/copy-eflags-liveinlists.mir
Commit b2fb6a7ba118f651cc76580ecb48eb5f877920aa by xazax
[NFC] Whitespace fixes
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedclang/include/clang/Basic/AttrDocs.td
Commit 85ee4ff4e474788abc7abdc939114281c2a68ec1 by bion
[libcxx] [test] Disable refwrap/weak_result.pass.cpp in C++20 mode
(broken by P0357R3)
The file was modifiedlibcxx/test/std/utilities/function.objects/refwrap/weak_result.pass.cpp
Commit 659efa21f1b3eded304b7239b356eecf1f5034ae by paulsson
Recommit "[MachineVerifier] Improve verification of live-in lists."
MachineVerifier::visitMachineFunctionAfter() is extended to check the
live-through case for live-in lists. This is only done for registers
without aliases and that are neither allocatable or reserved, such as
the SystemZ::CC register.
The MachineVerifier earlier only catched the case of a live-in use
without an entry in the live-in list (as "using an undefined physical
register").
A comment in LivePhysRegs.h has been added stating a guarantee that
addLiveOuts() can be trusted for a full register both before and after
register allocation.
Review: Quentin Colombet
Differential Revision: https://reviews.llvm.org/D68267
The file was addedllvm/test/MachineVerifier/live-ins-03.mir
The file was modifiedllvm/include/llvm/CodeGen/LivePhysRegs.h
The file was addedllvm/test/MachineVerifier/live-ins-02.mir
The file was modifiedllvm/lib/CodeGen/MachineVerifier.cpp
The file was addedllvm/test/MachineVerifier/live-ins-01.mir
Commit ff0311c4b3b9dce9d25d08e38aa163682b155513 by chmeeedalf
[PowerPC]: Add powerpcspe target triple subarch component
Summary: This allows the use of '-target powerpcspe-unknown-linux-gnu'
or
'powerpcspe-unknown-freebsd' to be used, instead of
'-target powerpc-unknown-linux-gnu -mspe'.
Reviewed By: dim Differential Revision: https://reviews.llvm.org/D72014
The file was modifiedclang/lib/Basic/Targets/PPC.cpp
The file was modifiedllvm/lib/Support/Triple.cpp
The file was modifiedllvm/unittests/ADT/TripleTest.cpp
The file was modifiedclang/lib/Basic/Targets/PPC.h
The file was modifiedclang/test/Preprocessor/init.c
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.cpp
The file was modifiedllvm/include/llvm/ADT/Triple.h
Commit 76aab66d34446ccf764cf8127b73e1517df75fb4 by mtrofin
[NFC][InlineCost] Factor cost modeling out of CallAnalyzer traversal.
Summary: The goal is to simplify experimentation on the cost model.
Today, CallAnalyzer decides 2 things: legality, and benefit. The
refactoring keeps legality assessment in CallAnalyzer, and factors
benefit evaluation out, as an extension.
Reviewers: davidxl, eraman
Subscribers: kamleshbhalui, fedor.sergeev, hiraditya,
baloghadamsoftware, haicheng, a.sidorin, Szelethus, donat.nagy, dkrupp,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71733
The file was modifiedllvm/lib/Analysis/InlineCost.cpp
Commit 1e46eb74be6527377e47090bbe0fc9298f7de2c5 by johannes
[Attributor][FIX] Avoid dangling value pointers during code modification
When we replace instructions with unreachable we delete instructions. We
now avoid dangling pointers to those deleted instructions in the
`ToBeChangedToUnreachableInsts` set. Other modification collections
might need to be updated in the future as well.
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/include/llvm/IR/ValueHandle.h
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/undefined_behavior.ll
Commit a4088c75cc1034307400076d29b35905d0ae58b2 by johannes
[Attributor][FIX] Carefully change invokes to calls (after manifest)
Before we manually inserted unreachable early but that could lead to
broken PHI nodes. Now we use the existing late modification
functionality.
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/nonzero-address-spaces.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead.ll
The file was modifiedllvm/test/Transforms/Attributor/liveness.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/recursion.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/fp80.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/return-constant.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/crash.ll
The file was modifiedllvm/test/Transforms/Attributor/noreturn_async.ll
Commit 338a601612ca36e112b14f622eb310985b93192a by mtrofin
Revert "[NFC][InlineCost] Factor cost modeling out of CallAnalyzer
traversal."
This reverts commit 76aab66d34446ccf764cf8127b73e1517df75fb4.
Failure:
http://lab.llvm.org:8011/builders/clang-with-thin-lto-ubuntu/builds/20562,
will investigate and resubmit.
The file was modifiedllvm/lib/Analysis/InlineCost.cpp