[all-commits] [llvm/llvm-project] f15d79: [clang][Interp] Fix variadic operator calls

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Mar 1 07:34:57 PST 2024


  Branch: refs/heads/users/alexey-bataev/spr/slptry-to-vectorize-small-graph-with-extractelements-used-in
  Home:   https://github.com/llvm/llvm-project
  Commit: f15d799f16092918b948536775475dfd8675c7d9
      https://github.com/llvm/llvm-project/commit/f15d799f16092918b948536775475dfd8675c7d9
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-03-01 (Fri, 01 Mar 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/test/AST/Interp/functions.cpp

  Log Message:
  -----------
  [clang][Interp] Fix variadic operator calls

Operator calls pass their instance member explicitly, so remove
it from NumParams when calling a variadic function


  Commit: b0181be36cace3460e4ec5d0d11ecbf49484cc55
      https://github.com/llvm/llvm-project/commit/b0181be36cace3460e4ec5d0d11ecbf49484cc55
  Author: Erich Keane <ekeane at nvidia.com>
  Date:   2024-03-01 (Fri, 01 Mar 2024)

  Changed paths:
    M clang/include/clang/Sema/Scope.h
    M clang/lib/Sema/SemaStmt.cpp
    M clang/test/SemaOpenACC/no-branch-in-out.c
    M clang/test/SemaOpenACC/no-branch-in-out.cpp

  Log Message:
  -----------
  [OpenACC] Implement Duffs-Device restriction for Compute Constructs (#83460)

Like the last few patches, branching in/out of a compute construct is
not valid. This patch implements checking to ensure that a 'case' or
'default' statement cannot jump into a Compute Construct (in the style
of a duff's device!).


  Commit: 87314b9bd181e57f76f7137d586ed3bef59a6c66
      https://github.com/llvm/llvm-project/commit/87314b9bd181e57f76f7137d586ed3bef59a6c66
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-03-01 (Fri, 01 Mar 2024)

  Changed paths:
    M clang/include/clang/Sema/Scope.h
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/Sema/SemaStmt.cpp
    M clang/test/AST/Interp/functions.cpp
    M clang/test/SemaOpenACC/no-branch-in-out.c
    M clang/test/SemaOpenACC/no-branch-in-out.cpp

  Log Message:
  -----------
  Rebase, address comment

Created using spr 1.3.5


Compare: https://github.com/llvm/llvm-project/compare/ab6062fae851...87314b9bd181

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list