[PATCH] D14707: add fast-math-flags to 'call' instructions (PR21290)

Tim Northover via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 16 13:53:12 PST 2015


On 16 November 2015 at 09:00, Sanjay Patel via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Function-level attributes fall apart when code gets mixed by LTO; please see PR21290 for more details:
> https://llvm.org/bugs/show_bug.cgi?id=21290

It's probably a fairly minor syntactical point, but what about
function attributes applied to the callsite? Only a few seem to be
blessed at the moment, but "readonly" and "readnone" are surely on the
list for similar reasons. It might be a lighter-weight way to do it.

Tim.


More information about the llvm-commits mailing list