aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/algorithm.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-09-20 14:29:19 +0200
committerGitHub <noreply@github.com>2024-09-20 14:29:19 +0200
commit3127b659fad358b135721bd937fead49e5c73de5 (patch)
treeaee2cd7c284a29662a2b58cd90a7dab24253a7c0 /libcxx/src/algorithm.cpp
parentefdb3ae23247850d3886e3708400f0d991ed59e1 (diff)
downloadllvm-3127b659fad358b135721bd937fead49e5c73de5.zip
llvm-3127b659fad358b135721bd937fead49e5c73de5.tar.gz
llvm-3127b659fad358b135721bd937fead49e5c73de5.tar.bz2
[CVP] Infer range return attribute (#99620)
We already infer this in IPSCCP (which runs very early, so cannot benefit from inlining and simplifications) and SCCP (which runs without PredicateInfo, so does not use assumes). Do it in CVP as well, so it can handle cases that IPSCCP/SCCP can't. Fixes https://github.com/llvm/llvm-project/issues/98946 (everything apart from f2, where the assume is dropped by the frontend).
Diffstat (limited to 'libcxx/src/algorithm.cpp')
0 files changed, 0 insertions, 0 deletions