[all-commits] [llvm/llvm-project] a9d938: [clang][ubsan] Switch UBSAN optimization to `llvm....

Vitaly Buka via All-commits all-commits at lists.llvm.org
Thu Apr 4 17:40:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a9d93873f857963eeb9ef7f65a725e6aaf99c958
      https://github.com/llvm/llvm-project/commit/a9d93873f857963eeb9ef7f65a725e6aaf99c958
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-04-04 (Thu, 04 Apr 2024)

  Changed paths:
    R clang/test/CodeGen/remote-traps.c
    M llvm/lib/Transforms/Instrumentation/RemoveTrapsPass.cpp
    M llvm/test/Transforms/RemoveTraps/remove-traps.ll

  Log Message:
  -----------
  [clang][ubsan] Switch UBSAN optimization to `llvm.allow.{runtime,ubsan}.check()` (#84858)

Intrinsic introduced with #84850. Intrinsics improves performance
by 3% comparing to removing traps (on
"test-suite/MultiSource/Benchmarks" with PGO+ThinLTO).

The pass will be renamed with #84853.

RFC:
https://discourse.llvm.org/t/rfc-add-llvm-experimental-hot-intrinsic-or-llvm-hot/77641



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