[tests] Fix codegen tests for LLVM 5, 6 and 7
Use LLVM_VERSION_MAJOR checks to make codegen tests work on LLVM 5, 6 and 7.
Showing
Please register or sign in to comment
Use LLVM_VERSION_MAJOR checks to make codegen tests work on LLVM 5, 6 and 7.