Add support during LLVM IR -> Gen IR period when the first operand of getelementptr is ConstantExpr.
utest is also added.
b918ba3 GBE: support getelementptr with ConstantExpr operand
backend/src/llvm/llvm_gen_backend.cpp | 6 +++-
kernels/compiler_getelementptr_bitcast.cl | 18 ++++++++++++
utests/CMakeLists.txt | 1 +
utests/compiler_getelementptr_bitcast.cpp | 45 +++++++++++++++++++++++++++++
4 files changed, 69 insertions(+), 1 deletion(-)
Upstream: cgit.freedesktop.org