[EXTINT][OMP] Fix _ExtInt type checking in device code
authorErich Keane <erich.keane@intel.com>
Wed, 20 Jan 2021 19:33:22 +0000 (11:33 -0800)
committerErich Keane <erich.keane@intel.com>
Wed, 20 Jan 2021 19:35:52 +0000 (11:35 -0800)
commit8776e3f289c19ee2e85c593792806e6503408d59
tree84695a720ce53bb4e74ee800d15b72d4eeef1eb4
parent11802eced5d67394c1dcb5acfaef38b0038c6d90
[EXTINT][OMP] Fix _ExtInt type checking in device code

_ExtInt gets stuck in the device-type-checking for __int128 if it is
between 65 and 128 bits inclusive.  Anything larger or smaller was
permitted despite this, so this is simply enabling 65-128 bit _ExtInts.
_ExtInt is supported on all our current ABIs, but we stil use the
hasExtIntType in the target info to differentiate here so that it can be
disabled.
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/Sema.cpp
clang/test/OpenMP/nvptx_unsupported_type_messages.cpp