Require LLVM >= 9 for AMDGPU backend (#4253)
authorThomas Viehmann <tv.code@beamnet.de>
Tue, 5 Nov 2019 10:25:18 +0000 (11:25 +0100)
committermasahi <masahi129@gmail.com>
Tue, 5 Nov 2019 10:25:18 +0000 (19:25 +0900)
commit635831c7ad62866bfda0cab15509069df3d571ee
treeb825fb60d4a48763050d355b477e87b3facc7224
parent411fe2774a5d46e8a0e2e53b1c5b7f62abc42535
Require LLVM >= 9 for AMDGPU backend (#4253)

LLVM 8 will crash when loading the bitcodes

This is a runtime check as the file will be compiled in even when
USE_ROCM OFF is used in the configuration if ROCM is installed
in the default location.

Fixes: #4087
src/codegen/llvm/codegen_amdgpu.cc