When replacing return values with undef, we should also drop the noundef attribute (and other UB implying attributes).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D144461
[IPSCCP] Remove noundef when zapping return values ClosedPublic Authored by nikic on Feb 21 2023, 2:04 AM.
Details Summary When replacing return values with undef, we should also drop the noundef attribute (and other UB implying attributes).
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 21 2023, 3:13 AM This revision was landed with ongoing or failed builds.Feb 21 2023, 5:38 AM Closed by commit rG92ef545b8da2: [IPSCCP] Remove noundef when zapping return values (authored by nikic). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 499127 llvm/lib/Transforms/IPO/SCCP.cpp
llvm/test/Transforms/SCCP/ipsccp-noundef.ll
|