[OpenMPOpt] Validate declaration types against the expected types
authorJohannes Doerfert <johannes@jdoerfert.de>
Mon, 23 Mar 2020 15:47:06 +0000 (10:47 -0500)
committerJohannes Doerfert <johannes@jdoerfert.de>
Mon, 23 Mar 2020 16:43:36 +0000 (11:43 -0500)
commit9d38f98dc30bf9a2c2b6325817d3e08515b82892
tree7bd376aa3a4fbd182737f0eedc298dc1716b1013
parent3f51c5d9caa84f974686d62c3978442385c9bf36
[OpenMPOpt] Validate declaration types against the expected types

Validation of the found runtime library functions declarations types
(return and argument types) with the expected types.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D76058
llvm/lib/Transforms/IPO/OpenMPOpt.cpp
llvm/test/Transforms/OpenMP/rtf_type_checking.ll [new file with mode: 0644]