[ValueTracking] isGuaranteedNotToBePoison should return true on undef
authorJuneyoung Lee <aqjune@gmail.com>
Mon, 4 Jan 2021 21:49:19 +0000 (06:49 +0900)
committerJuneyoung Lee <aqjune@gmail.com>
Mon, 4 Jan 2021 21:50:02 +0000 (06:50 +0900)
commitabbef2fd46d48a0d92d86f0c00fa2973f8ae2c85
tree8a807a8b74c0414b136ffbc3035595df478a20cb
parent8e293fe6ad06225d748bdb8a4414461451e33c16
[ValueTracking] isGuaranteedNotToBePoison should return true on undef

This is a one-line fix to isGuaranteedNotToBePoison to return true if
undef is given.
llvm/lib/Analysis/ValueTracking.cpp
llvm/unittests/Analysis/ValueTrackingTest.cpp