HomePhabricator

[bindings/go] Add bindings to LLVMGet?CmpPredicate

Authored by aykevl on Jun 8 2019, 3:21 PM.

Description

[bindings/go] Add bindings to LLVMGet?CmpPredicate

Add bindings so that predicates on comparisons (icmp/fcmp) can be
inspected from IR.

Note: I considered adding Value.ICmpPredicate() etc. instead but
Value.IntPredicate() seemed easier to read and matches the name of the
returned type.

(This change was also pushed two commits ago but accidentally had the
wrong title and description.)

Revision: https://reviews.llvm.org/D53884
llvm-svn: 362893

Details

Committed
aykevlJun 8 2019, 3:21 PM
Parents
rGdf9d6cf6a2f4: Revert "[bindings/go] Add Go bindings for CalledValue"
Branches
Unknown
Tags
Unknown