[PATCH] D99671: [ValueTracking] Add with.overflow intrinsics to poison analysis functions
Juneyoung Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 31 10:03:42 PDT 2021
aqjune created this revision.
aqjune added reviewers: lebedev.ri, spatel.
Herald added a subscriber: hiraditya.
aqjune requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This is a patch that teaches ValueTracking that `s*.with.overflow` intrinsics does not
create undef/poison and they propagate poison.
I couldn't write a nice example as ctpop did; instead ValueTrackingTest.cpp were simply updated
to check these.
This patch helps reducing regression while fixing https://llvm.org/pr49688 .
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D99671
Files:
llvm/lib/Analysis/ValueTracking.cpp
llvm/unittests/Analysis/ValueTrackingTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99671.334475.patch
Type: text/x-patch
Size: 5151 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210331/566733c9/attachment.bin>
More information about the llvm-commits
mailing list