[IRBuilder] Deprecate CreateGEP() without element type
authorNikita Popov <nikita.ppv@gmail.com>
Sat, 17 Jul 2021 19:29:05 +0000 (21:29 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Sat, 17 Jul 2021 20:57:51 +0000 (22:57 +0200)
commitf164bc52b61a34f8f95032e1e4fe68bd4eff995f
treee1cfca90d070cc085ca9bbdf1bd8933d916656ba
parent2c68ecccc9ee1fb37eca318a9b3572813a137cd5
[IRBuilder] Deprecate CreateGEP() without element type

This API is incompatible with opaque pointers and deprecated in
favor of the version that accepts an explicit element type.

Also remove the separate overload for a single index, as this is
already covered by the ArrayRef overload.
llvm/include/llvm/IR/IRBuilder.h