[PATCH] D123656: [NFC][CodeGen] Use ArrayRef in TargetLowering functions
LiqinWeng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 13 00:41:22 PDT 2022
Miss_Grape updated this revision to Diff 422421.
Miss_Grape added a comment.
Fix comment
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123656/new/
https://reviews.llvm.org/D123656
Files:
llvm/include/llvm/CodeGen/TargetLowering.h
Index: llvm/include/llvm/CodeGen/TargetLowering.h
===================================================================
--- llvm/include/llvm/CodeGen/TargetLowering.h
+++ llvm/include/llvm/CodeGen/TargetLowering.h
@@ -2278,6 +2278,12 @@
}
}
+ void setLoadExtAction(ArrayRef<unsigned> ExtTypes, MVT ValVT,
+ ArrayRef<MVT> MemVTs, LegalizeAction Action) {
+ for (auto MemVT : MemVTs)
+ setLoadExtAction(ExtTypes, ValVT, MemVT, Action);
+ }
+
/// Indicate that the specified truncating store does not work with the
/// specified type and indicate what to do about it.
void setTruncStoreAction(MVT ValVT, MVT MemVT, LegalizeAction Action) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123656.422421.patch
Type: text/x-patch
Size: 687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220413/ca15e7e3/attachment.bin>
More information about the llvm-commits
mailing list