aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/CodeGenDAGPatterns.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2021-04-18 16:20:34 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2021-04-18 16:26:45 +0300
commitd480f968ad8b56d3ee4a6b6df5532d485b0ad01e (patch)
treee17e69614f624f013a9632873809aaec61173f9c /llvm/utils/TableGen/CodeGenDAGPatterns.cpp
parentd4528cbb0e703ee17ee6fb4abe72b7246ccb38f1 (diff)
downloadllvm-d480f968ad8b56d3ee4a6b6df5532d485b0ad01e.zip
llvm-d480f968ad8b56d3ee4a6b6df5532d485b0ad01e.tar.gz
llvm-d480f968ad8b56d3ee4a6b6df5532d485b0ad01e.tar.bz2
Revert "[SCEV] Model `ashr exact x, C` as `(abs(x) EXACT/u (1<<C)) * signum(x)`"
As being discussed in https://reviews.llvm.org/D100721, this modelling is lossy, we can't reconstruct `ash`/`ashr exact` from it, which means that whenever we actually expand the IR, we've just pessimized the code.. It would be good to model this pattern, after all it comes up every time you want to compute a distance between two pointers, but not at this cost. This reverts commit ec54867df5e7f20e12146e628af34f0384308bcb.
Diffstat (limited to 'llvm/utils/TableGen/CodeGenDAGPatterns.cpp')
0 files changed, 0 insertions, 0 deletions