[all-commits] [llvm/llvm-project] 65777a: [llvm-c] Accept GEP operators in some APIs
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Dec 17 00:04:06 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 65777addbd397f537d0e17595b5efea2db9e90a8
https://github.com/llvm/llvm-project/commit/65777addbd397f537d0e17595b5efea2db9e90a8
Author: Nikita Popov <npopov at redhat.com>
Date: 2021-12-17 (Fri, 17 Dec 2021)
Changed paths:
M llvm/include/llvm-c/Core.h
M llvm/lib/IR/Core.cpp
M llvm/test/Bindings/llvm-c/echo.ll
M llvm/tools/llvm-c-test/echo.cpp
Log Message:
-----------
[llvm-c] Accept GEP operators in some APIs
As requested in D115787, I've added a test for LLVMConstGEP2 and
LLVMConstInBoundsGEP2. However, to make this work in the echo test,
I also had to change a couple of APIs to work on GEP operators,
rather than only GEP instructions.
Differential Revision: https://reviews.llvm.org/D115858
More information about the All-commits
mailing list