[all-commits] [llvm/llvm-project] 64b941: [CIR] Upstream support for emitting ignored statem...

Andy Kaylor via All-commits all-commits at lists.llvm.org
Wed Mar 12 14:38:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64b94105d5c7a1a578dc2fb846747411686b666b
      https://github.com/llvm/llvm-project/commit/64b94105d5c7a1a578dc2fb846747411686b666b
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-03-12 (Wed, 12 Mar 2025)

  Changed paths:
    M clang/include/clang/CIR/MissingFeatures.h
    M clang/lib/CIR/CodeGen/CIRGenExpr.cpp
    M clang/lib/CIR/CodeGen/CIRGenFunction.h
    M clang/lib/CIR/CodeGen/CIRGenStmt.cpp
    A clang/test/CIR/CodeGen/basic.c

  Log Message:
  -----------
  [CIR] Upstream support for emitting ignored statements (#130869)

This adds support for emitting ClangIR for statements whose value is
ignored. The test case being added (CIR/CodeGen/basic.c) tests a few
more things. The "f1" test case is the only part that's immediately
relevant to this change, but the other cases were part of the same test
in the incubator and they are supported so I brought in the entire test.



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