<?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 swiftcc.ll</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>122b0220 - [WebAssembly] Remove datalayout strings from llc tests</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/swiftcc.ll#122b0220</link>
        <description>[WebAssembly] Remove datalayout strings from llc testsThe data layout strings do not have any effect on llc tests and will becomemisleadingly out of date as we continue to update the canonical data layout, soremove them from the tests.Differential Revision: https://reviews.llvm.org/D105842

            List of files:
            /llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/swiftcc.ll</description>
        <pubDate>Wed, 14 Jul 2021 18:17:08 +0000</pubDate>
        <dc:creator>Thomas Lively &lt;tlively@google.com&gt;</dc:creator>
    </item>
<item>
        <title>08670d43 - [WebAssembly] Support swiftself and swifterror for WebAssembly target</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/swiftcc.ll#08670d43</link>
        <description>[WebAssembly] Support swiftself and swifterror for WebAssembly targetSummary:Swift ABI is based on basic C ABI described here https://github.com/WebAssembly/tool-conventions/blob/master/BasicCABI.mdSwift Calling Convention on WebAssembly is a little deffer from swiftccon another architectures.On non WebAssembly arch, swiftcc accepts extra parameters that areattributed with swifterror or swiftself by caller. Even if calleedoesn&apos;t have these parameters, the invocation succeed ignoring extraparameters.But WebAssembly strictly checks that callee and caller signatures aresame. https://github.com/WebAssembly/design/blob/master/Semantics.md#callsSo at WebAssembly level, all swiftcc functions end up extra argumentsand all function definitions and invocations explicitly have additionalparameters to fill swifterror and swiftself.This patch support signature difference for swiftself and swifterror ccis swiftcc.e.g.```declare swiftcc void @foo(i32, i32)@data = global i8* bitcast (void (i32, i32)* @foo to i8*)define swiftcc void @bar() {  %1 = load i8*, i8** @data  %2 = bitcast i8* %1 to void (i32, i32, i32)*  call swiftcc void %2(i32 1, i32 2, i32 swiftself 3)  ret void}```For swiftcc, emit additional swiftself and swifterror parametersif there aren&apos;t while lowering. These additional parameters are addedfor both callee and caller.They are necessary to match callee and caller signature for direct andindirect function call.Differential Revision: https://reviews.llvm.org/D76049

            List of files:
            /llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/swiftcc.ll</description>
        <pubDate>Fri, 20 Mar 2020 00:39:34 +0000</pubDate>
        <dc:creator>Yuta Saito &lt;kateinoigakukun@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
