[all-commits] [llvm/llvm-project] c000b4: [mlir] Avoid unnecessary copies in SCF's OneToNTyp...
Ingo Müller via All-commits
all-commits at lists.llvm.org
Fri Jul 7 02:15:45 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c000b403fcae6272779686ab82eb777ca3fd6d77
https://github.com/llvm/llvm-project/commit/c000b403fcae6272779686ab82eb777ca3fd6d77
Author: Ingo Müller <ingomueller at google.com>
Date: 2023-07-07 (Fri, 07 Jul 2023)
Changed paths:
M mlir/lib/Dialect/SCF/Transforms/OneToNTypeConversion.cpp
Log Message:
-----------
[mlir] Avoid unnecessary copies in SCF's OneToNTypeConversions. (NFC)
In two places, a ResultRange was copied into a SmallVector just to be
passed as a ValueRange argument. With this patch, the ResultRanges are
passed directly, avoiding a copy.
Reviewed By: ingomueller-net
Differential Revision: https://reviews.llvm.org/D154685
More information about the All-commits
mailing list