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

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


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