[llvm-dev] An issue with "lifetime.start" and storing "undef"

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Tue Sep 24 02:25:53 PDT 2019


Hi Raghesh,

On Tue, 24 Sep 2019 at 10:22, raghesh <raghesh.a at gmail.com> wrote:
> Are you suggesting solution 3? i.e,. To add 'metadata', to SI so that the AddressSanitizer ignores SI.

I'm saying that adding the store in the first place is probably a
workaround. The optimization passes should already consider the
variable undef at that point *because* of the lifetime intrinsic.

Cheers.

Tim.


More information about the llvm-dev mailing list