[all-commits] [llvm/llvm-project] ae32ba: Set isRequired true for CFGViewer/CFGPrinter passes

Wenju He via All-commits all-commits at lists.llvm.org
Tue Jun 6 23:20:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae32ba4e015b6fe6a3f359fd5a2fde64fa96276e
      https://github.com/llvm/llvm-project/commit/ae32ba4e015b6fe6a3f359fd5a2fde64fa96276e
  Author: Wenju He <wenju.he at intel.com>
  Date:   2023-06-07 (Wed, 07 Jun 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/CFGPrinter.h
    M llvm/test/Other/cfg-printer-filter.ll

  Log Message:
  -----------
  Set isRequired true for CFGViewer/CFGPrinter passes

This PR allows function's cfg to be viewed/printed even if the function
has optnone attribute.

Reviewed By: MaskRay

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




More information about the All-commits mailing list