aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorDmitry Makogon <d.makogon@g.nsu.ru>2021-11-02 22:19:51 +0700
committerDmitry Makogon <d.makogon@g.nsu.ru>2021-11-08 19:20:53 +0700
commitdb289340c841990055a164e8eb2a3b5ff25677bf (patch)
tree0da6a04453a407e7214ec87e5b4db19cbad88b89 /clang/lib/Frontend/InitPreprocessor.cpp
parentf60d3ec0c7fd324bccf2275c8f28c390b2b5f069 (diff)
downloadllvm-db289340c841990055a164e8eb2a3b5ff25677bf.zip
llvm-db289340c841990055a164e8eb2a3b5ff25677bf.tar.gz
llvm-db289340c841990055a164e8eb2a3b5ff25677bf.tar.bz2
[IndVars] Pass TTI to replaceCongruentIVs
In IndVarSimplify after simplifying and extending loop IVs we call 'replaceCongruentIVs'. This function optionally takes a TTI argument to be able to replace narrow IVs uses with truncates of the widest one. For some reason the TTI wasn't passed to the function, so it couldn't perform such transform. This patch fixes it. Reviewed By: mkazantsev Differential Revision: https://reviews.llvm.org/D113024
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions