<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in memmove.ll</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>a11faeed446882a81e79d780125d93e7199df645 - [test] Switch to use -passes syntax in various test cases</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll#a11faeed446882a81e79d780125d93e7199df645</link>
        <description>[test] Switch to use -passes syntax in various test cases

            List of files:
            /llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll</description>
        <pubDate>Thu, 01 Dec 2022 20:00:24 +0000</pubDate>
        <dc:creator>Bjorn Pettersson &lt;bjorn.a.pettersson@ericsson.com&gt;</dc:creator>
    </item>
<item>
        <title>f3a928e2334a4e8e3f09406f2ce7e1cbac520f95 - [opt] Don&apos;t translate legacy -analysis flag to require&lt;analysis&gt;</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll#f3a928e2334a4e8e3f09406f2ce7e1cbac520f95</link>
        <description>[opt] Don&apos;t translate legacy -analysis flag to require&lt;analysis&gt;Tests relying on this should explicitly use -passes=&apos;require&lt;analysis&gt;,foo&apos;.

            List of files:
            /llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll</description>
        <pubDate>Fri, 07 Oct 2022 20:12:59 +0000</pubDate>
        <dc:creator>Arthur Eubanks &lt;aeubanks@google.com&gt;</dc:creator>
    </item>
<item>
        <title>42d98d80fb86b0eb7058a7288e7a4c900f04c556 - [MemCpyOpt] Convert tests to opaque pointers (NFC)</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll#42d98d80fb86b0eb7058a7288e7a4c900f04c556</link>
        <description>[MemCpyOpt] Convert tests to opaque pointers (NFC)Converted using the script athttps://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34.

            List of files:
            /llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll</description>
        <pubDate>Wed, 05 Oct 2022 12:26:57 +0000</pubDate>
        <dc:creator>Nikita Popov &lt;npopov@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>88003cea1c6eb3ebcb18b4f1b9d0e2052dd76fe4 - [MemCpyOpt] Remove MemDepAnalysis-based implementation</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll#88003cea1c6eb3ebcb18b4f1b9d0e2052dd76fe4</link>
        <description>[MemCpyOpt] Remove MemDepAnalysis-based implementationThe MemorySSA-based implementation has been enabled for a few months(since D94376). This patch drops the old MDA-based implementationentirely.I&apos;ve kept this to only the basic cleanup of dropping variousconditions -- the code could be further cleaned up now that thereis only one implementation.Differential Revision: https://reviews.llvm.org/D102113

            List of files:
            /llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll</description>
        <pubDate>Sat, 08 May 2021 18:39:54 +0000</pubDate>
        <dc:creator>Nikita Popov &lt;nikita.ppv@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>d1cacd59281937fccc682babbb8a259a6aa79c68 - [MemCpyOpt] Teach memcpyopt to handle loads from the constant memory.</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll#d1cacd59281937fccc682babbb8a259a6aa79c68</link>
        <description>[MemCpyOpt] Teach memcpyopt to handle loads from the constant memory.- Loads from the constant memory (either explicit one or as the source  of memory transfer intrinsics) won&apos;t alias any stores.Reviewed By: asbirlea, efriedmaDifferential Revision: https://reviews.llvm.org/D107605

            List of files:
            /llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll</description>
        <pubDate>Thu, 05 Aug 2021 20:48:49 +0000</pubDate>
        <dc:creator>Michael Liao &lt;michael.hliao@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>d2f8961b7b8149848a78321c03ae9c74c45a2d5d - [MemCpyOpt] Remove unused check-prefixes</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll#d2f8961b7b8149848a78321c03ae9c74c45a2d5d</link>
        <description>[MemCpyOpt] Remove unused check-prefixesJust use default CHECK

            List of files:
            /llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll</description>
        <pubDate>Mon, 09 Nov 2020 11:38:39 +0000</pubDate>
        <dc:creator>Simon Pilgrim &lt;llvm-dev@redking.me.uk&gt;</dc:creator>
    </item>
<item>
        <title>cd6f40f4326c8251ebb628122bf092ca5536a634 - [MemCpyOpt] Add test scaffolding for MSSA based MemCpyOpt</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll#cd6f40f4326c8251ebb628122bf092ca5536a634</link>
        <description>[MemCpyOpt] Add test scaffolding for MSSA based MemCpyOptThis adds an -enable-memcpyopt-memoryssa option that currently doesnothing apart from requiring MSSA as a dependency. The tests aresplit to run both with the option disabled and enabled. I went withthis rather than the separate directory DSE uses, as I found itconvenient to have a direct side-by-side comparison of differences.Differential Revision: https://reviews.llvm.org/D89206

            List of files:
            /llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll</description>
        <pubDate>Fri, 02 Oct 2020 18:48:39 +0000</pubDate>
        <dc:creator>Nikita Popov &lt;nikita.ppv@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>64c54c5459cfae8478ce28710784f36b0d94fb2f - [MemCpyOpt] Regnerate test checks (NFC)</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll#64c54c5459cfae8478ce28710784f36b0d94fb2f</link>
        <description>[MemCpyOpt] Regnerate test checks (NFC)

            List of files:
            /llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll</description>
        <pubDate>Thu, 01 Oct 2020 20:42:14 +0000</pubDate>
        <dc:creator>Nikita Popov &lt;nikita.ppv@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>f31811f2dcbea87388f732d179c6deea908b0447 - [BasicAA] Rename deprecated -basicaa to -basic-aa</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll#f31811f2dcbea87388f732d179c6deea908b0447</link>
        <description>[BasicAA] Rename deprecated -basicaa to -basic-aaFollow-up to D82607Revert an accidental change (empty.ll) of D82683

            List of files:
            /llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll</description>
        <pubDate>Sat, 27 Jun 2020 03:41:37 +0000</pubDate>
        <dc:creator>Fangrui Song &lt;maskray@google.com&gt;</dc:creator>
    </item>
<item>
        <title>cee313d288a4faf0355d76fb6e0e927e211d08a5 - Revert &quot;Temporarily Revert &quot;Add basic loop fusion pass.&quot;&quot;</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll#cee313d288a4faf0355d76fb6e0e927e211d08a5</link>
        <description>Revert &quot;Temporarily Revert &quot;Add basic loop fusion pass.&quot;&quot;The reversion apparently deleted the test/Transforms directory.Will be re-reverting again.llvm-svn: 358552

            List of files:
            /llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll</description>
        <pubDate>Wed, 17 Apr 2019 04:52:47 +0000</pubDate>
        <dc:creator>Eric Christopher &lt;echristo@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>1e68724d24ba38de7c7cdb2e1939d78c8b37cc0d - Remove alignment argument from memcpy/memmove/memset in favour of alignment attributes (Step 1)</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll#1e68724d24ba38de7c7cdb2e1939d78c8b37cc0d</link>
        <description>Remove alignment argument from memcpy/memmove/memset in favour of alignment attributes (Step 1)Summary: This is a resurrection of work first proposed and discussed in Aug 2015:   http://lists.llvm.org/pipermail/llvm-dev/2015-August/089384.htmland initially landed (but then backed out) in Nov 2015:   http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20151109/312083.html The @llvm.memcpy/memmove/memset intrinsics currently have an explicit argumentwhich is required to be a constant integer. It represents the alignment of thedest (and source), and so must be the minimum of the actual alignment of thetwo. This change is the first in a series that allows source and dest to eachhave their own alignments by using the alignment attribute on their arguments. In this change we:1) Remove the alignment argument.2) Add alignment attributes to the source &amp; dest arguments. We, temporarily,   require that the alignments for source &amp; dest be equal. For example, code which used to read:  call void @llvm.memcpy.p0i8.p0i8.i32(i8* %dest, i8* %src, i32 100, i32 4, i1 false)will now read  call void @llvm.memcpy.p0i8.p0i8.i32(i8* align 4 %dest, i8* align 4 %src, i32 100, i1 false) Downstream users may have to update their lit tests that check for@llvm.memcpy/memmove/memset call/declaration patterns. The following extended sed scriptmay help with updating the majority of your tests, but it does not catch all possiblepatterns so some manual checking and updating will be required.s~declare void @llvm\.mem(set|cpy|move)\.p([^(]*)\((.*), i32, i1\)~declare void @llvm.mem\1.p\2(\3, i1)~gs~call void @llvm\.memset\.p([^(]*)i8\(i8([^*]*)\* (.*), i8 (.*), i8 (.*), i32 [01], i1 ([^)]*)\)~call void @llvm.memset.p\1i8(i8\2* \3, i8 \4, i8 \5, i1 \6)~gs~call void @llvm\.memset\.p([^(]*)i16\(i8([^*]*)\* (.*), i8 (.*), i16 (.*), i32 [01], i1 ([^)]*)\)~call void @llvm.memset.p\1i16(i8\2* \3, i8 \4, i16 \5, i1 \6)~gs~call void @llvm\.memset\.p([^(]*)i32\(i8([^*]*)\* (.*), i8 (.*), i32 (.*), i32 [01], i1 ([^)]*)\)~call void @llvm.memset.p\1i32(i8\2* \3, i8 \4, i32 \5, i1 \6)~gs~call void @llvm\.memset\.p([^(]*)i64\(i8([^*]*)\* (.*), i8 (.*), i64 (.*), i32 [01], i1 ([^)]*)\)~call void @llvm.memset.p\1i64(i8\2* \3, i8 \4, i64 \5, i1 \6)~gs~call void @llvm\.memset\.p([^(]*)i128\(i8([^*]*)\* (.*), i8 (.*), i128 (.*), i32 [01], i1 ([^)]*)\)~call void @llvm.memset.p\1i128(i8\2* \3, i8 \4, i128 \5, i1 \6)~gs~call void @llvm\.memset\.p([^(]*)i8\(i8([^*]*)\* (.*), i8 (.*), i8 (.*), i32 ([0-9]*), i1 ([^)]*)\)~call void @llvm.memset.p\1i8(i8\2* align \6 \3, i8 \4, i8 \5, i1 \7)~gs~call void @llvm\.memset\.p([^(]*)i16\(i8([^*]*)\* (.*), i8 (.*), i16 (.*), i32 ([0-9]*), i1 ([^)]*)\)~call void @llvm.memset.p\1i16(i8\2* align \6 \3, i8 \4, i16 \5, i1 \7)~gs~call void @llvm\.memset\.p([^(]*)i32\(i8([^*]*)\* (.*), i8 (.*), i32 (.*), i32 ([0-9]*), i1 ([^)]*)\)~call void @llvm.memset.p\1i32(i8\2* align \6 \3, i8 \4, i32 \5, i1 \7)~gs~call void @llvm\.memset\.p([^(]*)i64\(i8([^*]*)\* (.*), i8 (.*), i64 (.*), i32 ([0-9]*), i1 ([^)]*)\)~call void @llvm.memset.p\1i64(i8\2* align \6 \3, i8 \4, i64 \5, i1 \7)~gs~call void @llvm\.memset\.p([^(]*)i128\(i8([^*]*)\* (.*), i8 (.*), i128 (.*), i32 ([0-9]*), i1 ([^)]*)\)~call void @llvm.memset.p\1i128(i8\2* align \6 \3, i8 \4, i128 \5, i1 \7)~gs~call void @llvm\.mem(cpy|move)\.p([^(]*)i8\(i8([^*]*)\* (.*), i8([^*]*)\* (.*), i8 (.*), i32 [01], i1 ([^)]*)\)~call void @llvm.mem\1.p\2i8(i8\3* \4, i8\5* \6, i8 \7, i1 \8)~gs~call void @llvm\.mem(cpy|move)\.p([^(]*)i16\(i8([^*]*)\* (.*), i8([^*]*)\* (.*), i16 (.*), i32 [01], i1 ([^)]*)\)~call void @llvm.mem\1.p\2i16(i8\3* \4, i8\5* \6, i16 \7, i1 \8)~gs~call void @llvm\.mem(cpy|move)\.p([^(]*)i32\(i8([^*]*)\* (.*), i8([^*]*)\* (.*), i32 (.*), i32 [01], i1 ([^)]*)\)~call void @llvm.mem\1.p\2i32(i8\3* \4, i8\5* \6, i32 \7, i1 \8)~gs~call void @llvm\.mem(cpy|move)\.p([^(]*)i64\(i8([^*]*)\* (.*), i8([^*]*)\* (.*), i64 (.*), i32 [01], i1 ([^)]*)\)~call void @llvm.mem\1.p\2i64(i8\3* \4, i8\5* \6, i64 \7, i1 \8)~gs~call void @llvm\.mem(cpy|move)\.p([^(]*)i128\(i8([^*]*)\* (.*), i8([^*]*)\* (.*), i128 (.*), i32 [01], i1 ([^)]*)\)~call void @llvm.mem\1.p\2i128(i8\3* \4, i8\5* \6, i128 \7, i1 \8)~gs~call void @llvm\.mem(cpy|move)\.p([^(]*)i8\(i8([^*]*)\* (.*), i8([^*]*)\* (.*), i8 (.*), i32 ([0-9]*), i1 ([^)]*)\)~call void @llvm.mem\1.p\2i8(i8\3* align \8 \4, i8\5* align \8 \6, i8 \7, i1 \9)~gs~call void @llvm\.mem(cpy|move)\.p([^(]*)i16\(i8([^*]*)\* (.*), i8([^*]*)\* (.*), i16 (.*), i32 ([0-9]*), i1 ([^)]*)\)~call void @llvm.mem\1.p\2i16(i8\3* align \8 \4, i8\5* align \8 \6, i16 \7, i1 \9)~gs~call void @llvm\.mem(cpy|move)\.p([^(]*)i32\(i8([^*]*)\* (.*), i8([^*]*)\* (.*), i32 (.*), i32 ([0-9]*), i1 ([^)]*)\)~call void @llvm.mem\1.p\2i32(i8\3* align \8 \4, i8\5* align \8 \6, i32 \7, i1 \9)~gs~call void @llvm\.mem(cpy|move)\.p([^(]*)i64\(i8([^*]*)\* (.*), i8([^*]*)\* (.*), i64 (.*), i32 ([0-9]*), i1 ([^)]*)\)~call void @llvm.mem\1.p\2i64(i8\3* align \8 \4, i8\5* align \8 \6, i64 \7, i1 \9)~gs~call void @llvm\.mem(cpy|move)\.p([^(]*)i128\(i8([^*]*)\* (.*), i8([^*]*)\* (.*), i128 (.*), i32 ([0-9]*), i1 ([^)]*)\)~call void @llvm.mem\1.p\2i128(i8\3* align \8 \4, i8\5* align \8 \6, i128 \7, i1 \9)~g The remaining changes in the series will:Step 2) Expand the IRBuilder API to allow creation of memcpy/memmove with differing   source and dest alignments.Step 3) Update Clang to use the new IRBuilder API.Step 4) Update Polly to use the new IRBuilder API.Step 5) Update LLVM passes that create memcpy/memmove calls to use the new IRBuilder API,        and those that use use MemIntrinsicInst::[get|set]Alignment() to use        getDestAlignment() and getSourceAlignment() instead.Step 6) Remove the single-alignment IRBuilder API for memcpy/memmove, and the        MemIntrinsicInst::[get|set]Alignment() methods.Reviewers: pete, hfinkel, lhames, reames, bolluReviewed By: reamesSubscribers: niosHD, reames, jholewinski, qcolombet, jfb, sanjoy, arsenm, dschuff, dylanmckay, mehdi_amini, sdardis, nemanjai, david2050, nhaehnle, javed.absar, sbc100, jgravelle-google, eraman, aheejin, kbarton, JDevlieghere, asb, rbar, johnrusso, simoncook, jordy.potman.lists, apazos, sabuasal, llvm-commitsDifferential Revision: https://reviews.llvm.org/D41675llvm-svn: 322965

            List of files:
            /llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll</description>
        <pubDate>Fri, 19 Jan 2018 17:13:12 +0000</pubDate>
        <dc:creator>Daniel Neilson &lt;dneilson@azul.com&gt;</dc:creator>
    </item>
<item>
        <title>67cf9a723ba5cf0a711efcb317b241104b558779 - Revert &quot;Change memcpy/memset/memmove to have dest and source alignments.&quot;</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll#67cf9a723ba5cf0a711efcb317b241104b558779</link>
        <description>Revert &quot;Change memcpy/memset/memmove to have dest and source alignments.&quot;This reverts commit r253511.This likely broke the bots inhttp://lab.llvm.org:8011/builders/clang-ppc64-elf-linux2/builds/20202http://bb.pgr.jp/builders/clang-3stage-i686-linux/builds/3787llvm-svn: 253543

            List of files:
            /llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll</description>
        <pubDate>Thu, 19 Nov 2015 05:56:52 +0000</pubDate>
        <dc:creator>Pete Cooper &lt;peter_cooper@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>72bc23ef02bad3873d3572b2be529404a461d449 - Change memcpy/memset/memmove to have dest and source alignments.</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll#72bc23ef02bad3873d3572b2be529404a461d449</link>
        <description>Change memcpy/memset/memmove to have dest and source alignments.Note, this was reviewed (and more details are in) http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20151109/312083.htmlThese intrinsics currently have an explicit alignment argument which isrequired to be a constant integer.  It represents the alignment of thesource and dest, and so must be the minimum of those.This change allows source and dest to each have their own alignmentsby using the alignment attribute on their arguments.  The alignmentargument itself is removed.There are a few places in the code for which the code needs to bechecked by an expert as to whether using only src/dest alignment issafe.  For those places, they currently take the minimum of src/destalignments which matches the current behaviour.For example, code which used to read:  call void @llvm.memcpy.p0i8.p0i8.i32(i8* %dest, i8* %src, i32 500, i32 8, i1 false)will now read:  call void @llvm.memcpy.p0i8.p0i8.i32(i8* align 8 %dest, i8* align 8 %src, i32 500, i1 false)For out of tree owners, I was able to strip alignment from calls using sed by replacing:  (call.*llvm\.memset.*)i32\ [0-9]*\,\ i1 false\)with:  $1i1 false)and similarly for memmove and memcpy.I then added back in alignment to test cases which needed it.A similar commit will be made to clang which actually has many differences in alignment as nowIRBuilder can generate different source/dest alignments on calls.In IRBuilder itself, a new argument was added.  Instead of calling:  CreateMemCpy(Dst, Src, getInt64(Size), DstAlign, /* isVolatile */ false)you now call  CreateMemCpy(Dst, Src, getInt64(Size), DstAlign, SrcAlign, /* isVolatile */ false)There is a temporary class (IntegerAlignment) which takes the source alignment and rejectsimplicit conversion from bool.  This is to prevent isVolatile here from passing its defaultparameter to the source alignment.Note, changes in future can now be made to codegen.  I didn&apos;t change anything here, but thischange should enable better memcpy code sequences.Reviewed by Hal Finkel.llvm-svn: 253511

            List of files:
            /llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll</description>
        <pubDate>Wed, 18 Nov 2015 22:17:24 +0000</pubDate>
        <dc:creator>Pete Cooper &lt;peter_cooper@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>f72d05bc7bd83d8a808c2c8662873a0840f39b4d - [opaque pointer type] Add textual IR support for explicit type parameter to gep operator</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll#f72d05bc7bd83d8a808c2c8662873a0840f39b4d</link>
        <description>[opaque pointer type] Add textual IR support for explicit type parameter to gep operatorSimilar to gep (r230786) and load (r230794) changes.Similar migration script can be used to update test cases, whichsuccessfully migrated all of LLVM and Polly, but about 4 test casesneeded manually changes in Clang.(this script will read the contents of stdin and massage it into stdout- wrap it in the &apos;apply.sh&apos; script shown in previous commits + xargs toapply it over a large set of test cases)import fileinputimport sysimport rerep = re.compile(r&quot;(getelementptr(?:\s+inbounds)?\s*\()((&lt;\d*\s+x\s+)?([^@]*?)(|\s*addrspace\(\d+\))\s*\*(?(3)&gt;)\s*)(?=$|%|@|null|undef|blockaddress|getelementptr|addrspacecast|bitcast|inttoptr|zeroinitializer|&lt;|\[\[[a-zA-Z]|\{\{)&quot;, re.MULTILINE | re.DOTALL)def conv(match):  line = match.group(1)  line += match.group(4)  line += &quot;, &quot;  line += match.group(2)  return lineline = sys.stdin.read()off = 0for match in re.finditer(rep, line):  sys.stdout.write(line[off:match.start()])  sys.stdout.write(conv(match))  off = match.end()sys.stdout.write(line[off:])llvm-svn: 232184

            List of files:
            /llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll</description>
        <pubDate>Fri, 13 Mar 2015 18:20:45 +0000</pubDate>
        <dc:creator>David Blaikie &lt;dblaikie@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>79e6c74981f4755ed55b38175d8cd34ec91395b1 - [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll#79e6c74981f4755ed55b38175d8cd34ec91395b1</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/llvm/test/Transforms/MemCpyOpt/memmove.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>c1c7a1309c039ec8539e3c851f332825d8855223 - Update Transforms tests to use CHECK-LABEL for easier debugging. No functionality change.</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll#c1c7a1309c039ec8539e3c851f332825d8855223</link>
        <description>Update Transforms tests to use CHECK-LABEL for easier debugging. No functionality change.This update was done with the following bash script:  find test/Transforms -name &quot;*.ll&quot; | \  while read NAME; do    echo &quot;$NAME&quot;    if ! grep -q &quot;^; *RUN: *llc&quot; $NAME; then      TEMP=`mktemp -t temp`      cp $NAME $TEMP      sed -n &quot;s/^define [^@]*@\([A-Za-z0-9_]*\)(.*$/\1/p&quot; &lt; $NAME | \      while read FUNC; do        sed -i &apos;&apos; &quot;s/;\(.*\)\([A-Za-z0-9_]*\):\( *\)@$FUNC\([( ]*\)\$/;\1\2-LABEL:\3@$FUNC(/g&quot; $TEMP      done      mv $TEMP $NAME    fi  donellvm-svn: 186268

            List of files:
            /llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll</description>
        <pubDate>Sun, 14 Jul 2013 01:42:54 +0000</pubDate>
        <dc:creator>Stephen Lin &lt;stephenwlin@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>80ed9dc9e58f356139785cfb6a9f24cb64b76986 - rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which is</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll#80ed9dc9e58f356139785cfb6a9f24cb64b76986</link>
        <description>rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which isfor pre-2.9 bitcode files.  We keep x86 unaligned loads, movnt, crc32, and thetarget indep prefetch change.As usual, updating the testsuite is a PITA.llvm-svn: 133337

            List of files:
            /llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll</description>
        <pubDate>Sat, 18 Jun 2011 06:05:24 +0000</pubDate>
        <dc:creator>Chris Lattner &lt;sabre@nondot.org&gt;</dc:creator>
    </item>
<item>
        <title>b90ed2233c9fac46bac53de5833dd5e35db10acf - manually upgrade a bunch of tests to modern syntax, and remove some that</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll#b90ed2233c9fac46bac53de5833dd5e35db10acf</link>
        <description>manually upgrade a bunch of tests to modern syntax, and remove some thatare either unreduced or only test old syntax.llvm-svn: 133228

            List of files:
            /llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll</description>
        <pubDate>Fri, 17 Jun 2011 03:14:27 +0000</pubDate>
        <dc:creator>Chris Lattner &lt;sabre@nondot.org&gt;</dc:creator>
    </item>
<item>
        <title>02538ac4d3a5e3bfc4fc530505e7f6bff144c13d - Make BasicAliasAnalysis a normal AliasAnalysis implementation which</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll#02538ac4d3a5e3bfc4fc530505e7f6bff144c13d</link>
        <description>Make BasicAliasAnalysis a normal AliasAnalysis implementation whichdoes normal initialization and normal chaining. Change the defaultAliasAnalysis implementation to NoAlias.Update StandardCompileOpts.h and friends to explicitly requestBasicAliasAnalysis.Update tests to explicitly request -basicaa.llvm-svn: 116720

            List of files:
            /llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll</description>
        <pubDate>Mon, 18 Oct 2010 18:04:47 +0000</pubDate>
        <dc:creator>Dan Gohman &lt;gohman@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>18800927221ce81d454948dd196c3a9049b6e6c3 - Change tests from &quot;opt %s&quot; to &quot;opt &lt; %s&quot; so that opt doesn&apos;t see the</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll#18800927221ce81d454948dd196c3a9049b6e6c3</link>
        <description>Change tests from &quot;opt %s&quot; to &quot;opt &lt; %s&quot; so that opt doesn&apos;t see theinput filename so that opt doesn&apos;t print the input filename in theoutput so that grep lines in the tests don&apos;t unintentionally matchstrings in the input filename.llvm-svn: 81537

            List of files:
            /llvm-project/llvm/test/Transforms/MemCpyOpt/memmove.ll</description>
        <pubDate>Fri, 11 Sep 2009 18:01:28 +0000</pubDate>
        <dc:creator>Dan Gohman &lt;gohman@apple.com&gt;</dc:creator>
    </item>
</channel>
</rss>
