[all-commits] [llvm/llvm-project] cbe8b5: [Clang] Allow the combination of loader_uninitiali...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Fri Apr 23 09:22:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cbe8b57a675537183eaf8c32eaa6087cea3fc5da
      https://github.com/llvm/llvm-project/commit/cbe8b57a675537183eaf8c32eaa6087cea3fc5da
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-04-23 (Fri, 23 Apr 2021)

  Changed paths:
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/CodeGen/attr-loader-uninitialized.c
    M clang/test/OpenMP/declare_target_codegen.cpp
    M clang/test/Sema/attr-loader-uninitialized.cpp

  Log Message:
  -----------
  [Clang] Allow the combination of loader_uninitialized and address spaces

When an object is allocated in a non-default address space we do not
need to check for a constructor if it is not initialized and has a
trivial constructor (which we won't call then).

Reviewed By: JonChesterfield

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




More information about the All-commits mailing list