[PATCH] D134277: [RISCV] Combine comparison and logic ops.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 13 14:04:26 PST 2022


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:8375
+
+  auto &&[Op0, Op1] = std::move(ComparisonInfo.value());
+
----------------
Why std::move? There's nothing in CmpOpInfo that is heap allocated is there?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134277/new/

https://reviews.llvm.org/D134277



More information about the llvm-commits mailing list