[all-commits] [llvm/llvm-project] 97cc12: [InstCombine] Merge two functions; NFC

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat Mar 28 13:19:37 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 97cc1275c7d9301ead6d7c33ae2716e31b14ec1f
      https://github.com/llvm/llvm-project/commit/97cc1275c7d9301ead6d7c33ae2716e31b14ec1f
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-03-28 (Sat, 28 Mar 2020)

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

  Log Message:
  -----------
  [InstCombine] Merge two functions; NFC

Merge AddReachableCodeToWorklist() into prepareICWorklistFromFunction().
It's one logical step, and this makes it easier to move code.


  Commit: 2215dcf1d755413d32359563c4dbd3d4f575e5dc
      https://github.com/llvm/llvm-project/commit/2215dcf1d755413d32359563c4dbd3d4f575e5dc
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-03-28 (Sat, 28 Mar 2020)

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

  Log Message:
  -----------
  [InstCombine] Remove unreachable blocks before DCE

Dropping unreachable code may reduce use counts on other instructions,
so it's better to do this earlier rather than later.

NFC-ish, may only impact worklist order.


Compare: https://github.com/llvm/llvm-project/compare/d3b6e1f1f93e...2215dcf1d755


More information about the All-commits mailing list