[all-commits] [llvm/llvm-project] 1cc523: [WebAssembly] Misc. refactoring in CFGStackify (NFC)

Heejin Ahn via All-commits all-commits at lists.llvm.org
Tue Jan 12 00:40:08 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1cc5235712f2ed847f0b593714446d440e0596ba
      https://github.com/llvm/llvm-project/commit/1cc5235712f2ed847f0b593714446d440e0596ba
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2021-01-12 (Tue, 12 Jan 2021)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp

  Log Message:
  -----------
  [WebAssembly] Misc. refactoring in CFGStackify (NFC)

Updating `ScopeTops` is something we frequently do in CFGStackify, so
this factors it out as a function. This also makes a few utility
functions templated so that they are not dependent on input vector
types and simplifies function parameters.

Reviewed By: tlively

Differential Revision: https://reviews.llvm.org/D94046




More information about the All-commits mailing list