Use LLVM_VERSION_MAJOR checks to make codegen tests work on LLVM 5, 6 and 7.
Attach a file by drag & drop or click to upload