[all-commits] [llvm/llvm-project] 6f01cb: Handle `select` in programUndefinedIfPoison.
Justin Lebar via All-commits
all-commits at lists.llvm.org
Fri Apr 28 09:10:19 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6f01cb91d763f740339683e1bde029e9f9f3bdf4
https://github.com/llvm/llvm-project/commit/6f01cb91d763f740339683e1bde029e9f9f3bdf4
Author: Justin Lebar <justin.lebar at gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/unittests/Analysis/ValueTrackingTest.cpp
Log Message:
-----------
Handle `select` in programUndefinedIfPoison.
If both the true and false operands of a `select` are poison, then the `select`
is poison.
Differential Revision: https://reviews.llvm.org/D149427
More information about the All-commits
mailing list