[PATCH] D150256: [NFC]add mov constructor to DIEValue

Sergei Barannikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 10 02:35:36 PDT 2023


barannikov88 added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/DIE.h:466
 
+  DIEValue(DIEValue &&X) : Ty(X.Ty), Attribute(X.Attribute), Form(X.Form) {
+    copyVal(X);
----------------
It is no more efficient than the copy constructor.
Why do you need it?



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150256



More information about the llvm-commits mailing list