From efcc3f5c5e12c4558dbde25fba0986f511686d42 Mon Sep 17 00:00:00 2001
From: Chris Lattner
Third, it is certainly possible to add language-specific optimizations, and you have a number of choices in how to do it. As one trivial example, it is possible to add language-specific optimization passes that -"known" things about code compiled for a language. In the case of the C family, +"know" things about code compiled for a language. In the case of the C family, there is an optimziation pass that "knows" about the standard C library functions. If you call "exit(0)" in main(), it knows that it is safe to optimize that into "return 0;" for example, because C specifies what the 'exit' -- 2.34.1