[all-commits] [llvm/llvm-project] c0cabf: [InstCombiner] Remove trivially dead `llvm.allow.{...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Mon Apr 1 00:42:39 PDT 2024


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

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp
    A llvm/test/Transforms/InstCombine/allow-checks.ll

  Log Message:
  -----------
  [InstCombiner] Remove trivially dead `llvm.allow.{runtime,ubsan}.check()` (#84851)

Intrinsic declared to have sideeffects, but it's done only to prevent
moving it. Removing unused ones is OK.

Exacted from #84850 for easier review.



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