[all-commits] [llvm/llvm-project] f4ea21: [NFCI][CodeGen] DwarfEHPrepare: don't actually pas...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Sat Jan 2 04:04:33 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f4ea21947d907c8730fef2be8fbad457f1d96a0e
      https://github.com/llvm/llvm-project/commit/f4ea21947d907c8730fef2be8fbad457f1d96a0e
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-01-02 (Sat, 02 Jan 2021)

  Changed paths:
    M llvm/lib/CodeGen/DwarfEHPrepare.cpp

  Log Message:
  -----------
  [NFCI][CodeGen] DwarfEHPrepare: don't actually pass DTU into simplifyCFG by default

also, don't verify DomTree unless we intend to maintain it.
This is a very dumb think-o, i guess i was even warned about it
by subconsciousness in 4b80647367950ba3da6a08260487fd0dbc50a9c5's
commit message..

Fixes a compile-time regression reported by Martin Storsjö
in post-commit review of 2461cdb41724298591133c811df82b0064adfa6b.


  Commit: b9da488ad729a6604439d1b5e456330bab9321bd
      https://github.com/llvm/llvm-project/commit/b9da488ad729a6604439d1b5e456330bab9321bd
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-01-02 (Sat, 02 Jan 2021)

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

  Log Message:
  -----------
  [SimplifyCFG] Don't actually take DomTreeUpdater unless we intend to maintain DomTree validity

This guards against unintentional mistakes
like the one i just fixed in previous commit.


Compare: https://github.com/llvm/llvm-project/compare/b4c5e19da747...b9da488ad729


More information about the All-commits mailing list