[all-commits] [llvm/llvm-project] 2070fe: [NFCI][SimplifyCFG] Don't form DTU updates if we a...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Wed Mar 24 14:03:21 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2070fe7144fcf76f0800c423c11882c9b872da6c
      https://github.com/llvm/llvm-project/commit/2070fe7144fcf76f0800c423c11882c9b872da6c
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-03-25 (Thu, 25 Mar 2021)

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp

  Log Message:
  -----------
  [NFCI][SimplifyCFG] Don't form DTU updates if we aren't going to apply them

I think we may want to have a thin wrapper over a vector to deduplicate
those `if(DTU)` predicates, and instead do them in the `insert()` itself.




More information about the All-commits mailing list