search for: c2v

Displaying 2 results from an estimated 2 matches for "c2v".

Did you mean: c2h
2014 Sep 19
2
[LLVMdev] More careful treatment of floating point exceptions
Hi Sanjay, Thanks, I saw this flag and it's definitely should be considered, but it appeared to me to be static characteristic of target platform. I'm not sure how appropriate it would be to change its value from a front-end. It says "Has", while optional flag would rather say "Uses" meaning that implementation cares about floating point exceptions. Regards, Sergey
2014 Sep 25
2
[LLVMdev] More careful treatment of floating point exceptions
...); + return ConstantExpr::get(Opcode, C2, C1, 0, nullptr, HonorFPExceptions); } // At this point we know neither constant is an UndefValue. @@ -1130,23 +1131,39 @@ Constant *llvm::ConstantFoldBinaryInstruction(unsigned Opcode, APFloat C1V = CFP1->getValueAPF(); APFloat C2V = CFP2->getValueAPF(); APFloat C3V = C1V; // copy for modification + APFloat::opStatus s; switch (Opcode) { - default: + default: break; case Instruction::FAdd: - (void)C3V.add(C2V, APFloat::rmNearestTiesToEven); + s...