[PATCH] D59139: [CodeGenPrepare] Fix ModifiedDT flag in optimizeSelectInst

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 8 10:32:47 PST 2019


xur added inline comments.


================
Comment at: lib/CodeGen/CodeGenPrepare.cpp:2045
     (void)FoldReturnIntoUncondBranch(RetI, BB, CallBB);
-    ModifiedDT = Changed = true;
     ++NumRetsDup;
----------------
tejohnson wrote:
> Should this set the new ModifiedDT?
Sorry for missing this one. We should. 
I will update the patch.



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

https://reviews.llvm.org/D59139





More information about the llvm-commits mailing list