Compiler validation via equivalence modulo inputs
The DOI matches its Crossref record; 28 of the 28 references it cites were found in a registry or an index.
Abstract
We introduce equivalence modulo inputs (EMI), a simple, widely applicable methodology for validating optimizing compilers. Our key insight is to exploit the close interplay between (1) dynamically executing a program on some test inputs and (2) statically compiling the program to work on all possible inputs. Indeed, the test inputs induce a natural collection of the original program's EMI variants, which can help differentially test any compiler and specifically target the difficult-to-find miscompilations.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“This paper demonstrates that modern titanic LLMs can be leveraged to directly perform both generation-based and mutation-based fuzzing studied for decades, while being fully automated, generalizable, and applicable to domains challenging for traditional approaches (such as DL systems).”
From Large Language Models Are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Models (2023) · cites this paper as [39]
In the citing paper
“Moreover, to our knowledge, we are the first to apply infilling models (e.g., InCoder) to directly perform mutation-based fuzzing [39,50] to generate more diverse input programs in an evolutionary fuzzing loop.”
From Large Language Models Are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Models (2023) · cites this paper as [39]
Citations
Cites
Finding and understanding bugs in C compilers
Yang, X., Chen, Y., Eide, E., & Regehr, J. (2011) · Proceedings of the 32nd ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1993498.1993532 · Cited by 825 · cited 3×
“Others, however, can cause compilers to silently miscompile a program and produce wrong code, subverting the programmer’s intent.”
BackgroundInfluentialFormal certification of a compiler back-end or: programming a compiler with a proof assistant
Leroy, X. (2006) · Conference record of the 33rd ACM SIGPLAN-SIGACT symposium on Principles of programming languages · doi:10.1145/1111037.1111042 · Cited by 661 · cited 3×
“Compiler Testing The most directly related is compiler testing, which remains the dominant technique for validating production compilers in practice.”
BackgroundMethodInfluentialFinding and understanding bugs in C compilers
Yang, X., Chen, Y., Eide, E., & Regehr, J. (2011) · ACM SIGPLAN Notices · doi:10.1145/1993316.1993532 · Cited by 586
A Formally Verified Compiler Back-end
Leroy, X. (2009) · Journal of Automated Reasoning · doi:10.1007/s10817-009-9155-4 · Cited by 503
Pnueli, A., Siegel, M., & Singerman, E. (1998) · Lecture Notes in Computer Science · doi:10.1007/bfb0054170 · Cited by 499 · cited 1×
“C; H.3.4 [Programming Languages]: Processors—compilers General Terms Algorithms, Languages, Reliability, Verification Keywords Compiler testing, miscompilation, equivalent program variants, automated testing”
InfluentialTranslation validation for an optimizing compiler
Necula, G. C. (2000) · Proceedings of the ACM SIGPLAN 2000 conference on Programming language design and implementation · doi:10.1145/349299.349314 · Cited by 488 · cited 1×
“C; H.3.4 [Programming Languages]: Processors—compilers General Terms Algorithms, Languages, Reliability, Verification Keywords Compiler testing, miscompilation, equivalent program variants, automated testing”
Influential(1998) · Cited by 469
Test-case reduction for C compiler bugs
Regehr, J., Chen, Y., Cuoq, P., Eide, E., Ellison, C., & Yang, X. (2012) · Proceedings of the 33rd ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/2254064.2254104 · Cited by 310
Holler, C., Herzig, K., & Zeller, A. (2012) · Cited by 275
Superoptimizer: a look at the smallest program
Massalin, H. (1987) · ACM SIGPLAN Notices · doi:10.1145/36205.36194 · Cited by 221
Research works printed but not linked: 2
- 10.5555/2362793.2362831 · doi:10.5555/2362793.2362831
- 10.5555/646482.691453 · doi:10.5555/646482.691453
Cited by
Items 401–426 of 426
Testing a virtual machine developed in a simulation-based virtual machine generator
Misse-Chanabier, P. (2022) · theses.fr (ABES) · doi:10.70675/3ff30ee0z8cbbz41c1zbbbfz5662a31e155a
VeriEQ: Finding Verilog Simulators and Synthesizers Bugs with Equivalence Circuit Transformation
Yan, Z., Chen, Y., Ma, F., Yu, Z., Shi, D., & Jiang, Y. (2026) · Proceedings of the ACM on Programming Languages · doi:10.1145/3798235
“This transformation strategy is inspired by prior work on compiler testing that leverages dead code to expose optimization inconsistencies [30].”
CLower: Detecting Compiler Pessimization Bugs through Redundant Memory Accesses
Xu, J., Zhang, K., Payer, M., Lu, K., & Mao, B. (2026) · Proceedings of the ACM on Programming Languages · doi:10.1145/3798250
“These vulnerabilities are particularly dangerous because they evade both compiler verification [22, 45] and source-level detection [43].”
Metamorphic Testing for Infrastructure-as-Code Engines
Spielmann, D., Zakhour, G., Arnold, D., Biagiola, M., Meier, R., & Salvaneschi, G. (2026) · Proceedings of the ACM on Programming Languages · doi:10.1145/3798226
“Yet, it may give a false sense of confidence on the correctness of the program under test, especially when the behaviors exercised by the test are not properly asserted [38].”
LOOL: Low-Overhead, Optimization-Log-Guided Compiler Fuzzing
Berlakovich, F., Schwarcz, F., Barany, G., Mössenböck, H., & Brunthaler, S. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3807508
“As other work has shown, generating dynamically unreachable code can be useful for compiler fuzzing [25].”
Enumerating Ill-Typed Programs for Testing Type Analyzers
Sotiropoulos, T., & Su, Z. (2026) · Proceedings of the ACM on Programming Languages · doi:10.1145/3808320
“Mutation-based techniques apply semantics-preserving [15, 28, 29, 32, 47, 56] or type-preserving [46] transformations to seeds.”
Self-citationQuantitative Symbolic Patch Impact Analysis
Sarker, L., Satter, A., & Bultan, T. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-28079-4_17
“Additional variations in equivalence analysis exist [58,38,31,16,43], including studies on compiler testing by examining divergent outputs across equivalent inputs [32].”
LPR+: Diverse Transformations for LLM-Aided Program Reduction
Zhang, Z., Liu, J., Yao, X., & Tian, Y. (2026) · ACM SIGPLAN International Conference on Systems, Programming, Languages, and Applications: Software for Humanity (SPLASH) · doi:10.1145/3837729.3840504
Eidolon: Perform Noise-Aware Fuzzing on FHE Libraries via Equivalence Expression Transformation
Xian, Z., Yan, Z., Chen, Y., Cao, X., Ma, F., Shi, D., & Jiang, Y. (2026) · Proceedings of the ACM on software engineering. · doi:10.1145/3808109
“For instance, EMI [31] detects miscompi-lation bugs by generating semantically equivalent program variants, and MT has been applied to cybersecurity [10] for validating security-critical implementations.”
Beyond Spec Conformance: A Logic for Validating Stakeholder Expectations
Klimis, V. (2026) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3786582.3786821
“While sophisticated techniques exist to validate the deep semantics of compilers [13, 26], GPU representations [11], and memory models [1, 12] against machine-derived specifications, SEL provides the first formal framework for validating a system against a different source of semantic truth: the…”
Detecting Rendering Bugs in Imperative Data Visualization Libraries via Equivalent MutationsPreprint
Lu, W., & Tian, Y. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2607.12363
“Compiler testing has relied on these strategies to generate random programs [21] and catch bugs via differential or metamorphic oracles [55], [56].”
LLMs Can See the Smoke but not the Fire: Evaluating Abductive Reasoning with ElenchosPreprint
Steiglechner, J., Mahler, L., & Lohmann, G. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2607.12733
“Methodologically, Elenchos builds on differential, mutation, and metamorphic testing traditions [37, 62, 31, 28, 13], which have recently been adapted to evaluate LLMs in software engineering settings [19, 53, 55, 32, 23, 44].”
GRANDSLAM: Linearly Scalable Model Synthesis
Boll, A. (2026) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst69053.2026.00058
“Prior transformative approaches in the CPS domain rely on equivalence modulo inputs (EMI) [43], which mutates unexecuted code in compilable models and detects generated code changes.”
Compilomorphic Fuzzing: Turning a Compiler Against Itself
Klimis, V. (2026) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3803437.3805569
BMOA: Baseline-Mechanism-Outcome Attribution for Compiler-Induced Numerical DeviationsPreprint
Jiang, H., Hossain, M. E., Yu, F., Xia, C., Ren, M., Zhu, J., & Guan, Q. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2607.27270
“Csmith and equivalence-modulo-inputs expose compiler defects by differential or metamorphic testing [18, 29].”
Metamorphic Testing of Transpilers via Mutation Consistency of ProgramsPreprint
Papaleo, E. R. I., Guglielmo, L., & Denaro, G. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2607.29247
“Metamorphic testing for compilers [4, 5, 11, 12, 19, 27] defines relations over source programs whose compiled binaries should behave equivalently at runtime, exploiting the expected equivalences as automated test oracles.”
RL–LLMfuzzer: reinforcement learning–guided dual–model differential fuzzing for compiler testing
Li, D., Li, Y., Zhao, B., Xu, J., Yao, J., Wang, N., & Liu, L. (2026) · Journal of King Saud University - Computer and Information Sciences · doi:10.1007/s44443-026-01115-5
“…(Barr et al. 2015; Ammann and Offutt 2017; Cadar et al. 2008; Sen et al. 2005; Bouni-mova et al. 2013), automated differential fuzzing (Böhme et al. 2016; McKeeman 1998; Chen et al. 2020, 2016; Le et al. 2014) has become the most scalable and widely adopted validation method in the industry.”
Testing Static Taint Analyzers with Equivalence Modulo Taint
Christakis, M., Isychev, A., Pilz, S., Tesarek, F., & Wüstholz, V. (2026) · Proceedings of the ACM on software engineering. · doi:10.1145/3832231
“Equivalence Modulo Inputs (EMI) [21], a prominent realization of this idea for compiler testing, generates program variants by mutating code that does not affect a given input, and flags deviations in execution outcomes as issues.”
InfluentialZhang, Y., Wang, Y., Wang, K., & Wang, L. (2026) · Proceedings of the ACM on Programming Languages · doi:10.1145/3839454
“EMI [19, 20, 40] generates input-equivalent program variants to reveal compiler bugs that violate semantic equivalence.”
RICE: Harnessing LLMs and Historical Issues to Discover Internal Rust Compiler Errors
Lu, L., You, W., Liang, B., & Huang, J. (2026) · Proceedings of the ACM on software engineering. · doi:10.1145/3832277
“Le et al. [24] introduced Equivalence Modulo Inputs (EMI), a method that generates equivalent program variants by stochastically pruning unexecuted code under given test inputs and leverages differential testing to effectively detect mis-compilation bugs in optimizing compilers.”
EtherVal: Smart Contract Decompiler Validation for the Ethereum Blockchain
Jeong, S., Kim, Y., Hu, X., Zhu, J., Scholz, B., & Burgstaller, B. (2026) · IEEE Access · doi:10.1109/access.2026.3740855
LLMCloc: Compiler bug localization via large language model-based root cause analysis
Shi, B., Lu, W., Tang, J., Huang, Z., & Li, W. (2026) · Information and Software Technology · doi:10.1016/j.infsof.2026.108352
BanditFuzz: A Synergistic Differential Fuzzing Framework for Compilers
Li, D., Li, Y., Xu, J., Zhao, B., Wang, N., Yao, J., & Liu, L. (2026) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3832783.3834548
“Alternative methodologies explore structural mutation via Equivalence Modulo Inputs (EMI), profiling existing programs to mutate live or unexe-cuted code blocks (e.g., Orion [19], Athena [20], and Hermes [49]).”
Finding Performance Regressions in GPU Compilers
Wong, W. K., Xiao, D., Ke, P. F., Zhang, F., & Wang, S. (2027) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/3845814.3850066
From Formal Methods to Fuzzing and BackPreprint
Donaldson, A. F. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2611.12338
Metadata
- Authors
- Le, V., Afshari, M., & Su, Z.
- Affiliations
- University of California, Davis (US)
- ORCID
- Venue
- Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation
- Publisher
- ACM
- Published
- 2014-06-09
- Pages
- 216-226
- ISSN
- 1531-7102 (ISSN-L)
- OpenAlex
- W2170737051
- Cited by
- 388
- References
- 28
- Citations by year
- 2026: 25 · 2025: 28 · 2024: 39 · 2023: 33 · 2022: 25 · 2021: 38 · 2020: 46 · 2019: 31 · 2018: 33 · 2017: 25 · 2016: 38 · 2015: 25 · 2014: 2
- FWCI
- 19.85
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) (publishedVersion)
- Funders
- National Science Foundation (0917392, 1117603, 1319187, 1349528)
- Topics
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Physical Sciences › Computer Science › Software › Logic, programming, and type systems
- Physical Sciences › Computer Science › Hardware and Architecture › Parallel Computing and Optimization Techniques
- Keywords
- compiler validation, differential testing, optimizing compilers, test data generation, program variants, compiler correctness
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.