[all-commits] [llvm/llvm-project] 4de3bd: [NFC] StackProtector: be consistent and to initial...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Wed Jan 27 07:38:15 PST 2021


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

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

  Log Message:
  -----------
  [NFC] StackProtector: be consistent and to initialize DominatorTreeWrapperPass

We already ask for it, so it might be good to ensure that it is
actually initialized before us. Doesn't seem to matter in practice though.


  Commit: 51a25846c198cff00abad0936f975167357afa6f
      https://github.com/llvm/llvm-project/commit/51a25846c198cff00abad0936f975167357afa6f
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-01-27 (Wed, 27 Jan 2021)

  Changed paths:
    M llvm/lib/CodeGen/SafeStack.cpp
    M llvm/test/CodeGen/ARM/O3-pipeline.ll

  Log Message:
  -----------
  [CodeGen] SafeStack: preserve DominatorTree if it is avaliable

While this is mostly NFC right now, because only ARM happens
to run this pass with DomTree available before it,
and required after it, more backends will be affected once
the SimplifyCFG's switch for domtree preservation is flipped,
and DwarfEHPrepare also preserves the domtree.


Compare: https://github.com/llvm/llvm-project/compare/add98b246290...51a25846c198


More information about the All-commits mailing list