[PATCH] D18226: Codegen: Tail-duplicate during placement.

David Li via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 3 15:35:33 PDT 2016


davidxl accepted this revision.
davidxl added a comment.

lgtm.

This is large change so it bounds to run into some corner case issues. Please test thoroughly and watch for any fallouts.



> MachineBlockPlacement.cpp:1848
> +                                      DuplicatedToLPred);
> +  }
> +  LPred = *std::prev(Chain.end());

Add an assert that Removed is true when DuplicatedToLPred is true

https://reviews.llvm.org/D18226





More information about the llvm-commits mailing list