[ValueTracking] Make isGuaranteedNotToBeUndefOrPoison exit early when MetadataAsValue...
authorJuneyoung Lee <aqjune@gmail.com>
Fri, 25 Sep 2020 00:49:13 +0000 (09:49 +0900)
committerJuneyoung Lee <aqjune@gmail.com>
Fri, 25 Sep 2020 00:50:09 +0000 (09:50 +0900)
commit92106641ae297c24877085e0357e8095aa7b43c9
tree4e04cabcef91fcdc53b7d34f6dade18332c1f241
parent1c45220028a8aa39ad2f26c8c3c6234d1a816086
[ValueTracking] Make isGuaranteedNotToBeUndefOrPoison exit early when MetadataAsValue is given

It is set to conservatively return false, otherwise noundef attributes are added to function calls with metadata arguments.
llvm/lib/Analysis/ValueTracking.cpp