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
_______________________________________________
LLVM Developers mailing list
LLV...@cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.