aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2020-09-27 15:52:52 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2020-09-28 23:26:21 -0500
commitc942095790decf525a445f3bd68fb9bcc9aa43c6 (patch)
tree4917abca0d10c37e6f0161e2a4181fcb8ff2f511 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parentf3ead88e9c6c352edb10cba43e62696fc852c7d6 (diff)
downloadllvm-c942095790decf525a445f3bd68fb9bcc9aa43c6.zip
llvm-c942095790decf525a445f3bd68fb9bcc9aa43c6.tar.gz
llvm-c942095790decf525a445f3bd68fb9bcc9aa43c6.tar.bz2
[OpenMP][FIX] Verify compatible types for declare variant calls
Especially for templates we need to check at some point if the base function matches the specialization we might call instead. Before this lead to the replacement of `std::sqrt(int(2))` calls with one that converts the argument to a `std::complex<int>`, clearly not the desired behavior. Reported as PR47655 Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D88384
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions