[all-commits] [llvm/llvm-project] c07751: [InstSimplify] Handle unknown function context in ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue May 10 02:49:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c077510bb195325b33eb28c550ebff4665b0c709
      https://github.com/llvm/llvm-project/commit/c077510bb195325b33eb28c550ebff4665b0c709
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-05-10 (Tue, 10 May 2022)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/LoopDeletion/eval_first_iteration.ll

  Log Message:
  -----------
  [InstSimplify] Handle unknown function context in pointer icmp fold (PR54615)

This issue reproduces in the context of LoopDeletion, because the
bitcast does not get simplified away there. For a plain -inst-simplify
run the bitcast would get folded away first.

Fixes https://github.com/llvm/llvm-project/issues/54615.




More information about the All-commits mailing list