[all-commits] [llvm/llvm-project] fb5577: [NFCI][GVN] Make IsValueFullyAvailableInBlock() re...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Sun Jul 19 06:34:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fb5577d4f883ba21a6fe048ffd59ca3659cdb491
      https://github.com/llvm/llvm-project/commit/fb5577d4f883ba21a6fe048ffd59ca3659cdb491
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-07-19 (Sun, 19 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/GVN.cpp

  Log Message:
  -----------
  [NFCI][GVN] Make IsValueFullyAvailableInBlock() readable - use enum class instead of magic numbers

This does not change any logic, it only wraps the magic 0/1/2/3 constants
into an enum class.




More information about the All-commits mailing list