<?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 misexpect-switch.proftext</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>bac6cd5b - [misexpect] Re-implement MisExpect Diagnostics</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext#bac6cd5b</link>
        <description>[misexpect] Re-implement MisExpect DiagnosticsReimplements MisExpect diagnostics from D66324 to reconstruct itsoriginal checking methodology only using MD_prof branch_weightsmetadata.New checks rely on 2 invariants:1) For frontend instrumentation, MD_prof branch_weights will always be   populated before llvm.expect intrinsics are lowered.2) for IR and sample profiling, llvm.expect intrinsics will always be   lowered before branch_weights are populated from the IR profiles.These invariants allow the checking to assume how the existing branchweights are populated depending on the profiling method used, and emitthe correct diagnostics. If these invariants are ever invalidated, theMisExpect related checks would need to be updated, potentially byre-introducing MD_misexpect metadata, and ensuring it always will betransformed the same way as branch_weights in other optimization passes.Frontend based profiling is now enabled without using LLVM Args, byintroducing a new CodeGen option, and checking if the -Wmisexpect flaghas been passed on the command line.Reviewed By: tejohnsonDifferential Revision: https://reviews.llvm.org/D115907

            List of files:
            /llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext</description>
        <pubDate>Fri, 01 Apr 2022 22:03:48 +0000</pubDate>
        <dc:creator>Paul Kirth &lt;paulkirth@google.com&gt;</dc:creator>
    </item>
<item>
        <title>46774df3 - [misexpect] Re-implement MisExpect Diagnostics</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext#46774df3</link>
        <description>[misexpect] Re-implement MisExpect DiagnosticsReimplements MisExpect diagnostics from D66324 to reconstruct itsoriginal checking methodology only using MD_prof branch_weightsmetadata.New checks rely on 2 invariants:1) For frontend instrumentation, MD_prof branch_weights will always be   populated before llvm.expect intrinsics are lowered.2) for IR and sample profiling, llvm.expect intrinsics will always be   lowered before branch_weights are populated from the IR profiles.These invariants allow the checking to assume how the existing branchweights are populated depending on the profiling method used, and emitthe correct diagnostics. If these invariants are ever invalidated, theMisExpect related checks would need to be updated, potentially byre-introducing MD_misexpect metadata, and ensuring it always will betransformed the same way as branch_weights in other optimization passes.Frontend based profiling is now enabled without using LLVM Args, byintroducing a new CodeGen option, and checking if the -Wmisexpect flaghas been passed on the command line.Reviewed By: tejohnsonDifferential Revision: https://reviews.llvm.org/D115907

            List of files:
            /llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext</description>
        <pubDate>Tue, 29 Mar 2022 17:20:12 +0000</pubDate>
        <dc:creator>Paul Kirth &lt;paulkirth@google.com&gt;</dc:creator>
    </item>
<item>
        <title>2add3fbd - [misexpect] Re-implement MisExpect Diagnostics</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext#2add3fbd</link>
        <description>[misexpect] Re-implement MisExpect DiagnosticsReimplements MisExpect diagnostics from D66324 to reconstruct itsoriginal checking methodology only using MD_prof branch_weightsmetadata.New checks rely on 2 invariants:1) For frontend instrumentation, MD_prof branch_weights will always be   populated before llvm.expect intrinsics are lowered.2) for IR and sample profiling, llvm.expect intrinsics will always be   lowered before branch_weights are populated from the IR profiles.These invariants allow the checking to assume how the existing branchweights are populated depending on the profiling method used, and emitthe correct diagnostics. If these invariants are ever invalidated, theMisExpect related checks would need to be updated, potentially byre-introducing MD_misexpect metadata, and ensuring it always will betransformed the same way as branch_weights in other optimization passes.Frontend based profiling is now enabled without using LLVM Args, byintroducing a new CodeGen option, and checking if the -Wmisexpect flaghas been passed on the command line.Reviewed By: tejohnsonDifferential Revision: https://reviews.llvm.org/D115907

            List of files:
            /llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext</description>
        <pubDate>Sat, 19 Mar 2022 00:54:23 +0000</pubDate>
        <dc:creator>Paul Kirth &lt;paulkirth@google.com&gt;</dc:creator>
    </item>
<item>
        <title>6cf560d6 - Revert &quot;Revert &quot;[misexpect] Re-implement MisExpect Diagnostics&quot;&quot;</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext#6cf560d6</link>
        <description>Revert &quot;Revert &quot;[misexpect] Re-implement MisExpect Diagnostics&quot;&quot;I mistakenly reverted my commit, so I&apos;m relanding it.This reverts commit 10866a1df4a82cdc54187330c509a2d46235455d.

            List of files:
            /llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext</description>
        <pubDate>Fri, 18 Mar 2022 00:04:22 +0000</pubDate>
        <dc:creator>Paul Kirth &lt;paulkirth@google.com&gt;</dc:creator>
    </item>
<item>
        <title>e7749d47 - [misexpect] Re-implement MisExpect Diagnostics</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext#e7749d47</link>
        <description>[misexpect] Re-implement MisExpect DiagnosticsReimplements MisExpect diagnostics from D66324 to reconstruct itsoriginal checking methodology only using MD_prof branch_weightsmetadata.New checks rely on 2 invariants:1) For frontend instrumentation, MD_prof branch_weights will always be   populated before llvm.expect intrinsics are lowered.2) for IR and sample profiling, llvm.expect intrinsics will always be   lowered before branch_weights are populated from the IR profiles.These invariants allow the checking to assume how the existing branchweights are populated depending on the profiling method used, and emitthe correct diagnostics. If these invariants are ever invalidated, theMisExpect related checks would need to be updated, potentially byre-introducing MD_misexpect metadata, and ensuring it always will betransformed the same way as branch_weights in other optimization passes.Frontend based profiling is now enabled without using LLVM Args, byintroducing a new CodeGen option, and checking if the -Wmisexpect flaghas been passed on the command line.Differential Revision: https://reviews.llvm.org/D115907

            List of files:
            /llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext</description>
        <pubDate>Wed, 09 Mar 2022 16:01:38 +0000</pubDate>
        <dc:creator>Paul Kirth &lt;paulkirth@google.com&gt;</dc:creator>
    </item>
<item>
        <title>3d6f5301 - [PGO] Include the mem ops into the function hash.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext#3d6f5301</link>
        <description>[PGO] Include the mem ops into the function hash.To avoid hash collisions when the only difference is in mem ops.

            List of files:
            /llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext</description>
        <pubDate>Wed, 29 Jul 2020 22:22:13 +0000</pubDate>
        <dc:creator>Hiroshi Yamauchi &lt;yamauchi@google.com&gt;</dc:creator>
    </item>
<item>
        <title>ae7589e1 - Revert &quot;[PGO] Include the mem ops into the function hash.&quot;</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext#ae7589e1</link>
        <description>Revert &quot;[PGO] Include the mem ops into the function hash.&quot;This reverts commit 120e66b3418b37b95fc1dbbb23e296a602a24fa8.Due to a buildbot failure.

            List of files:
            /llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext</description>
        <pubDate>Wed, 29 Jul 2020 22:04:57 +0000</pubDate>
        <dc:creator>Hiroshi Yamauchi &lt;yamauchi@google.com&gt;</dc:creator>
    </item>
<item>
        <title>120e66b3 - [PGO] Include the mem ops into the function hash.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext#120e66b3</link>
        <description>[PGO] Include the mem ops into the function hash.To avoid hash collisions when the only difference is in mem ops.Differential Revision: https://reviews.llvm.org/D84782

            List of files:
            /llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext</description>
        <pubDate>Tue, 28 Jul 2020 17:09:49 +0000</pubDate>
        <dc:creator>Hiroshi Yamauchi &lt;yamauchi@google.com&gt;</dc:creator>
    </item>
<item>
        <title>7bdad084 - Reland &quot;clang-misexpect: Profile Guided Validation of Performance Annotations in LLVM&quot;</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext#7bdad084</link>
        <description>Reland &quot;clang-misexpect: Profile Guided Validation of Performance Annotations in LLVM&quot;This patch contains the basic functionality for reporting potentiallyincorrect usage of __builtin_expect() by comparing the developer&apos;sannotation against a collected PGO profile. A more detailed proposal anddiscussion appears on the CFE-dev mailing list(http://lists.llvm.org/pipermail/cfe-dev/2019-July/062971.html) and aprototype of the initial frontend changes appear here in D65300We revised the work in D65300 by moving the misexpect check into theLLVM backend, and adding support for IR and sampling based profiles, inaddition to frontend instrumentation.We add new misexpect metadata tags to those instructions directlyinfluenced by the llvm.expect intrinsic (branch, switch, and select)when lowering the intrinsics. The misexpect metadata containsinformation about the expected target of the intrinsic so that we cancheck against the correct PGO counter when emitting diagnostics, and thecompiler&apos;s values for the LikelyBranchWeight and UnlikelyBranchWeight.We use these branch weight values to determine when to emit thediagnostic to the user.A future patch should address the comment at the top ofLowerExpectIntrisic.cpp to hoist the LikelyBranchWeight andUnlikelyBranchWeight values into a shared space that can be accessedoutside of the LowerExpectIntrinsic pass. Once that is done, themisexpect metadata can be updated to be smaller.In the long term, it is possible to reconstruct portions of themisexpect metadata from the existing profile data. However, we haveavoided this to keep the code simple, and because some kind of metadatatag will be required to identify which branch/switch/select instructionsare influenced by the use of llvm.expectPatch By: paulkirthDifferential Revision: https://reviews.llvm.org/D66324llvm-svn: 371635

            List of files:
            /llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext</description>
        <pubDate>Wed, 11 Sep 2019 16:19:50 +0000</pubDate>
        <dc:creator>Petr Hosek &lt;phosek@chromium.org&gt;</dc:creator>
    </item>
<item>
        <title>394a8ed8 - clang-misexpect: Profile Guided Validation of Performance Annotations in LLVM</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext#394a8ed8</link>
        <description>clang-misexpect: Profile Guided Validation of Performance Annotations in LLVMThis patch contains the basic functionality for reporting potentiallyincorrect usage of __builtin_expect() by comparing the developer&apos;sannotation against a collected PGO profile. A more detailed proposal anddiscussion appears on the CFE-dev mailing list(http://lists.llvm.org/pipermail/cfe-dev/2019-July/062971.html) and aprototype of the initial frontend changes appear here in D65300We revised the work in D65300 by moving the misexpect check into theLLVM backend, and adding support for IR and sampling based profiles, inaddition to frontend instrumentation.We add new misexpect metadata tags to those instructions directlyinfluenced by the llvm.expect intrinsic (branch, switch, and select)when lowering the intrinsics. The misexpect metadata containsinformation about the expected target of the intrinsic so that we cancheck against the correct PGO counter when emitting diagnostics, and thecompiler&apos;s values for the LikelyBranchWeight and UnlikelyBranchWeight.We use these branch weight values to determine when to emit thediagnostic to the user.A future patch should address the comment at the top ofLowerExpectIntrisic.cpp to hoist the LikelyBranchWeight andUnlikelyBranchWeight values into a shared space that can be accessedoutside of the LowerExpectIntrinsic pass. Once that is done, themisexpect metadata can be updated to be smaller.In the long term, it is possible to reconstruct portions of themisexpect metadata from the existing profile data. However, we haveavoided this to keep the code simple, and because some kind of metadatatag will be required to identify which branch/switch/select instructionsare influenced by the use of llvm.expectPatch By: paulkirthDifferential Revision: https://reviews.llvm.org/D66324llvm-svn: 371584

            List of files:
            /llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext</description>
        <pubDate>Wed, 11 Sep 2019 01:09:16 +0000</pubDate>
        <dc:creator>Petr Hosek &lt;phosek@chromium.org&gt;</dc:creator>
    </item>
<item>
        <title>a10802fd - clang-misexpect: Profile Guided Validation of Performance Annotations in LLVM</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext#a10802fd</link>
        <description>clang-misexpect: Profile Guided Validation of Performance Annotations in LLVMThis patch contains the basic functionality for reporting potentiallyincorrect usage of __builtin_expect() by comparing the developer&apos;sannotation against a collected PGO profile. A more detailed proposal anddiscussion appears on the CFE-dev mailing list(http://lists.llvm.org/pipermail/cfe-dev/2019-July/062971.html) and aprototype of the initial frontend changes appear here in D65300We revised the work in D65300 by moving the misexpect check into theLLVM backend, and adding support for IR and sampling based profiles, inaddition to frontend instrumentation.We add new misexpect metadata tags to those instructions directlyinfluenced by the llvm.expect intrinsic (branch, switch, and select)when lowering the intrinsics. The misexpect metadata containsinformation about the expected target of the intrinsic so that we cancheck against the correct PGO counter when emitting diagnostics, and thecompiler&apos;s values for the LikelyBranchWeight and UnlikelyBranchWeight.We use these branch weight values to determine when to emit thediagnostic to the user.A future patch should address the comment at the top ofLowerExpectIntrisic.cpp to hoist the LikelyBranchWeight andUnlikelyBranchWeight values into a shared space that can be accessedoutside of the LowerExpectIntrinsic pass. Once that is done, themisexpect metadata can be updated to be smaller.In the long term, it is possible to reconstruct portions of themisexpect metadata from the existing profile data. However, we haveavoided this to keep the code simple, and because some kind of metadatatag will be required to identify which branch/switch/select instructionsare influenced by the use of llvm.expectPatch By: paulkirthDifferential Revision: https://reviews.llvm.org/D66324llvm-svn: 371484

            List of files:
            /llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext</description>
        <pubDate>Tue, 10 Sep 2019 03:11:39 +0000</pubDate>
        <dc:creator>Petr Hosek &lt;phosek@chromium.org&gt;</dc:creator>
    </item>
</channel>
</rss>
