<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in ReduceMetadata.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>5a667c0e - [llvm] Use nullptr instead of 0 (NFC)</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp#5a667c0e</link>
        <description>[llvm] Use nullptr instead of 0 (NFC)Identified with modernize-use-nullptr.

            List of files:
            /llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp</description>
        <pubDate>Tue, 28 Dec 2021 16:52:25 +0000</pubDate>
        <dc:creator>Kazu Hirata &lt;kazu@google.com&gt;</dc:creator>
    </item>
<item>
        <title>0b5051ce - [llvm-reduce] Don&apos;t reuse SmallVector across calls to getAllMetadata()</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp#0b5051ce</link>
        <description>[llvm-reduce] Don&apos;t reuse SmallVector across calls to getAllMetadata()The SmallVector is not cleared in calls to getAllMetadata().Reviewed By: MeinersburDifferential Revision: https://reviews.llvm.org/D113808

            List of files:
            /llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp</description>
        <pubDate>Fri, 12 Nov 2021 23:10:59 +0000</pubDate>
        <dc:creator>Arthur Eubanks &lt;aeubanks@google.com&gt;</dc:creator>
    </item>
<item>
        <title>6f288bd7 - [llvm-reduce] Count chunks by running a preliminary reduction</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp#6f288bd7</link>
        <description>[llvm-reduce] Count chunks by running a preliminary reductionHaving a separate counting method runs the risk of a mismatch betweenthe actual reduction method and the counting method.Instead, create an Oracle that always returns true for shouldKeep(), runthe reduction, and count how many times shouldKeep() was called. Themodule should not be modified if shouldKeep() always returns true.Reviewed By: MeinersburDifferential Revision: https://reviews.llvm.org/D113537

            List of files:
            /llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp</description>
        <pubDate>Fri, 12 Nov 2021 02:45:59 +0000</pubDate>
        <dc:creator>Arthur Eubanks &lt;aeubanks@google.com&gt;</dc:creator>
    </item>
<item>
        <title>77bc3ba3 - [NFC][llvm-reduce] Cleanup types</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp#77bc3ba3</link>
        <description>[NFC][llvm-reduce] Cleanup typesUse Module&amp; wherever possible.Since every reduction immediately turns Chunks into an Oracle, directly pass Oracle instead.Reviewed By: hansDifferential Revision: https://reviews.llvm.org/D111122

            List of files:
            /llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp</description>
        <pubDate>Tue, 05 Oct 2021 07:05:37 +0000</pubDate>
        <dc:creator>Arthur Eubanks &lt;aeubanks@google.com&gt;</dc:creator>
    </item>
<item>
        <title>d9562a8e - [llvm-reduce] Reduce metadata references.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp#d9562a8e</link>
        <description>[llvm-reduce] Reduce metadata references.The ReduceMetadata pass before this patch removed metadata on a per-MDNode (or NamedMDNode) basis. Either all references to an MDNode are kept, or all of them are removed. However, MDNodes are uniqued, meaning that references to MDNodes with the same data become references to the same MDNodes. As a consequence, e.g. tbaa references to the same type will all have the same MDNode reference and hence make it impossible to reduce only keeping metadata on those memory access for which they are interesting.Moreover, MDNodes can also be referenced by some intrinsics or other MDNodes. These references were not considered for removal leading to the possibility that MDNodes are not actually removed even if selected to be removed by the oracle.This patch changes ReduceMetadata to reduces based on removable metadata references instead. MDNodes without references implicitly dropped anyway. References by intrinsic calls should be removed by ReduceOperands or ReduceInstructions. References in other MDNodes cannot be removed as it would violate the immutability of MDNodes.Additionally, ReduceMetadata pass before this patch used `setMetadata(I, NULL)` to remove references, where `I` is the index in the array returned by `getAllMetadata`. However, `setMetadata` expects a MDKind (such as `MD_tbaa`) as first argument. `getAllMetadata` does not return those in consecutive order (otherwise it would not need to be a `std::pair` with `first` representing the MDKind).Reviewed By: aeubanks, swamulismDifferential Revision: https://reviews.llvm.org/D110534

            List of files:
            /llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp</description>
        <pubDate>Wed, 29 Sep 2021 15:51:13 +0000</pubDate>
        <dc:creator>Michael Kruse &lt;llvm-project@meinersbur.de&gt;</dc:creator>
    </item>
<item>
        <title>a39c7ab9 - [NFCI][llvm-reduce] Cleanup Delta passes to use Oracle abstraction</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp#a39c7ab9</link>
        <description>[NFCI][llvm-reduce] Cleanup Delta passes to use Oracle abstractionSummary:I think, this results in much more understandable/readable flow.At least the original logic was perhaps the most hard thing for me to grasp when taking an initial look on the delta passes.Reviewers: nickdesaulniers, dblaikie, diegotf, george.burgess.ivReviewed By: nickdesaulniersSubscribers: llvm-commitsTags: #llvmDifferential Revision: https://reviews.llvm.org/D83287

            List of files:
            /llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp</description>
        <pubDate>Wed, 08 Jul 2020 09:05:15 +0000</pubDate>
        <dc:creator>Roman Lebedev &lt;lebedev.ri@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>c4da7eec - llvm-reduce: Fix inconsistencies between int/unsigned usage (standardize on int)</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp#c4da7eec</link>
        <description>llvm-reduce: Fix inconsistencies between int/unsigned usage (standardize on int)llvm-svn: 372270

            List of files:
            /llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp</description>
        <pubDate>Wed, 18 Sep 2019 22:30:25 +0000</pubDate>
        <dc:creator>David Blaikie &lt;dblaikie@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>e0d9a0bd - Fix -Wdocumentation warning - void function doesn&apos;t need a @returns. NFCI.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp#e0d9a0bd</link>
        <description>Fix -Wdocumentation warning - void function doesn&apos;t need a @returns. NFCI.llvm-svn: 371606

            List of files:
            /llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp</description>
        <pubDate>Wed, 11 Sep 2019 11:12:00 +0000</pubDate>
        <dc:creator>Simon Pilgrim &lt;llvm-dev@redking.me.uk&gt;</dc:creator>
    </item>
<item>
        <title>477c1df4 - llvm-reduce: Add pass to reduce Metadata</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp#477c1df4</link>
        <description>llvm-reduce: Add pass to reduce MetadataPatch by Diego Trevi&#241;o!Differential Revision: https://reviews.llvm.org/D65026llvm-svn: 371562

            List of files:
            /llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp</description>
        <pubDate>Tue, 10 Sep 2019 22:09:58 +0000</pubDate>
        <dc:creator>David Blaikie &lt;dblaikie@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
