[PATCH] D78471: [MS] Copy the symbols assigned to the former instruction when memory folding.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 16 15:22:01 PDT 2020


craig.topper added inline comments.


================
Comment at: llvm/lib/CodeGen/TargetInstrInfo.cpp:599
     NewMI->addMemOperand(MF, MMO);
+    NewMI->cloneInstrSymbols(MF, MI);
 
----------------
Probably worth its is own comment and blank line between it and the memory operand handling.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78471





More information about the llvm-commits mailing list