[PATCH 122/144] llvm 13: handle deprecated CreateLoad
authorTom Rix <trix@redhat.com>
Sat, 1 Jan 2022 15:30:55 +0000 (10:30 -0500)
committerAndreas Beckmann <anbe@debian.org>
Fri, 7 Jan 2022 23:55:22 +0000 (23:55 +0000)
commit40b7548f0f962706241350291b41226b5a038dc4
tree212122e165a3fd1b150c337acd5cd74916dc2be1
parent7cee8196077f4309892f5b266a8ac524fc56417c
[PATCH 122/144] llvm 13: handle deprecated CreateLoad

As of llvm 13, CreateLoad prefers to have a type arguement as it's
first parameter, deprecating the old api.

For readablity, seperated out the CreateConstGEP* calls which have
a similar deprecation.

Signed-off-by: Tom Rix <trix@redhat.com>
Gbp-Pq: Name 0122-llvm-13-handle-deprecated-CreateLoad.patch
lib/llvmopencl/ParallelRegion.cc
lib/llvmopencl/Workgroup.cc