Displaying 1 result from an estimated 1 matches for "a81a72db".
2015 Apr 11
2
[LLVMdev] How doesn't llvm generate IR for logical negate operation
How can I generate LLVM IR for both logical NEG (!)? For example, if I have
Int32Ty a,
For the bitwise NEG(~):
c = ~a ;
I can use the following API from LLVM:
BinaryOperator *neg = BinaryOperator::CreateNeg(nbits, "bitwiseNEG",
insertBefore);
How, if I want to generate logical NEG:
c = !a;
what should I do for this?
Thanks
-------------- next part --------------
An HTML