[clang] [llvm] [mlir] [ADT] Give DenseMapPair its own members instead of a std::pair base. NFC (PR #221853)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 7 20:04:00 PDT 2026
================
@@ -760,9 +760,8 @@ ParallelToGpuLaunchLowering::matchAndRewrite(ParallelOp parallelOp,
// Now that we succeeded creating the launch operation, also update the
// bounds.
- for (auto bound : launchBounds)
- launchOp.setOperand(getLaunchOpArgumentNum(std::get<0>(bound)),
- std::get<1>(bound));
+ for (const auto &bound : launchBounds)
+ launchOp.setOperand(getLaunchOpArgumentNum(bound.first), bound.second);
----------------
MaskRay wrote:
adopted structured binding
https://github.com/llvm/llvm-project/pull/221853
More information about the cfe-commits
mailing list