[all-commits] [llvm/llvm-project] 8776e3: [EXTINT][OMP] Fix _ExtInt type checking in device ...

Erich Keane via All-commits all-commits at lists.llvm.org
Wed Jan 20 11:36:31 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8776e3f289c19ee2e85c593792806e6503408d59
      https://github.com/llvm/llvm-project/commit/8776e3f289c19ee2e85c593792806e6503408d59
  Author: Erich Keane <erich.keane at intel.com>
  Date:   2021-01-20 (Wed, 20 Jan 2021)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/Sema.cpp
    M clang/test/OpenMP/nvptx_unsupported_type_messages.cpp

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list