3 ms·
Most compilers do not use "unit" tests per se. Much more common are integration tests targeted at a particular lowering phase or optimization pass. This is pre
by achierius 1y ago
Most compilers do not use "unit" tests per se. Much more common are integration tests targeted at a particular lowering phase or optimization pass.
This is pretty important since "unit tests" would be far too constraining for reasonable modifications to the compiler, e.g. adding a new pass could change the actual output code without modifying the semantics.
- high_na_euv 1y agoLLVM has "unit" tests I mean they run single pass with some small llvm ir input and check if the output IR is fine