[all-commits] [llvm/llvm-project] 91b005: Remove the optional bitcast between a musttail cal...

Arseniy Obolenskiy via All-commits all-commits at lists.llvm.org
Wed Jun 3 11:17:47 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91b00526a599fa21e43da82438f1e9c8a8e1b7b3
      https://github.com/llvm/llvm-project/commit/91b00526a599fa21e43da82438f1e9c8a8e1b7b3
  Author: Arseniy Obolenskiy <arseniy.obolenskiy at amd.com>
  Date:   2026-06-03 (Wed, 03 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:
  -----------
  Remove the optional bitcast between a musttail call and its ret (#201280)

Under opaque pointers the only bitcast the verifier could accept in this
position is a no-op ptr->ptr cast

Drop it and reduce isTypeCongruent to a plain type equality check



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