[all-commits] [llvm/llvm-project] f34d30: [FunctionAttrs] Fix incorrect nonnull inference fo...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Mon May 6 17:47:50 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f34d30cdae0f59698f660d5cc8fb993fb3441064
https://github.com/llvm/llvm-project/commit/f34d30cdae0f59698f660d5cc8fb993fb3441064
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Transforms/IPO/FunctionAttrs.cpp
M llvm/test/Transforms/FunctionAttrs/nocapture.ll
M llvm/test/Transforms/FunctionAttrs/nonnull.ll
Log Message:
-----------
[FunctionAttrs] Fix incorrect nonnull inference for non-inbounds GEP (#91180)
For inbounds GEPs, if the source pointer is non-null, the result must
also be non-null. However, this does not hold for non-inbounds GEPs.
Fixes https://github.com/llvm/llvm-project/issues/91177.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list