Revert "[ValueTracking] Use knownbits interface for determining if `div`/`rem` are...
authorNoah Goldstein <goldstein.w.n@gmail.com>
Mon, 1 May 2023 18:20:09 +0000 (13:20 -0500)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Mon, 1 May 2023 18:20:09 +0000 (13:20 -0500)
commit358cdb4489f6ce30590e9a33dceb18f7002cb83c
tree530df0ebdf5b19c90ca5f561676e19d90d984a82
parentd4db52893857a836940e0951daa205de1bb1d201
Revert "[ValueTracking] Use knownbits interface for determining if `div`/`rem` are safe to speculate"

Appears to be causing out-of-tree test failures. Reverting while the
issue is investigated.

This reverts commit fbc7fcf5ae26fad7db3e7c861fc6447e02b39cf0.
llvm/lib/Analysis/ValueTracking.cpp
llvm/test/Transforms/LICM/speculate-div.ll