[PATCH] D122557: [NFC][CodeGen] Add a setTargetDAGCombine use ArrayRef
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 28 13:17:11 PDT 2022
arsenm accepted this revision.
arsenm added inline comments.
This revision is now accepted and ready to land.
Herald added a subscriber: wdng.
================
Comment at: llvm/include/llvm/CodeGen/TargetLowering.h:2346
+ void setTargetDAGCombine(ArrayRef<ISD::NodeType> NTs) {
+ for (auto NT : NTs)
----------------
Could also use std::initializer_list
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122557/new/
https://reviews.llvm.org/D122557
More information about the llvm-commits
mailing list