[all-commits] [llvm/llvm-project] af7607: [flang][CodeGen][NFC] Reduce TargetRewrite pass bo...
Tom Eccles via All-commits
all-commits at lists.llvm.org
Wed Jun 5 05:59:34 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: af76071ac078834ad0c4085e1c88198d3735fbd5
https://github.com/llvm/llvm-project/commit/af76071ac078834ad0c4085e1c88198d3735fbd5
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/CodeGen/CGPasses.td
M flang/include/flang/Optimizer/CodeGen/CodeGen.h
M flang/include/flang/Tools/CLOptions.inc
M flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
Log Message:
-----------
[flang][CodeGen][NFC] Reduce TargetRewrite pass boilerplate (#94450)
Tablegen can automatically generate the pass constructor. Tablegen will
create a constructor for all of the pass options (not only the subset in
the old constructor), but the pass options seem unused anyway.
This pass does not require any modification to support alternative
top-level ops. It walks all operations in the module. Functions have
special handling (adding attributes, converting signatures) but this
wouldn't make sense for top level operations in general.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list