[all-commits] [llvm/llvm-project] 861caf: [SCCP] Remove LoadInst if it loaded from Constant ...

hanbeom via All-commits all-commits at lists.llvm.org
Fri Sep 6 01:16:51 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 861caf9b319ea44d48f1e077f07be3b5f102c6d5
      https://github.com/llvm/llvm-project/commit/861caf9b319ea44d48f1e077f07be3b5f102c6d5
  Author: hanbeom <kese111 at gmail.com>
  Date:   2024-09-06 (Fri, 06 Sep 2024)

  Changed paths:
    M llvm/lib/Transforms/IPO/SCCP.cpp
    M llvm/lib/Transforms/Utils/SCCPSolver.cpp

  Log Message:
  -----------
  [SCCP] Remove LoadInst if it loaded from Constant GlobalVariable  (#107245)

This patch removes the `LoadInst` when it loaded from Constant
GlobalVariable. This allows `canRemoveInstruction` function to be
removed.



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