[PATCH] D27290: When hoisting instructions out of loops their debug loc should be removed (MLICM pass).
    David Blaikie via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Dec  1 13:18:14 PST 2016
    
    
  
dblaikie added a comment.
Seems reasonable - any chance of simplifying the test case further?
================
Comment at: lib/CodeGen/MachineLICM.cpp:1339
 
+    MI->setDebugLoc(DebugLoc());
+
----------------
Might be worth a comment
https://reviews.llvm.org/D27290
    
    
More information about the llvm-commits
mailing list