[OMPT] Resolve warnings because of ints in if conditions
authorJonas Hahnfeld <hahnjo@hahnjo.de>
Thu, 15 Aug 2019 13:26:29 +0000 (13:26 +0000)
committerJonas Hahnfeld <hahnjo@hahnjo.de>
Thu, 15 Aug 2019 13:26:29 +0000 (13:26 +0000)
commitfb72a03f85dc657d54908387db485b5dac8deb94
treef21952b505e8db6754cb7deb35014826a58be223
parent2fc20f652cd848abdbfc40b6ae7fc0b0b403ea7d
[OMPT] Resolve warnings because of ints in if conditions

The implementation status can only be one of
ompt_event_UNIMPLEMENTED = ompt_set_never = 1
ompt_event_MAY_ALWAYS = ompt_set_always = 5

In both cases, the condition was already true, so just remove
the check.

Differential Revision: https://reviews.llvm.org/D65869

llvm-svn: 369001
openmp/runtime/cmake/LibompHandleFlags.cmake
openmp/runtime/cmake/config-ix.cmake
openmp/runtime/src/ompt-general.cpp