[all-commits] [llvm/llvm-project] 74393f: [clang][bytecode][NFC] Avoid calling ASTContext::g...

Timm Baeder via All-commits all-commits at lists.llvm.org
Wed Dec 11 00:45:44 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 74393f3da0c84ac40596ae561269a2bddf72504e
      https://github.com/llvm/llvm-project/commit/74393f3da0c84ac40596ae561269a2bddf72504e
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-12-11 (Wed, 11 Dec 2024)

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

  Log Message:
  -----------
  [clang][bytecode][NFC] Avoid calling ASTContext::getTypeSize() (#119392)

In the case of primitive arrays, we can do this once and reuse the value
for all elements.



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