[llvm-dev] Well-formed @llvm.lifetime.start and @llvm.lifetime.end intrinsics
Michael Kruse via llvm-dev
llvm-dev at lists.llvm.org
Fri Mar 31 04:05:05 PDT 2017
2017-03-31 1:16 GMT+02:00 Daniel Berlin <dberlin at dberlin.org>:
> if you transformed
>
> lifetime.start(%p)
> use %p
> lifetime.end(%p)
> into
>
> if (c)
> lifetime.start(%p)
> use %p
> lifetime.end(%p)
>
> That is *definitely* a bug in polly.
> Stack coloring should be able to handle it if that is the original IR but that is definitely not a legal transform of the lifetime.start.
If it is legal for a frontend to generate it, why is it not legal for
a transformation?
Michael
More information about the llvm-dev
mailing list