[PATCH] D17843: MachineSink: make shouldSink a TII target hook
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 3 00:12:22 PST 2016
arsenm added a subscriber: arsenm.
================
Comment at: lib/CodeGen/MachineSink.cpp:676-677
@@ -679,3 +675,4 @@
AllSuccsCache &AllSuccessors) {
// Don't sink insert_subreg, subreg_to_reg, reg_sequence. These are meant to
// be close to the source to make it easier to coalesce.
+ if (!TII->shouldSink(*MI))
----------------
Comment needs updating
Repository:
rL LLVM
http://reviews.llvm.org/D17843
More information about the llvm-commits
mailing list