LLVM/project 47f72b6mlir/cmake/modules AddMLIRPython.cmake, mlir/python CMakeLists.txt

massage cmake
DeltaFile
+94-31mlir/cmake/modules/AddMLIRPython.cmake
+10-61mlir/python/CMakeLists.txt
+104-922 files

LLVM/project 91d93c1llvm/include/llvm/MC MCSymbolGOFF.h, llvm/lib/MC GOFFObjectWriter.cpp

Add back isInSection()

Also add isInEDSection() as simple check.
DeltaFile
+5-12llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.cpp
+4-0llvm/include/llvm/MC/MCSymbolGOFF.h
+1-1llvm/lib/MC/GOFFObjectWriter.cpp
+10-133 files

LLVM/project 9d230ballvm/lib/Target/SystemZ/MCTargetDesc SystemZHLASMAsmStreamer.cpp

Fix formatting.
DeltaFile
+3-3llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.cpp
+3-31 files

LLVM/project be9d8d8llvm/lib/Target/SystemZ/MCTargetDesc SystemZHLASMAsmStreamer.cpp

Remove isInSection
DeltaFile
+1-1llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.cpp
+1-11 files

LLVM/project d5ca9bellvm/lib/MC GOFFObjectWriter.cpp, llvm/lib/Target/SystemZ/MCTargetDesc SystemZHLASMAsmStreamer.cpp

Rewrite if conditions
DeltaFile
+7-11llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.cpp
+4-5llvm/lib/MC/GOFFObjectWriter.cpp
+11-162 files

LLVM/project c7a43dcllvm/lib/MC GOFFObjectWriter.cpp

Fix formatting
DeltaFile
+1-2llvm/lib/MC/GOFFObjectWriter.cpp
+1-21 files

LLVM/project bf42b2bllvm/lib/CodeGen/AsmPrinter AsmPrinter.cpp, llvm/lib/MC MCAsmInfoGOFF.cpp

Remove loop with type information
DeltaFile
+0-12llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+3-3llvm/test/CodeGen/SystemZ/zos-symbol-1.ll
+0-4llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+2-2llvm/test/CodeGen/SystemZ/zos-section-1.ll
+1-1llvm/test/CodeGen/SystemZ/zos-section-2.ll
+0-1llvm/lib/MC/MCAsmInfoGOFF.cpp
+6-236 files

LLVM/project 971571fllvm/include/llvm/MC MCSymbolGOFF.h, llvm/lib/CodeGen/AsmPrinter AsmPrinter.cpp

Remove MCSA_WeakReference/MCSA_Global from the loop
DeltaFile
+4-3llvm/include/llvm/MC/MCSymbolGOFF.h
+1-3llvm/lib/MC/MCSymbolGOFF.cpp
+0-3llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+1-0llvm/lib/MC/MCAsmInfoGOFF.cpp
+6-94 files

LLVM/project 54f16adllvm/include/llvm/MC MCSymbolGOFF.h, llvm/lib/MC MCSymbolGOFF.cpp GOFFObjectWriter.cpp

Remove hasLDAttributes() and hasERAttributes()

Just inline and simplify the expressions.
DeltaFile
+11-10llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.cpp
+0-9llvm/lib/MC/MCSymbolGOFF.cpp
+4-2llvm/lib/MC/GOFFObjectWriter.cpp
+0-3llvm/include/llvm/MC/MCSymbolGOFF.h
+15-244 files

LLVM/project 2b93f65llvm/include/llvm/MC MCSymbolGOFF.h MCGOFFStreamer.h, llvm/lib/MC MCGOFFStreamer.cpp MCSymbolGOFF.cpp

Address most review comments
DeltaFile
+1-67llvm/lib/MC/MCGOFFStreamer.cpp
+58-6llvm/lib/MC/MCSymbolGOFF.cpp
+13-1llvm/include/llvm/MC/MCSymbolGOFF.h
+3-9llvm/lib/MC/GOFFObjectWriter.cpp
+0-6llvm/include/llvm/MC/MCGOFFStreamer.h
+0-4llvm/lib/Target/SystemZ/MCTargetDesc/SystemZTargetStreamer.cpp
+75-932 files not shown
+76-958 files

LLVM/project b03cb5dllvm/lib/CodeGen/AsmPrinter AsmPrinter.cpp, llvm/lib/Target/SystemZ SystemZAsmPrinter.cpp

Move loop to AsmPrinter
DeltaFile
+15-0llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+0-12llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+15-122 files

LLVM/project d4cd31cllvm/lib/Target/SystemZ SystemZAsmPrinter.cpp, llvm/lib/Target/SystemZ/MCTargetDesc SystemZHLASMAsmStreamer.cpp SystemZTargetStreamer.cpp

Simplify the implementation by moving some code into finishImpl()
DeltaFile
+5-6llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.cpp
+0-6llvm/lib/Target/SystemZ/MCTargetDesc/SystemZTargetStreamer.cpp
+0-5llvm/lib/Target/SystemZ/MCTargetDesc/SystemZTargetStreamer.h
+0-4llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+1-2llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.h
+2-1llvm/test/CodeGen/SystemZ/zos-symbol-1.ll
+8-246 files

LLVM/project 8e136fallvm/lib/Target/SystemZ SystemZAsmPrinter.cpp

Remove left-over popSection()
DeltaFile
+0-1llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+0-11 files

LLVM/project a5ba260llvm/include/llvm/MC MCGOFFStreamer.h, llvm/lib/MC MCGOFFStreamer.cpp

Remove unused emitExterns()
DeltaFile
+0-4llvm/lib/Target/SystemZ/MCTargetDesc/SystemZTargetStreamer.cpp
+0-2llvm/include/llvm/MC/MCGOFFStreamer.h
+0-2llvm/lib/MC/MCGOFFStreamer.cpp
+0-1llvm/lib/Target/SystemZ/MCTargetDesc/SystemZTargetStreamer.h
+0-94 files

LLVM/project 89fbe53llvm/include/llvm/MC MCGOFFStreamer.h, llvm/lib/MC MCGOFFStreamer.cpp

Centralize setting of symbol attributes
DeltaFile
+45-38llvm/lib/MC/MCGOFFStreamer.cpp
+2-56llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.cpp
+4-0llvm/include/llvm/MC/MCGOFFStreamer.h
+51-943 files

LLVM/project cd3481ellvm/include/llvm/MC MCSymbolGOFF.h, llvm/lib/MC MCSymbolGOFF.cpp GOFFObjectWriter.cpp

Completely remove attributes from MCSymbolGOFF
DeltaFile
+6-28llvm/lib/MC/MCSymbolGOFF.cpp
+13-2llvm/lib/MC/GOFFObjectWriter.cpp
+5-10llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.cpp
+2-2llvm/include/llvm/MC/MCSymbolGOFF.h
+26-424 files

LLVM/project 4a69e54llvm/include/llvm/MC MCSymbolGOFF.h, llvm/lib/CodeGen TargetLoweringObjectFileImpl.cpp

Remove LDAttr/ERAttr and initAttributes.
DeltaFile
+25-21llvm/lib/MC/MCSymbolGOFF.cpp
+6-24llvm/include/llvm/MC/MCSymbolGOFF.h
+13-12llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.cpp
+0-9llvm/lib/MC/MCGOFFStreamer.cpp
+4-3llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+48-695 files

LLVM/project c771f71llvm/include/llvm/MC MCSymbolGOFF.h MCGOFFObjectWriter.h, llvm/lib/MC MCGOFFStreamer.cpp GOFFObjectWriter.cpp

Remove owner from MCSymbolGOFF

It's only needed on the binary object path, pushing the section into the GOFFObjectWriter is enough.
DeltaFile
+15-7llvm/lib/MC/MCGOFFStreamer.cpp
+7-5llvm/lib/MC/GOFFObjectWriter.cpp
+0-8llvm/include/llvm/MC/MCSymbolGOFF.h
+6-0llvm/include/llvm/MC/MCGOFFObjectWriter.h
+0-4llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+2-0llvm/include/llvm/MC/MCGOFFStreamer.h
+30-241 files not shown
+30-257 files

LLVM/project 48ff117llvm/lib/MC GOFFObjectWriter.cpp MCGOFFStreamer.cpp

Fix formatting
DeltaFile
+2-2llvm/lib/MC/GOFFObjectWriter.cpp
+1-2llvm/lib/MC/MCGOFFStreamer.cpp
+3-42 files

LLVM/project 9b52a8allvm/lib/MC MCGOFFStreamer.cpp MCMachOStreamer.cpp, llvm/lib/Target/SystemZ SystemZAsmPrinter.cpp

Replace MCSA_Code/Data

Use MCSA_ELF_TypeFunction/TypeObject instead.
DeltaFile
+5-4llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+2-4llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.cpp
+2-4llvm/lib/MC/MCGOFFStreamer.cpp
+0-2llvm/lib/MC/MCMachOStreamer.cpp
+0-2llvm/lib/MC/MCELFStreamer.cpp
+0-2llvm/lib/MC/MCAsmStreamer.cpp
+9-181 files not shown
+9-207 files

LLVM/project d6107edllvm/lib/MC MCAsmStreamer.cpp, llvm/lib/Target/SystemZ/MCTargetDesc SystemZHLASMAsmStreamer.cpp

Update the asm output for the linkage type
DeltaFile
+6-0llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.cpp
+2-0llvm/lib/MC/MCAsmStreamer.cpp
+1-1llvm/test/CodeGen/SystemZ/zos-symbol-1.ll
+9-13 files

LLVM/project 5e1e638llvm/include/llvm/MC MCSymbolGOFF.h MCDirectives.h, llvm/lib/MC MCSymbolGOFF.cpp MCGOFFStreamer.cpp

Add linkage attribute
DeltaFile
+3-4llvm/lib/MC/MCSymbolGOFF.cpp
+6-0llvm/lib/MC/MCGOFFStreamer.cpp
+4-0llvm/include/llvm/MC/MCSymbolGOFF.h
+2-2llvm/include/llvm/MC/MCDirectives.h
+3-0llvm/lib/MC/MCELFStreamer.cpp
+1-1llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+19-73 files not shown
+23-99 files

LLVM/project 186d09ellvm/include/llvm/MC MCGOFFAttributes.h, llvm/lib/MC MCSymbolGOFF.cpp GOFFObjectWriter.cpp

ER symbols also need to set AMODE
DeltaFile
+2-2llvm/test/CodeGen/SystemZ/zos-section-1.ll
+1-1llvm/test/CodeGen/SystemZ/zos-section-2.ll
+1-1llvm/lib/MC/MCSymbolGOFF.cpp
+1-0llvm/lib/MC/GOFFObjectWriter.cpp
+1-0llvm/include/llvm/MC/MCGOFFAttributes.h
+6-45 files

LLVM/project fce5f09llvm/include/llvm/MC MCSymbolGOFF.h, llvm/lib/MC MCSymbolGOFF.cpp

Fix some formatting issues.
DeltaFile
+3-2llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+1-3llvm/include/llvm/MC/MCSymbolGOFF.h
+2-2llvm/lib/MC/MCSymbolGOFF.cpp
+6-73 files

LLVM/project 7ce53ddllvm/include/llvm/MC MCSymbolGOFF.h, llvm/lib/MC MCSymbolGOFF.cpp

Add HLASM output and external references

Adds HLASM output and tests for it, per reviewer comment.
Also adds external references, because it fits very well
into the implementation.
DeltaFile
+151-7llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.cpp
+37-21llvm/test/CodeGen/SystemZ/zos-section-1.ll
+37-0llvm/test/CodeGen/SystemZ/zos-symbol-1.ll
+21-13llvm/test/CodeGen/SystemZ/zos-section-2.ll
+18-10llvm/lib/MC/MCSymbolGOFF.cpp
+26-2llvm/include/llvm/MC/MCSymbolGOFF.h
+290-5313 files not shown
+398-6319 files

LLVM/project ced62b3llvm/include/llvm/MC MCSymbolGOFF.h MCGOFFStreamer.h, llvm/lib/MC MCGOFFStreamer.cpp MCSymbolGOFF.cpp

[GOFF] Emit symbols for functions.

A function entry is mapped to a LD symbol with an offset to the begin of the section.
DeltaFile
+57-0llvm/lib/MC/MCGOFFStreamer.cpp
+39-0llvm/lib/MC/MCSymbolGOFF.cpp
+22-14llvm/test/CodeGen/SystemZ/zos-section-1.ll
+20-2llvm/include/llvm/MC/MCSymbolGOFF.h
+4-3llvm/include/llvm/MC/MCGOFFStreamer.h
+1-0llvm/lib/MC/CMakeLists.txt
+143-191 files not shown
+144-197 files

LLVM/project fea987bllvm/lib/ExecutionEngine/Orc/Debugging ELFDebugObjectPlugin.cpp

[ORC] Fix unchecked Expected<T> in ELFDebugObjectPlugin::FinalizePromise (#172904)

If `Alloc.finalize()` fails in the post-allocation pass, we store the
error in `FinalizePromise`. If we don't reach the post-fixup pass
afterwards the error will leak. This patch adds another case in the
DebugObject destructor that will check the `Expected<T>` and report the
error.
DeltaFile
+29-8llvm/lib/ExecutionEngine/Orc/Debugging/ELFDebugObjectPlugin.cpp
+29-81 files

LLVM/project 6d63f12llvm/lib/Analysis ValueTracking.cpp, llvm/test/Transforms/InstSimplify call.ll

[InstCombine] Propagate poison through fshl and fshr intrinsics (#172859)

Currently these intrinsics output `undef` on poison, which triggers CI
errors on PRs that want to add poison tests for funnel shifts (such as
#172723). Let's make `fshl` and `fshr` propagate poison instead.
DeltaFile
+14-19llvm/test/Transforms/InstSimplify/call.ll
+6-6llvm/unittests/Analysis/ValueTrackingTest.cpp
+2-0llvm/lib/Analysis/ValueTracking.cpp
+22-253 files

LLVM/project 5dcd381clang/lib/AST ExprConstant.cpp, clang/test/SemaCXX dllimport.cpp

[clang][ExprConstant] Fix error on static constexpr symbol in dllimport function (#171628)

Consider the following:
```
struct A {
    __declspec(dllimport) __forceinline
    static const int* foo() {
        static constexpr int var = 42;
        static constexpr const int* p = &var;
        static_assert(*p == 42, "");
        return p;
    }
};

const int* (*pfoo)() = &A::foo;

int main() {
    return pfoo() == A::foo();
}

    [88 lines not shown]
DeltaFile
+30-0clang/test/SemaCXX/dllimport.cpp
+5-3clang/lib/AST/ExprConstant.cpp
+35-32 files

LLVM/project 6e74f3bllvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/test/Transforms/InstCombine nanless-canonicalize-combine.ll

Partially handle as independent folds
DeltaFile
+49-11llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+21-32llvm/test/Transforms/InstCombine/nanless-canonicalize-combine.ll
+70-432 files