[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-703184-105":59,"doc-detail-703184-en":130,"doc-similar-703184":162},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","xdsl-sidekick-compilation-for-ssa-based-compilers","xDSL - Sidekick Compilation for SSA-Based Compilers","","Traditionally, compiler researchers either experiment inside an existing production compiler or build prototype compilers, each with significant tradeoffs in effort, engineering, and transition cost. The work introduces sidekick compiler frameworks that interoperate via textual interchange formats and declarative abstraction descriptions. Each framework targets specific needs while sharing abstractions across frameworks to ease migration to production. xDSL demonstrates the approach for MLIR, evaluating teaching, DSL compilation, and rewrite system prototyping, and discusses practical transition trade-offs.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/xdsl-sidekick-compilation-for-ssa-based-compilers/703184/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/xdsl-sidekick-compilation-for-ssa-based-compilers/703184.png","ImageObject",300,407,{"name":92,"@type":93},"jay","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-29","2026-11-13",true,{"@type":102,"interactionType":103,"userInteractionCount":24},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem do sidekick compiler frameworks aim to solve?","Question",{"text":112,"@type":113},"They reduce the cost of working in production compiler settings by allowing specialized frameworks to interoperate, while sharing abstractions to make the prototype-to-production transition easier.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does xDSL interoperate with MLIR?",{"text":117,"@type":113},"xDSL interoperates with MLIR through a shared textual intermediate representation (IR) and by exchanging IRs using an IR Definition Language.",{"name":119,"@type":110,"acceptedAnswer":120},"Which use cases demonstrate xDSL’s impact?",{"text":121,"@type":113},"The work evaluates teaching, DSL compilation, and rewrite system prototyping, showing how xDSL affects development in each scenario.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},703184,1794562117,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":24,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":19,"preview_urls":145},3985747858866,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","xDSL: Sidekick Compilation for SSA-Based Compilers  \nMathieu Fehr  \nUniversity of Edinburgh Edinburgh, United Kingdom [mathieu.fehr@ed.ac.uk](mathieu.fehr@ed.ac.uk)  \nAlexandre Lopoukhine  \nUniversity of Cambridge Cambridge, United Kingdom [sasha.lopoukhine@cl.cam.ac.uk](sasha.lopoukhine@cl.cam.ac.uk)  \nChristos Vasiladiotis  \nUniversity of Edinburgh Edinburgh, United Kingdom [c.vasiladiotis@ed.ac.uk](c.vasiladiotis@ed.ac.uk)  \nMichel Weber  \nETH Zurich Zurich, Switzerland [michel.weber@inf.ethz.ch](michel.weber@inf.ethz.ch)  \nMartin Paul Lücke  \nUniversity of Edinburgh Edinburgh, United Kingdom [martin.luecke@ed.ac.uk](martin.luecke@ed.ac.uk)  \nMichel Steuwer  \nTechnische Universität Berlin Berlin, Germany [michel.steuwer@tu-berlin.de](michel.steuwer@tu-berlin.de)  \nChristian Ulmann∗ ETH Zurich Zurich, Switzerland christian.ulmann@inf.ethz.ch  \nThéo Degioanni† ENS Rennes Rennes, France  \n[theo.degioanni@ens-rennes.fr](theo.degioanni@ens-rennes.fr)  \nTobias Grosser  \nUniversity of Cambridge Cambridge, United Kingdom [tobias.grosser@cst.cam.ac.uk](tobias.grosser@cst.cam.ac.uk)  \nAbstract  \nTraditionally, compiler researchers either conduct experiments within an existing production compiler or develop their own prototype compiler; both options come with tradeoffs. On one hand, prototyping in a production compiler can be cumbersome, as they are often optimized for program compilation speed at the expense of software simplicity and development speed. On the other hand, the transition from a prototype compiler to production requires significant engineering work. To bridge this gap, we introduce the concept of sidekick compiler frameworks, an approach that uses multiple frameworks that interoperate with each other by leveraging textual interchange formats and declarative descriptions of abstractions. Each such compiler framework is specialized for specific use cases, such as performance or prototyping. Abstractions are by design shared across frameworks, simplifying the transition from prototyping to production. We demonstrate this idea with xDSL, a sidekick for MLIR focused on prototyping and teaching. xDSL interoperates with MLIR through a shared textual IR and the exchange ofIRs through an IR Definition Language. The benefits of sidekick compiler frameworks are evaluated by showing on three use cases how xDSL impacts their development: teaching, DSL compilation, and rewrite system prototyping. We also investigate the trade-offs that xDSL offers, and demonstrate how we simplify the transition between  \n∗ Now at NextSilicon.†Now at Nvidia.  \nThis work is licensed under a Creative Commons Attribution 4 .0 International License.  \nCGO’25, Las Vegas, NV, USA  \n© 2025 Copyright held by the owner/author(s) .  \nACM ISBN 979-8-4007-1275-3/25/03  \n[https://doi.org/10.1145/3696443.3708945](https://doi.org/10.1145/3696443.3708945)  \nframeworks using the IRDL dialect. With sidekick compilation, we envision a future in which engineers minimize the cost of development by choosing a framework built for their immediate needs, and later transitioning to production with minimal overhead.  \nCCS Concepts: • Software and its engineering → Compilers.  \nKeywords: compilation frameworks, intermediate representations, interchange formats  \nACM Reference Format:  \nMathieu Fehr, Michel Weber, Christian Ulmann, Alexandre Lopoukhine, Martin Paul Lücke, Théo Degioanni, Christos Vasiladiotis, Michel Steuwer, and Tobias Grosser. 2025. xDSL: Sidekick Compilation for SSA-Based Compilers. In Proceedings of the 23rd ACM/IEEE International Symposium on Code Generation and Optimization (CGO’25), March 01–05, 2025, Las Vegas, NV, USA. ACM, New York, NY, USA, 14 pages. [https://doi.org/10.1145/3696443.3708945](https://doi.org/10.1145/3696443.3708945)  \n1 Introduction  \nWhen conducting compiler research, one can either embed a new idea in a preexisting compiler or develop an entirely new prototype compiler intended to show a speedup or other benefits. While writing a pro","cbCaiigZYkoCmRts","https://ap.wps.com/l/cbCaiigZYkoCmRts","pdf",958539,14,"English","# Introduction\n## Motivation and trade-offs in compiler prototyping\n## Compiler frameworks and modular infrastructure\n## Compatibility via shared IR concepts","[{\"question\":\"What problem do sidekick compiler frameworks aim to solve?\",\"answer\":\"They reduce the cost of working in production compiler settings by allowing specialized frameworks to interoperate, while sharing abstractions to make the prototype-to-production transition easier.\"},{\"question\":\"How does xDSL interoperate with MLIR?\",\"answer\":\"xDSL interoperates with MLIR through a shared textual intermediate representation (IR) and by exchanging IRs using an IR Definition Language.\"},{\"question\":\"Which use cases demonstrate xDSL’s impact?\",\"answer\":\"The work evaluates teaching, DSL compilation, and rewrite system prototyping, showing how xDSL affects development in each scenario.\"}]","xDSL - Sidekick Compilation for SSA-Based Compilers | PDF",35,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/083fc74e4b9ac19adbb16d17bd317b8c.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/8a6466052ab948f581db986b7b660ad2.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/3a164c4b5e6c0016a8bc9e388e2a3ef9.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/24ac60892b392c86cb2658ba2130a741.webp",980,1268,{"list":163,"token":66},[164,170,177,184,191,198,205,212,219,226],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":29,"category_name":40,"create_tm":169},701214,"Finding Time - How Programmers Manipulate Code to Decrease Runtime","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012054147/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=quWrmQFM7JPZOWk%2FtSpadMOhPE0%3D","finding-time-how-programmers-manipulate-code-to-decrease-runtime",1794524189,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":175,"category_name":40,"create_tm":176},296619,"Sustainable food systems for food security - Need for combination of local and global approaches - table of contents","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229904814611/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=HHEbLyV%2BScndjgQ1mpkUwO9OZsU%3D","sustainable-food-systems-for-food-security-need-for-combination-of-local-and-global-approaches-table-of-contents",12,1789734830,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":182,"category_name":40,"create_tm":183},450024,"Boosting the photocatalytic H2O2 production of covalent organic frameworks with a heteroatomlocked acceptor and gas diffusion system","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229924477339/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=%2BXMLq4tgic2hW%2Bs9RVg08JD6MPU%3D","boosting-the-photocatalytic-h2o2-production-of-covalent-organic-frameworks-with-a-heteroatomlocked-acceptor-and-gas-diffusion-system",15,1790731848,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":189,"category_name":40,"create_tm":190},502103,"Universal Registration Document 2025 - including the Annual Financial Report","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229931526994/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=JxCfRSu5c3%2FYiwdbGtgblB4YT0I%3D","universal-registration-document-2025-including-the-annual-financial-report",43,1791029283,{"doc_id":192,"doc_title":193,"file_type":137,"home_preview_img_url":194,"slug":195,"view_count":196,"category_name":40,"create_tm":197},234,"XNX Gas Detector Calibration Guide 2023","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727733/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=Y6vr0K1KVt%2FlER69091t75ReByA%3D","xnx-gas-detector-calibration-2023",7896,1776136863,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":203,"category_name":40,"create_tm":204},227,"Sridevi Matka Chart Full Guide to Panel, Jodi & Pana Records","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727553/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=xrghiQzXEma2eMWE4WIVYxgoGr4%3D","sridevi-matka-chart-full-guide-to-panel-jodi-pana-records",6933,1776136851,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":210,"category_name":40,"create_tm":211},167314,"Linear Algebra and Its Applications 6th edition Textbook by david c. lay","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229876163444/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=yz%2Fk4lg62FDy6OMOligmrmwbnNQ%3D","linear-algebra-and-its-applications-sixth-edition-david-c-lay-steven-r-lay-judi-j-mcdonald",5866,1788211707,{"doc_id":213,"doc_title":214,"file_type":137,"home_preview_img_url":215,"slug":216,"view_count":217,"category_name":40,"create_tm":218},32070,"Blueprint Pengelolaan Sumber Daya Manusia Kesehatan (SDMK) Tahun 2025–2029","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229758685683/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=OVQ4A%2FxWmj0ztSGBqJby5fXqei0%3D","healthcare-human-resources-management-blueprint-sdmk-20252029",1292,1780779716,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":224,"category_name":40,"create_tm":225},148514,"Developmental Biology - Twelfth Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229868853261/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=tKV%2F01EULx68QXRHLzJomjam%2B2o%3D","developmental-biology-twelfth-edition",1250,1787780705,{"doc_id":227,"doc_title":228,"file_type":137,"home_preview_img_url":229,"slug":230,"view_count":231,"category_name":40,"create_tm":232},121,"Letter of Intent Sample for School","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693418846/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110979&Signature=BrJzzsBHQCFjkO%2ByIInMrJ0HF%2Bg%3D","letter-of-intent-sample-for-school",1059,1776135210]