[all-commits] [llvm/llvm-project] ad66bc: [InstCombine] Use getInsertionPointAfterDef() in f...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Aug 31 02:33:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad66bc42b0c377b1bff9841fc4715a17ca947222
      https://github.com/llvm/llvm-project/commit/ad66bc42b0c377b1bff9841fc4715a17ca947222
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/InstCombine/freeze.ll

  Log Message:
  -----------
  [InstCombine] Use getInsertionPointAfterDef() in freeze fold

This simplifies the code and fixes handling of catchswitch, in
which case we have no insertion point for the freeze.

Originally part of D129660.




More information about the All-commits mailing list