[llvm-dev] [RFC] Using basic block attributes to implement non-default floating point environment

Matt Arsenault via llvm-dev llvm-dev at lists.llvm.org
Thu Oct 3 14:13:34 PDT 2019


> On Oct 3, 2019, at 14:04, Reid Kleckner via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> Basic block attributes would be a pretty major change for LLVM. If we were to add something like this to LLVM, it should be really well designed, and support other use cases beyond just the FP environment.
> 
> General regions could support things like:
> - replace lifetime.start/end
> - asynch exception handling
> - better windows EH
> - better replacement for inalloca
> - I'm sure there are use cases in parallelization that I'm unfamiliar with
> 
> As is, no, I don't think we should put attributes on blocks.

+1

We have a variety of code motion issues to solve for GPUs, but something block level won’t really help much.

-Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191003/82a5af96/attachment.html>


More information about the llvm-dev mailing list