[PATCH] D37762: [InstCombine] Remove single use restriction from InstCombine's explicit sinking code.

River Riddle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 13 14:39:59 PDT 2017


rriddle added a comment.

Has there been any sort of discussion on expanding/using the existing IR level code sinking pass? I am referring to the SinkingPass in scalar/sink.cpp. AFAIK it's only used in the AMDGPU preisel pipeline. I don't know it's current state/usability but the description of the pass is:

// This pass moves instructions into successor blocks, when possible, so that
// they aren't executed on paths where their results aren't needed.


https://reviews.llvm.org/D37762





More information about the llvm-commits mailing list