[all-commits] [llvm/llvm-project] 80ad29: Reland "Remove the optional bitcast between a must...

Arseniy Obolenskiy via All-commits all-commits at lists.llvm.org
Fri Jun 5 15:00:33 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80ad2966e2902ec378050228321080eff3f4702e
      https://github.com/llvm/llvm-project/commit/80ad2966e2902ec378050228321080eff3f4702e
  Author: Arseniy Obolenskiy <arseniy.obolenskiy at amd.com>
  Date:   2026-06-06 (Sat, 06 Jun 2026)

  Changed paths:
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/IR/BasicBlock.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    A llvm/test/Bitcode/musttail-bitcast-upgrade.ll
    A llvm/test/Bitcode/musttail-bitcast-upgrade.ll.bc
    M llvm/test/Instrumentation/AddressSanitizer/musttail.ll
    M llvm/test/Instrumentation/ThreadSanitizer/tsan_musttail.ll
    M llvm/test/Transforms/CallSiteSplitting/musttail.ll
    M llvm/test/Transforms/SafeStack/X86/musttail.ll
    M llvm/test/Verifier/musttail-invalid.ll

  Log Message:
  -----------
  Reland "Remove the optional bitcast between a musttail call and its ret" (#201280) (#201642)

This relands #201280, which was reverted in #201479 because it broke the
sanitizer buildbot

The revert was caused by a heap-use-after-free in
`BitcodeReader::materialize`

Fix: The CallBase branch could have erased I before we read it in the
new conditional



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