[all-commits] [llvm/llvm-project] f3b20c: [IPSCCP] Variable not visible at Og. (#66745)

Carlos Alberto Enciso via All-commits all-commits at lists.llvm.org
Mon Oct 23 22:22:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3b20cb16ad09392dc6451a6972ba2453076419e
      https://github.com/llvm/llvm-project/commit/f3b20cb16ad09392dc6451a6972ba2453076419e
  Author: Carlos Alberto Enciso <47597242+CarlosAlbertoEnciso at users.noreply.github.com>
  Date:   2023-10-24 (Tue, 24 Oct 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/Local.h
    M llvm/lib/Transforms/IPO/SCCP.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    A llvm/test/Transforms/SCCP/pr50901.ll
    M llvm/unittests/Transforms/Utils/LocalTest.cpp

  Log Message:
  -----------
  [IPSCCP] Variable not visible at Og. (#66745)

https://bugs.llvm.org/show_bug.cgi?id=51559
https://github.com/llvm/llvm-project/issues/50901

IPSCCP pass removes the global variable and does not create a constant
expression for the initializer value.




More information about the All-commits mailing list