[all-commits] [llvm/llvm-project] 8db302: [OpenMPIRBuilder] Check GV type instead of pointee...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jul 18 02:31:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8db30225ecc433fd02b623bc4789904930892eb7
      https://github.com/llvm/llvm-project/commit/8db30225ecc433fd02b623bc4789904930892eb7
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-07-18 (Tue, 18 Jul 2023)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp

  Log Message:
  -----------
  [OpenMPIRBuilder] Check GV type instead of pointee type (NFC)

Change the assertion to check the value type instead of the pointee
type. To facilitate this, store GlobalVariable* instead of Constant*
in the map.


  Commit: 6f653d91ed66b1d6ebc5033968de8d012049f418
      https://github.com/llvm/llvm-project/commit/6f653d91ed66b1d6ebc5033968de8d012049f418
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-07-18 (Tue, 18 Jul 2023)

  Changed paths:
    M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  Log Message:
  -----------
  [OpenMPIRBuilderTest] Remove unused variable (NFC)


Compare: https://github.com/llvm/llvm-project/compare/fe705c3426b4...6f653d91ed66


More information about the All-commits mailing list