4 ms·
> LLVM also has a stable IR named LLVM itself, LLVM's IR is not stable by design. [1, 2] [1] http://lists.llvm.org/pipermail/llvm-dev/2016-February/094877.htm
by gioele 7y ago
> LLVM also has a stable IR named LLVM itself,
LLVM's IR is not stable by design. [1, 2]
[1] http://lists.llvm.org/pipermail/llvm-dev/2016-February/094877.html http://lists.llvm.org/pipermail/llvm-dev/2016-February/09487...
[2] http://llvm.org/docs/DeveloperPolicy.html#ir-backwards-compatibility http://llvm.org/docs/DeveloperPolicy.html#ir-backwards-compa...
> while GCC refuses to do so over the decades for political and strategic reasons.
That was a long time ago. Since GCC 4.5 (released in 2010) GCC supports external plugins. [3,4] These plugins, like the rest of GCC, use GENERIC and GIMPLE as their IR.
[3] https://gcc.gnu.org/gcc-4.5/changes.html https://gcc.gnu.org/gcc-4.5/changes.html
[4] https://gcc.gnu.org/onlinedocs/gccint/Plugins.html https://gcc.gnu.org/onlinedocs/gccint/Plugins.html