[all-commits] [llvm/llvm-project] 806450: [ConstFold] Don't fold calls with mismatching func...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Mar 11 05:09:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 806450805d3c2ca9948d37fcd5b5e334cfd74e5a
      https://github.com/llvm/llvm-project/commit/806450805d3c2ca9948d37fcd5b5e334cfd74e5a
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/test/Transforms/InstCombine/opaque-ptr.ll

  Log Message:
  -----------
  [ConstFold] Don't fold calls with mismatching function type

With opaque pointers, this is no longer ensured through pointer
type identity.




More information about the All-commits mailing list