[PATCH] D40960: Fix for bug PR35549 - [X86] Repeated schedule comments

Andrew V. Tischenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 11 01:45:14 PST 2017


avt77 added inline comments.


================
Comment at: lib/Target/X86/X86MCInstLower.cpp:2007
   MCInstLowering.Lower(MI, TmpInst);
+  TmpInst.setFlags(MI->getFlags());
 
----------------
RKSimon wrote:
> Won't this copy other flags as well? Is that safe?
Yes, that's exactly what we need here.


https://reviews.llvm.org/D40960





More information about the llvm-commits mailing list