[NFC][LVI] getPredicateAt(): drop default value for UseBlockValue
authorRoman Lebedev <lebedev.ri@gmail.com>
Sat, 10 Apr 2021 17:45:37 +0000 (20:45 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Sat, 10 Apr 2021 17:46:01 +0000 (20:46 +0300)
commit257eda07940d8e6d46dbb5944589a0186e07c6e9
tree8c7564e058150e35edbaeb9ce5308c3da9592ba0
parent03225969e39ce3ab88673cd047a2a546d655dd95
[NFC][LVI] getPredicateAt(): drop default value for UseBlockValue

The default is likely wrong.
Out of all the callees, only a single one needs to pass-in false (JumpThread),
everything else either already passes true, or should pass true.

Until the default is flipped, at least make it harder to unintentionally
add new callees with UseBlockValue=false.
llvm/include/llvm/Analysis/LazyValueInfo.h
llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
llvm/lib/Transforms/Scalar/JumpThreading.cpp