[cfe-dev] [llvm-dev] [FPEnv] Rust/Go/Swift/Flang/other llvm IRBuilder needs?

Philip Reames via cfe-dev cfe-dev at lists.llvm.org
Wed Jan 16 14:38:49 PST 2019

For us, constrained fadd and friends aren't particular relevant. We 
don't need to model changes to the floating point environment, and chose 
to use explicit control flow for fault handling (e.g. div-by-zero).  We 
might someday explore using constrained operations for performance 
reasons, but up until now, haven't really had the need to.  So, no 
opinion, sorry.


On 1/16/19 10:02 AM, Kevin Neal via llvm-dev wrote:
> I’ve got a ticket open where I would very much like some input from 
> maintainers of other languages that rely on llvm and use the 
> IRBuilder. See:
> Teach the IRBuilder about constrained fadd and friends:
> _https://reviews.llvm.org/D53157_
> I’m adding support to functions like CreateFAdd() the ability to 
> optionally emit the constrained math intrinsics required to support 
> strict floating point mode. This makes the changes in clang relatively 
> easy, but the concern is that there may be concerns that haven’t been 
> raised in the diff. And I’d like to tailor the interface so that it 
> meets the needs of IRBuilder users, but ideally that wants input from 
> actual IRBuilder users.
> So, can I get some input from other front end authors and maintainers?
> Apologies for the cross posting, but I don’t know how to more 
> precisely get the attention of the relevant people.
> --
> Kevin P. Neal
> SAS/C and SAS/C++ Compiler
> Host Research and Development
> SAS Institute, Inc.
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190116/359d3e03/attachment.html>

More information about the cfe-dev mailing list