{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,2]],"date-time":"2026-10-02T07:58:18Z","timestamp":1790927898244,"version":"4.1.0"},"reference-count":45,"publisher":"Association for Computing Machinery (ACM)","issue":"OOPSLA2","funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"publisher","award":["62232001,62032010,62202220"],"award-info":[{"award-number":["62232001,62032010,62202220"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"publisher"}]},{"name":"Collaborative Innovation Center of Novel Software Technology and Industrialization, China Postdoctoral Science Foundation","award":["2024M761397"],"award-info":[{"award-number":["2024M761397"]}]},{"name":"the Fundamental Research Funds for the Central Universities","award":["2024300364"],"award-info":[{"award-number":["2024300364"]}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2025,10,9]]},"abstract":"<jats:p>Compilers are among the most foundational software ever developed. A critical component of a compiler is its optimization phase, which enhances the efficiency of the generated code. Given the sheer size and complexity of modern compilers, automated techniques for improving their optimization component have been a major area of research. This paper focuses on a specific category of issues, namely missed optimizations, where compilers fail to apply an optimization that could have made the generated code more efficient.<\/jats:p>\n                  <jats:p>\n                    To detect missed optimizations, we propose\n                    <jats:italic toggle=\"yes\">Synchronized Behavior Checking<\/jats:italic>\n                    (\n                    <jats:bold>SBC<\/jats:bold>\n                    ), a novel approach that cross-validates multiple optimizations by leveraging their coordinated behaviors. The key insight behind\n                    <jats:bold>SBC<\/jats:bold>\n                    is that the outcome of one optimization can validate whether the conditions required for another optimization were met.\n                  <\/jats:p>\n                  <jats:p>\n                    For a practical implementation of\n                    <jats:bold>SBC<\/jats:bold>\n                    , we cross-validate two optimizations at once based on two kinds of relationships \u2014 co-occurring and complementary. In the co-occurring relationship, if an optimization is applied based on a specific semantic constraint (\n                    <jats:italic toggle=\"yes\">i.e<\/jats:italic>\n                    ., optimization condition) from an input program, another optimization, which depends on the same semantic constraint, should be applied as well. Second, when two optimizations are enabled by complementary semantic constraints, exactly one of the two optimizations should be applied. When an optimization should have been applied (according to either relationship) but was not applied, we regard it as a missed optimization.\n                  <\/jats:p>\n                  <jats:p>\n                    We conduct an extensive evaluation of\n                    <jats:bold>SBC<\/jats:bold>\n                    on two state-of-the-art industry compilers LLVM and GCC.\n                    <jats:bold>SBC<\/jats:bold>\n                    successfully detects a large number of missed optimizations in both compilers, in particular, they are caused by a wide range of compiler analyses. Based on our evaluation results, we reported 101 issues to LLVM and GCC, out of which 84 have been confirmed, and 39 have been fixed or assigned (for planned fixes).\n                  <\/jats:p>\n                  <jats:p>\n                    <jats:bold>SBC<\/jats:bold>\n                    opens up a new, exciting direction for finding missed compiler optimizations.\n                  <\/jats:p>","DOI":"10.1145\/3763105","type":"journal-article","created":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T08:49:50Z","timestamp":1759999790000},"page":"1541-1568","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":1,"title":["Synchronized Behavior Checking: A Method for Finding Missed Compiler Optimizations"],"prefix":"10.1145","volume":"9","author":[{"ORCID":"https:\/\/orcid.org\/0009-0001-8159-9160","authenticated-orcid":false,"given":"Yi","family":"Zhang","sequence":"first","affiliation":[{"name":"Nanjing University, Nanjing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7216-6929","authenticated-orcid":false,"given":"Yu","family":"Wang","sequence":"additional","affiliation":[{"name":"Nanjing University, Nanjing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4794-1652","authenticated-orcid":false,"given":"Linzhang","family":"Wang","sequence":"additional","affiliation":[{"name":"Nanjing University, Nanjing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0844-5023","authenticated-orcid":false,"given":"Ke","family":"Wang","sequence":"additional","affiliation":[{"name":"Nanjing University, Nanjing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,10,9]]},"reference":[{"key":"e_1_3_1_2_1","unstructured":"Alfred V. Aho Monica S. Lam Ravi Sethi and Jeffrey D. Ullman. 2006. Compilers: Principles Techniques and Tools (2nd Edition). Addison-Wesley Longman Publishing Co. Inc. USA."},{"key":"e_1_3_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/3178372.3179521"},{"key":"e_1_3_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/3185768.3185771"},{"key":"e_1_3_1_5_1","first-page":"209","volume-title":"Proceedings of the 8th USENIX Conference on Operating Systems Design and Implementation (San Diego, California) (OSDI\u201908)","author":"Cadar Cristian","year":"2008","unstructured":"Cristian Cadar, Daniel Dunbar, and Dawson Engler. 2008. KLEE: unassisted and automatic generation of high-coverage tests for complex systems programs. In Proceedings of the 8th USENIX Conference on Operating Systems Design and Implementation (San Diego, California) (OSDI\u201908). USENIX Association, USA, 209\u2013224."},{"key":"e_1_3_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/2259016.2259033"},{"key":"e_1_3_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/3508362"},{"key":"e_1_3_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/3563316"},{"key":"e_1_3_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/1368088.1368127"},{"key":"e_1_3_1_10_1","doi-asserted-by":"publisher","DOI":"10.5555\/1792734.1792766"},{"key":"e_1_3_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/3133898"},{"key":"e_1_3_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/3324884.3418933"},{"key":"e_1_3_1_13_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-022-10146-1"},{"key":"e_1_3_1_14_1","doi-asserted-by":"crossref","unstructured":"Karine Even-Mendoza Arindam Sharma Alastair F Donaldson and Cristian Cadar. 2023. Grayc: Greybox fuzzing of compilers and analysers for c. In Proceedings of the 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis. 1219\u20131231.","DOI":"10.1145\/3597926.3598130"},{"key":"e_1_3_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/3689727"},{"key":"e_1_3_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/3276496"},{"key":"e_1_3_1_17_1","doi-asserted-by":"publisher","unstructured":"S. Gupta N. Dutt R. Gupta and A. Nicolau. 2003. SPARK: a high-level synthesis framework for applying parallelizing compiler transformations. In 16th International Conference on VLSI Design 2003. Proceedings. 461\u2013466. doi:10.1109\/ICVD.2003.1183177","DOI":"10.1109\/ICVD.2003.1183177"},{"key":"e_1_3_1_18_1","doi-asserted-by":"publisher","DOI":"10.2197\/ipsjtsldm.9.21"},{"key":"e_1_3_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/3708493.3712686"},{"key":"e_1_3_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/3095754"},{"key":"e_1_3_1_21_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2021.3058671"},{"key":"e_1_3_1_22_1","doi-asserted-by":"publisher","unstructured":"Jeehoon Kang Yoonseung Kim Youngju Song Juneyoung Lee Sanghoon Park Mark Dongyeon Shin Yonghyun Kim Sungkeun Cho Joonwon Choi Chung-Kil Hur and Kwangkeun Yi. 2018. Crellvm: verified credible compilation for LLVM. In Proceedings of the 39th ACM SIGPLAN Conference on Programming Language Design and Implementation (Philadelphia PA USA) (PLDI 2018). Association for Computing Machinery New York NY USA 631\u2013645. doi:10.1145\/3192366.3192377","DOI":"10.1145\/3192366.3192377"},{"key":"e_1_3_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/2594291.2594334"},{"key":"e_1_3_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/2814270.2814319"},{"key":"e_1_3_1_25_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-25543-5_25"},{"key":"e_1_3_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/3213846.3213874"},{"key":"e_1_3_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/3597926.3598068"},{"key":"e_1_3_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/3428264"},{"key":"e_1_3_1_29_1","doi-asserted-by":"crossref","unstructured":"Nuno P Lopes Juneyoung Lee Chung-Kil Hur Zhengyang Liu and John Regehr. 2021. Alive2: bounded translation validation for LLVM. In Proceedings of the 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation. 65\u201379.","DOI":"10.1145\/3453483.3454030"},{"key":"e_1_3_1_30_1","doi-asserted-by":"publisher","unstructured":"Adrian Nistor Linhai Song Darko Marinov and Shan Lu. 2013. Toddler: Detecting performance problems via similar memory-access patterns. In 2013 35th International Conference on Software Engineering (ICSE). 562\u2013571. doi:10.1109\/ICSE.2013.6606602","DOI":"10.1109\/ICSE.2013.6606602"},{"key":"e_1_3_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/2998392.2998397"},{"key":"e_1_3_1_32_1","unstructured":"David Peter. 2023. hyperfine. https:\/\/github.com\/sharkdp\/hyperfine"},{"key":"e_1_3_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/3385412.3385962"},{"key":"e_1_3_1_34_1","doi-asserted-by":"publisher","unstructured":"Louis-Noel Pouchet Peng Zhang P. Sadayappan and Jason Cong. 2013. Polyhedral-based data reuse optimization for configurable computing. In Proceedings of the ACM\/SIGDA International Symposium on Field Programmable Gate Arrays (Monterey California USA) (FPGA \u201913). Association for Computing Machinery New York NY USA 29\u201338. doi:10.1145\/2435264.2435273","DOI":"10.1145\/2435264.2435273"},{"key":"e_1_3_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/2254064.2254104"},{"key":"e_1_3_1_36_1","doi-asserted-by":"publisher","unstructured":"Hitesh Sajnani Vaibhav Saini Jeffrey Svajlenko Chanchal K. Roy and Cristina V. Lopes. 2016. SourcererCC: Scaling Code Clone Detection to Big-Code. In 2016 IEEE\/ACM 38th International Conference on Software Engineering (ICSE). 1157\u20131168. doi:10.1145\/2884781.2884877","DOI":"10.1145\/2884781.2884877"},{"key":"e_1_3_1_37_1","first-page":"28","volume-title":"Proceedings of the 2012 USENIX Conference on Annual Technical Conference (Boston, MA) (USENIX ATC\u201912)","author":"Serebryany Konstantin","year":"2012","unstructured":"Konstantin Serebryany, Derek Bruening, Alexander Potapenko, and Dmitry Vyukov. 2012. AddressSanitizer: a fast address sanity checker. In Proceedings of the 2012 USENIX Conference on Annual Technical Conference (Boston, MA) (USENIX ATC\u201912). USENIX Association, USA, 28."},{"key":"e_1_3_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/3392717.3392754"},{"key":"e_1_3_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/3368826.3377927"},{"key":"e_1_3_1_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/3503222.3507764"},{"key":"e_1_3_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/3656404"},{"key":"e_1_3_1_42_1","unstructured":"Junjie Wang Zhiyi Zhang Shuang Liu Xiaoning Du and Junjie Chen. 2023. {FuzzJIT}:{Oracle-Enhanced} Fuzzing for {JavaScript} Engine {JIT} Compiler. In 32nd USENIX Security Symposium (USENIX Security 23). 1865\u20131882."},{"key":"e_1_3_1_43_1","doi-asserted-by":"crossref","unstructured":"Matt Windsor Alastair F Donaldson and John Wickerson. 2021. C4: the C compiler concurrency checker. In Proceedings of the 30th ACM SIGSOFT International Symposium on Software Testing and Analysis. 670\u2013673.","DOI":"10.1145\/3460319.3469079"},{"key":"e_1_3_1_44_1","doi-asserted-by":"publisher","DOI":"10.1002\/stvr.1812"},{"key":"e_1_3_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/3660800"},{"key":"e_1_3_1_46_1","doi-asserted-by":"publisher","DOI":"10.1145\/1993498.1993532"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3763105","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T10:03:16Z","timestamp":1784196196000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3763105"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,10,9]]},"references-count":45,"journal-issue":{"issue":"OOPSLA2","published-print":{"date-parts":[[2025,10,9]]}},"alternative-id":["10.1145\/3763105"],"URL":"https:\/\/doi.org\/10.1145\/3763105","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,10,9]]},"assertion":[{"value":"2025-03-25","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-08-12","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-10-09","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}