This is an archive of the discontinued LLVM Phabricator instance.

[llvm-c] Accept GEP operators in some APIs
ClosedPublic

Authored by nikic on Dec 16 2021, 12:45 AM.

Details

Reviewers
deadalnix
aeubanks
Group Reviewers
Restricted Project
Commits
rG65777addbd39: [llvm-c] Accept GEP operators in some APIs
Summary

As requested in D115787, I've added a test for LLVMConstGEP2/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.

Diff Detail

Event Timeline

nikic created this revision.Dec 16 2021, 12:45 AM
nikic requested review of this revision.Dec 16 2021, 12:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 16 2021, 12:45 AM
aeubanks accepted this revision.Dec 16 2021, 11:11 AM
This revision is now accepted and ready to land.Dec 16 2021, 11:11 AM
This revision was landed with ongoing or failed builds.Dec 17 2021, 12:04 AM
This revision was automatically updated to reflect the committed changes.