[all-commits] [llvm/llvm-project] 2724c1: [clang] Cache OpenCL types

aeubanks via All-commits all-commits at lists.llvm.org
Mon Feb 7 09:23:25 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2724c153f92909523e225d9231ad90818795f7a2
      https://github.com/llvm/llvm-project/commit/2724c153f92909523e225d9231ad90818795f7a2
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2022-02-07 (Mon, 07 Feb 2022)

  Changed paths:
    M clang/lib/CodeGen/CGOpenCLRuntime.cpp
    M clang/lib/CodeGen/CGOpenCLRuntime.h

  Log Message:
  -----------
  [clang] Cache OpenCL types

If we call CGOpenCLRuntime::convertOpenCLSpecificType() multiple times
we should get the same type back.

Reviewed By: svenvh

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




More information about the All-commits mailing list