The support of LLVM version 12 has been added to the example language1.The
configure script writes a Lua script examples/llvm_version.lua that returns the
LLVM version.
The script is included by llvmir.lua and the LLVM IR templates are adapted
according to the version detected.
The LLVM IR versions 10,11, and 12 are supported.The tests fail for version 12
because the test expected files are not adapted. But at least the tests run
through.