<?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 catchswitch-phi.ll</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>ac4006b0 - [InstCombine] Don&apos;t slice up PHIs when pred BB has catchswitch</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/catchswitch-phi.ll#ac4006b0</link>
        <description>[InstCombine] Don&apos;t slice up PHIs when pred BB has catchswitchIf an integer PHI has an illegal type (according to the data layout) andit is only used by `trunc` or `trunc(lshr)` operations, we split the PHIinto various instructions in its predecessors:https://github.com/llvm/llvm-project/blob/6d1543a16797fa07eecea7e542df5b42422fc721/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp#L1536-L1543So this can produce code like the following:Before:```pred:  ...bb:  %p = phi i8 [ %somevalue, %pred ], ...  ...  %tobool = trunc i8 %p to i1  use %tobool  ...```In this code, `%p` has an illegal integer type, `i8`, and its only usedin a `trunc` instruction later. In this case this pass puts extractioncode in its predecessors:After:```pred:  ...  %t = and i8 %somevalue, 1  %extract = icmp ne i8 %t, 0bb:  %p.new = phi i1 [ %extract, %pred ], ...  use %p.new instead of %tobool```But this doesn&apos;t work if `pred` is a `catchswitch` BB because it cannothave any non-PHI instructions. This CL ensures we bail out in that case.Fixes https://github.com/llvm/llvm-project/issues/55803.Reviewed By: dschuffDifferential Revision: https://reviews.llvm.org/D127699

            List of files:
            /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/catchswitch-phi.ll</description>
        <pubDate>Sat, 11 Jun 2022 04:51:16 +0000</pubDate>
        <dc:creator>Heejin Ahn &lt;aheejin@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>952e0693 - [NFC] remove &apos;br undef&apos; from InstCombine test cases</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/catchswitch-phi.ll#952e0693</link>
        <description>[NFC] remove &apos;br undef&apos; from InstCombine test casesThis is UB and allows the compiler to give any result, so these tests weren&apos;t meaningfulInstCombine tests are now clean of &apos;br undef&apos;

            List of files:
            /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/catchswitch-phi.ll</description>
        <pubDate>Fri, 10 Jun 2022 14:28:57 +0000</pubDate>
        <dc:creator>Nuno Lopes &lt;nuno.lopes@tecnico.ulisboa.pt&gt;</dc:creator>
    </item>
<item>
        <title>acdc419c - [test] Use -passes=instcombine instead of -instcombine in lots of tests. NFC</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/catchswitch-phi.ll#acdc419c</link>
        <description>[test] Use -passes=instcombine instead of -instcombine in lots of tests. NFCAnother step moving away from the deprecated syntax of specifyingpass pipeline in opt.Differential Revision: https://reviews.llvm.org/D119081

            List of files:
            /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/catchswitch-phi.ll</description>
        <pubDate>Fri, 04 Feb 2022 12:39:52 +0000</pubDate>
        <dc:creator>Bjorn Pettersson &lt;bjorn.a.pettersson@ericsson.com&gt;</dc:creator>
    </item>
<item>
        <title>51fecd17 - [InstCombine] Don&apos;t combine PHI before catchswitch</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/catchswitch-phi.ll#51fecd17</link>
        <description>[InstCombine] Don&apos;t combine PHI before catchswitchThis tries to bail out if the PHI is in a `catchswitch` BB inInstCombine. A PHI cannot be combined into a non-PHI instruction if itis in a `catchswitch` BB, because `catchswitch` BB cannot have anynon-PHI instruction other than `catchswitch` itself.The given test case started crashing after D98058.Reviewed By: lebedev.ri, rnkDifferential Revision: https://reviews.llvm.org/D105309

            List of files:
            /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/catchswitch-phi.ll</description>
        <pubDate>Thu, 01 Jul 2021 19:22:41 +0000</pubDate>
        <dc:creator>Heejin Ahn &lt;aheejin@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
