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

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


  Branch: refs/heads/users/vitalybuka/spr/clangubsan-switch-ubsan-optimization-to-llvmexperimentalhot
  Home:   https://github.com/llvm/llvm-project
  Commit: 014644897f25ed88a1e17192531cf92110758470
      https://github.com/llvm/llvm-project/commit/014644897f25ed88a1e17192531cf92110758470
  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()`

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

Reviewers: aeubanks, nikic, kstoimenov, dvyukov

Reviewed By: kstoimenov

Pull Request: https://github.com/llvm/llvm-project/pull/84858



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