<?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 print-shift.ll</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>a6241a5d - [AVR] Remove unneeded XFAILs from the Generic CodeGen tests</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/CodeGen/Generic/print-shift.ll#a6241a5d</link>
        <description>[AVR] Remove unneeded XFAILs from the Generic CodeGen testsThese have been in place for quite a while now.Several bugs have since been fixed, and these tests now pass.llvm-svn: 351679

            List of files:
            /llvm-project-15.0.7/llvm/test/CodeGen/Generic/print-shift.ll</description>
        <pubDate>Sun, 20 Jan 2019 11:16:58 +0000</pubDate>
        <dc:creator>Dylan McKay &lt;me@dylanmckay.io&gt;</dc:creator>
    </item>
<item>
        <title>5c8a50bd - [AVR] Add/remove XFAILs to get the backend passing Generic CodeGen tests</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/CodeGen/Generic/print-shift.ll#5c8a50bd</link>
        <description>[AVR] Add/remove XFAILs to get the backend passing Generic CodeGen testsA few tests have since been fixed, and a few since now fail.llvm-svn: 308151

            List of files:
            /llvm-project-15.0.7/llvm/test/CodeGen/Generic/print-shift.ll</description>
        <pubDate>Sun, 16 Jul 2017 23:33:50 +0000</pubDate>
        <dc:creator>Dylan McKay &lt;me@dylanmckay.io&gt;</dc:creator>
    </item>
<item>
        <title>23af6484 - [opaque pointer type] Add textual IR support for explicit type parameter to the call instruction</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/CodeGen/Generic/print-shift.ll#23af6484</link>
        <description>[opaque pointer type] Add textual IR support for explicit type parameter to the call instructionSee r230786 and r230794 for similar changes to gep and loadrespectively.Call is a bit different because it often doesn&apos;t have a single explicittype - usually the type is deduced from the arguments, and just thereturn type is explicit. In those cases there&apos;s no need to change theIR.When that&apos;s not the case, the IR usually contains the pointer type ofthe first operand - but since typed pointers are going away, thatrepresentation is insufficient so I&apos;m just stripping the &quot;pointerness&quot;of the explicit type away.This does make the IR a bit weird - it /sort of/ reads like the type ofthe first operand: &quot;call void () %x(&quot; but %x is actually of type &quot;void()*&quot; and will eventually be just of type &quot;ptr&quot;. But this seems not toobad and I don&apos;t think it would benefit from repeating the type(&quot;void (), void () * %x(&quot; and then eventually &quot;void (), ptr %x(&quot;) as hasbeen done with gep and load.This also has a side benefit: since the explicit type is no longer apointer, there&apos;s no ambiguity between an explicit type and a functionthat returns a function pointer. Previously this case needed an explicittype (eg: a function returning a void() function was written as&quot;call void () () * @x(&quot; rather than &quot;call void () * @x(&quot; because of theambiguity between a function returning a pointer to a void() functionand a function returning void).No ambiguity means even function pointer return types can just bewritten alone, without writing the whole function&apos;s type.This leaves /only/ the varargs case where the explicit type is required.Given the special type syntax in call instructions, the regex-fu usedfor migration was a bit more involved in its own unique way (as everyone of these is) so here it is. Use it in conjunction with the apply.shscript and associated find/xargs commands I&apos;ve provided in rr230786 tomigrate your out of tree tests. Do let me know if any of this doesn&apos;tcover your cases &amp; we can iterate on a more general script/regexes tohelp others with out of tree tests.About 9 test cases couldn&apos;t be automatically migrated - half of thosewere functions returning function pointers, where I just had to manuallydelete the function argument types now that we didn&apos;t need an explicitfunction type there. The other half were typedefs of function types usedin calls - just had to manually drop the * from those.import fileinputimport sysimport repat = re.compile(r&apos;((?:=|:|^|\s)call\s(?:[^@]*?))(\s*$|\s*(?:(?:\[\[[a-zA-Z0-9_]+\]\]|[@%](?:(&quot;)?[\\\?@a-zA-Z0-9_.]*?(?(3)&quot;|)|{{.*}}))(?:\(|$)|undef|inttoptr|bitcast|null|asm).*$)&apos;)addrspace_end = re.compile(r&quot;addrspace\(\d+\)\s*\*$&quot;)func_end = re.compile(&quot;(?:void.*|\)\s*)\*$&quot;)def conv(match, line):  if not match or re.search(addrspace_end, match.group(1)) or not re.search(func_end, match.group(1)):    return line  return line[:match.start()] + match.group(1)[:match.group(1).rfind(&apos;*&apos;)].rstrip() + match.group(2) + line[match.end():]for line in sys.stdin:  sys.stdout.write(conv(re.search(pat, line), line))llvm-svn: 235145

            List of files:
            /llvm-project-15.0.7/llvm/test/CodeGen/Generic/print-shift.ll</description>
        <pubDate>Thu, 16 Apr 2015 23:24:18 +0000</pubDate>
        <dc:creator>David Blaikie &lt;dblaikie@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>a79ac14f - [opaque pointer type] Add textual IR support for explicit type parameter to load instruction</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/CodeGen/Generic/print-shift.ll#a79ac14f</link>
        <description>[opaque pointer type] Add textual IR support for explicit type parameter to load instructionEssentially the same as the GEP change in r230786.A similar migration script can be used to update test cases, though a few moretest case improvements/changes were required this time around: (r229269-r229278)import fileinputimport sysimport repat = re.compile(r&quot;((?:=|:|^)\s*load (?:atomic )?(?:volatile )?(.*?))(| addrspace\(\d+\) *)\*($| *(?:%|@|null|undef|blockaddress|getelementptr|addrspacecast|bitcast|inttoptr|\[\[[a-zA-Z]|\{\{).*$)&quot;)for line in sys.stdin:  sys.stdout.write(re.sub(pat, r&quot;\1, \2\3*\4&quot;, line))Reviewers: rafael, dexonsmith, grosserDifferential Revision: http://reviews.llvm.org/D7649llvm-svn: 230794

            List of files:
            /llvm-project-15.0.7/llvm/test/CodeGen/Generic/print-shift.ll</description>
        <pubDate>Fri, 27 Feb 2015 21:17:42 +0000</pubDate>
        <dc:creator>David Blaikie &lt;dblaikie@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>79e6c749 - [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/CodeGen/Generic/print-shift.ll#79e6c749</link>
        <description>[opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instructionOne of several parallel first steps to remove the target type of pointers,replacing them with a single opaque pointer type.This adds an explicit type parameter to the gep instruction so that when thefirst parameter becomes an opaque pointer type, the type to gep through isstill available to the instructions.* This doesn&apos;t modify gep operators, only instructions (operators will be  handled separately)* Textual IR changes only. Bitcode (including upgrade) and changing the  in-memory representation will be in separate changes.* geps of vectors are transformed as:    getelementptr &lt;4 x float*&gt; %x, ...  -&gt;getelementptr float, &lt;4 x float*&gt; %x, ...  Then, once the opaque pointer type is introduced, this will ultimately look  like:    getelementptr float, &lt;4 x ptr&gt; %x  with the unambiguous interpretation that it is a vector of pointers to float.* address spaces remain on the pointer, not the type:    getelementptr float addrspace(1)* %x  -&gt;getelementptr float, float addrspace(1)* %x  Then, eventually:    getelementptr float, ptr addrspace(1) %xImportantly, the massive amount of test case churn has been automated bysame crappy python code. I had to manually update a few test cases thatwouldn&apos;t fit the script&apos;s model (r228970,r229196,r229197,r229198). Thepython script just massages stdin and writes the result to stdout, Ithen wrapped that in a shell script to handle replacing files, thenusing the usual find+xargs to migrate all the files.update.py:import fileinputimport sysimport reibrep = re.compile(r&quot;(^.*?[^%\w]getelementptr inbounds )(((?:&lt;\d* x )?)(.*?)(| addrspace\(\d\)) *\*(|&gt;)(?:$| *(?:%|@|null|undef|blockaddress|getelementptr|addrspacecast|bitcast|inttoptr|\[\[[a-zA-Z]|\{\{).*$))&quot;)normrep = re.compile(       r&quot;(^.*?[^%\w]getelementptr )(((?:&lt;\d* x )?)(.*?)(| addrspace\(\d\)) *\*(|&gt;)(?:$| *(?:%|@|null|undef|blockaddress|getelementptr|addrspacecast|bitcast|inttoptr|\[\[[a-zA-Z]|\{\{).*$))&quot;)def conv(match, line):  if not match:    return line  line = match.groups()[0]  if len(match.groups()[5]) == 0:    line += match.groups()[2]  line += match.groups()[3]  line += &quot;, &quot;  line += match.groups()[1]  line += &quot;\n&quot;  return linefor line in sys.stdin:  if line.find(&quot;getelementptr &quot;) == line.find(&quot;getelementptr inbounds&quot;):    if line.find(&quot;getelementptr inbounds&quot;) != line.find(&quot;getelementptr inbounds (&quot;):      line = conv(re.match(ibrep, line), line)  elif line.find(&quot;getelementptr &quot;) != line.find(&quot;getelementptr (&quot;):    line = conv(re.match(normrep, line), line)  sys.stdout.write(line)apply.sh:for name in &quot;$@&quot;do  python3 `dirname &quot;$0&quot;`/update.py &lt; &quot;$name&quot; &gt; &quot;$name.tmp&quot; &amp;&amp; mv &quot;$name.tmp&quot; &quot;$name&quot;  rm -f &quot;$name.tmp&quot;doneThe actual commands:From llvm/src:find test/ -name *.ll | xargs ./apply.shFrom llvm/src/tools/clang:find test/ -name *.mm -o -name *.m -o -name *.cpp -o -name *.c | xargs -I &apos;{}&apos; ../../apply.sh &quot;{}&quot;From llvm/src/tools/polly:find test/ -name *.ll | xargs ./apply.shAfter that, check-all (with llvm, clang, clang-tools-extra, lld,compiler-rt, and polly all checked out).The extra &apos;rm&apos; in the apply.sh script is due to a few files in clang&apos;s testsuite using interesting unicode stuff that my python script was throwingexceptions on. None of those files needed to be migrated, so it seemedsufficient to ignore those cases.Reviewers: rafael, dexonsmith, grosserDifferential Revision: http://reviews.llvm.org/D7636llvm-svn: 230786

            List of files:
            /llvm-project-15.0.7/llvm/test/CodeGen/Generic/print-shift.ll</description>
        <pubDate>Fri, 27 Feb 2015 19:29:02 +0000</pubDate>
        <dc:creator>David Blaikie &lt;dblaikie@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>c8054d90 - Eliminate more uses of llvm-as and llvm-dis.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/CodeGen/Generic/print-shift.ll#c8054d90</link>
        <description>Eliminate more uses of llvm-as and llvm-dis.llvm-svn: 81293

            List of files:
            /llvm-project-15.0.7/llvm/test/CodeGen/Generic/print-shift.ll</description>
        <pubDate>Wed, 09 Sep 2009 00:09:15 +0000</pubDate>
        <dc:creator>Dan Gohman &lt;gohman@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>3f04773f - Remove llvm-upgrade and update tests.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/CodeGen/Generic/print-shift.ll#3f04773f</link>
        <description>Remove llvm-upgrade and update tests.llvm-svn: 47296

            List of files:
            /llvm-project-15.0.7/llvm/test/CodeGen/Generic/print-shift.ll</description>
        <pubDate>Tue, 19 Feb 2008 01:41:04 +0000</pubDate>
        <dc:creator>Tanya Lattner &lt;tonic@nondot.org&gt;</dc:creator>
    </item>
<item>
        <title>83b3d826 - Regression is gone, don&apos;t try to find it on clean target.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/CodeGen/Generic/print-shift.ll#83b3d826</link>
        <description>Regression is gone, don&apos;t try to find it on clean target.llvm-svn: 33296

            List of files:
            /llvm-project-15.0.7/llvm/test/CodeGen/Generic/print-shift.ll</description>
        <pubDate>Wed, 17 Jan 2007 07:59:14 +0000</pubDate>
        <dc:creator>Reid Spencer &lt;rspencer@reidspencer.com&gt;</dc:creator>
    </item>
</channel>
</rss>
