diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2020-09-27 15:52:52 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2020-09-28 23:26:21 -0500 |
commit | c942095790decf525a445f3bd68fb9bcc9aa43c6 (patch) | |
tree | 4917abca0d10c37e6f0161e2a4181fcb8ff2f511 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | f3ead88e9c6c352edb10cba43e62696fc852c7d6 (diff) | |
download | llvm-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