Arnold Schwaighofer <arnold.schwaighofer at gmail.com> writes:> We used to have an LLVM-IR pass did tail duplication > (http://llvm.org/viewvc/llvm-project/llvm/tags/RELEASE_29/final/lib/Transforms/Scalar/TailDuplication.cpp) > It was not used and went away with 3.0. The documentation is out of > date.Ah. So is the MachineFunction version expected to work correctly? -David
On Wed, Oct 31, 2012 at 11:19 AM, <dag at cray.com> wrote:> Arnold Schwaighofer <arnold.schwaighofer at gmail.com> writes: > >> We used to have an LLVM-IR pass did tail duplication >> (http://llvm.org/viewvc/llvm-project/llvm/tags/RELEASE_29/final/lib/Transforms/Scalar/TailDuplication.cpp) >> It was not used and went away with 3.0. The documentation is out of >> date. > > Ah. So is the MachineFunction version expected to work correctly?It's part of the default set of CodeGen passes. -Eli
Eli Friedman <eli.friedman at gmail.com> writes:>> Ah. So is the MachineFunction version expected to work correctly? > > It's part of the default set of CodeGen passes.It is? Was that true in 3.1? I can't see where it is initialized in llc. I probably missed something important. :) Thanks! -David