[all-commits] [llvm/llvm-project] f80e7e: [GlobalOpt] Check if users are CallBase when chang...

Hongyu Chen via All-commits all-commits at lists.llvm.org
Wed Oct 1 01:48:02 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f80e7e139e3e677638233037499f8cba50c66b9e
      https://github.com/llvm/llvm-project/commit/f80e7e139e3e677638233037499f8cba50c66b9e
  Author: Hongyu Chen <xxs_chy at outlook.com>
  Date:   2025-10-01 (Wed, 01 Oct 2025)

  Changed paths:
    M llvm/lib/Transforms/IPO/GlobalOpt.cpp
    M llvm/test/Transforms/GlobalOpt/fastcc.ll

  Log Message:
  -----------
  [GlobalOpt] Check if users are CallBase when changing CC (#161399)

Fixes https://github.com/llvm/llvm-project/issues/156656
`hasChangeableCCImpl` guarantees the address of the function is not
taken, but it ignores assume-like calls.
This patch ignores assume-like calls when changing CC.



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