As LangRef says, "dereferenceable<n> implies noundef".
isGuaranteedNotToBeUndefOrPoison should return true if the parameter
has dereferenceable attribute.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D149035
[ValueTracking] Guaranteed not to be undef if has dereferenceable attribute ClosedPublic Authored by StephenFan on Apr 23 2023, 10:02 PM.
Details Summary As LangRef says, "dereferenceable<n> implies noundef".
Diff Detail
Event TimelineThis revision now requires changes to proceed.Apr 24 2023, 2:10 AM This revision is now accepted and ready to land.Apr 25 2023, 12:45 AM This revision was landed with ongoing or failed builds.Apr 26 2023, 8:06 PM Closed by commit rGb12a2fc4e824: [ValueTracking] Guaranteed not to be undef if has dereferenceable attribute (authored by StephenFan). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 517439 llvm/lib/Analysis/ValueTracking.cpp
llvm/test/Transforms/Attributor/dereferenceable-1.ll
llvm/test/Transforms/Attributor/nocapture-1.ll
llvm/test/Transforms/Attributor/nocapture-2.ll
llvm/test/Transforms/Attributor/nonnull.ll
|