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.
Differential D53884
[bindings/go] Add bindings to LLVMGet?CmpPredicate aykevl on Oct 30 2018, 12:55 PM. Authored by
Details
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.
Diff Detail |