[all-commits] [llvm/llvm-project] ec23e5: [clang][Interp][NFC] Avoid unnecessary work in com...

Timm Bäder via All-commits all-commits at lists.llvm.org
Wed Nov 30 07:08:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec23e5584de0b7212db64f5e2aff355e8279537e
      https://github.com/llvm/llvm-project/commit/ec23e5584de0b7212db64f5e2aff355e8279537e
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeEmitter.cpp

  Log Message:
  -----------
  [clang][Interp][NFC] Avoid unnecessary work in compileFunc()

We don't need to create the paramter descriptors etc. if we've already
done that in the past.


  Commit: 89b009559cea546f16f45105bb1ce90265f79c9c
      https://github.com/llvm/llvm-project/commit/89b009559cea546f16f45105bb1ce90265f79c9c
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeEmitter.cpp

  Log Message:
  -----------
  Revert "[clang][Interp] Use placement new to construct opcode args into vector"

This reverts commit aaf73ae266db44fce107a0b73fcb33527bfb52eb.

This breaks sanitized builds because the constructor is called with an
unaligned address.


Compare: https://github.com/llvm/llvm-project/compare/9221bedfd7d5...89b009559cea


More information about the All-commits mailing list