[all-commits] [llvm/llvm-project] 1cbb45: [GlobalOpt] Fix global to select transform under o...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jan 13 02:13:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1cbb456123a9e104d2a29c42f021ab537f18397b
      https://github.com/llvm/llvm-project/commit/1cbb456123a9e104d2a29c42f021ab537f18397b
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-01-13 (Thu, 13 Jan 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/GlobalOpt.cpp
    A llvm/test/Transforms/GlobalOpt/shrink-global-to-bool-opaque-ptrs.ll

  Log Message:
  -----------
  [GlobalOpt] Fix global to select transform under opaque pointers

We need to check that the load/store type is also the same, as this
is no longer implicitly checked through the pointer type.




More information about the All-commits mailing list