[LLVM-C] Add support for ConstantExpr in LLVMGetNumIndices and LLVMGetIndices
authorwhitequark <whitequark@whitequark.org>
Tue, 18 Sep 2018 01:47:25 +0000 (01:47 +0000)
committerwhitequark <whitequark@whitequark.org>
Tue, 18 Sep 2018 01:47:25 +0000 (01:47 +0000)
commit6c1f7a51b9e12e143bc2660c22293172f86ea014
tree8d15a1bcd3779c67e709a353d341fc111e038513
parentc296d1764c7effd666dc460dc9ccfa382fe3b4ee
[LLVM-C] Add support for ConstantExpr in LLVMGetNumIndices and LLVMGetIndices

Summary:
ConstantExpr supports getIndices, but prior to this patch
LLVMGetNumIndices and LLVMGetIndices would error on them.

Reviewers: whitequark

Reviewed By: whitequark

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D52206

llvm-svn: 342434
llvm/lib/IR/Core.cpp