[all-commits] [llvm/llvm-project] 17d7bf: [clang][bytecode] Try to avoid temporaries in (com...

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Jul 7 05:14:51 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17d7bf22294173609c3a711a223713780055ed66
      https://github.com/llvm/llvm-project/commit/17d7bf22294173609c3a711a223713780055ed66
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2026-07-07 (Tue, 07 Jul 2026)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp

  Log Message:
  -----------
  [clang][bytecode] Try to avoid temporaries in (compound) assignments (#207652)

This is only needed if the RHS has side-effects. If we can easily and
cheaply prove that it doesn't, avoid the temporary variable. This saves
memory and is slightly faster.



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