Displaying 1 result from an estimated 1 matches for "isintegral".
Did you mean:
is_integral
2005 Jan 27
1
[LLVMdev] Question about inserting IR code
...insert some IR code whose operand is integer type like IntTy, however, when I tried to insert similar thing whose operands are float point, I got the following message when I run it
void llvm::BinaryOperator::init(llvm::Instruction::BinaryOps,
llvm::Value*, llvm::Value*): Assertion `getType()->isIntegral() && "Tried
to create an logical operation on a non-integral type!"' failed.
It seems that I cannot insert float point type operand by this way, right? If so, is there any way I can insert IR code whose operand are float point. I am trying to find some else class (not binaryO...