How hard would it be to compile this pass and add it to the passes that opt can run? Is this something I should be able to do relatively quickly? What was the name of the file(s) that implemented the pass? Thanks, Ben On 7/3/07, Chris Lattner <sabre at nondot.org> wrote:> On Tue, 3 Jul 2007, Anton Korobeynikov wrote: > >> We used to have a 'lowerconstantexpr' pass in transforms/scalar. I don't > >> know how to see deleted files in svn though. > > They should be "seen" in the certain revision, before they were deleted. > > How can you see these in viewcv? > > -Chris > > -- > http://nondot.org/sabre/ > http://llvm.org/ > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
On Tue, 3 Jul 2007, Ben Chambers wrote:> How hard would it be to compile this pass and add it to the passes > that opt can run? Is this something I should be able to do relatively > quickly? What was the name of the file(s) that implemented the pass?It should be easy, modulo it bitrotting. It is already built as an opt pass. The filename was LowerConstantExpr.cpp IIRC. -Chris> On 7/3/07, Chris Lattner <sabre at nondot.org> wrote: >> On Tue, 3 Jul 2007, Anton Korobeynikov wrote: >>>> We used to have a 'lowerconstantexpr' pass in transforms/scalar. I don't >>>> know how to see deleted files in svn though. >>> They should be "seen" in the certain revision, before they were deleted. >> >> How can you see these in viewcv? >> >> -Chris >> >> -- >> http://nondot.org/sabre/ >> http://llvm.org/ >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >> > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-Chris -- http://nondot.org/sabre/ http://llvm.org/
Chris: It was in the 1.5 release but not subsequent to that. You can find this by looking for the file in the branches that were converted from subversion. You can find the file you're looking for here: http://llvm.org/viewvc/llvm-project/llvm/branches/release_15/lib/Transforms/Scalar/LowerConstantExprs.cpp?view=log Reid. On Tue, 2007-07-03 at 14:29 -0700, Chris Lattner wrote:> On Tue, 3 Jul 2007, Ben Chambers wrote: > > How hard would it be to compile this pass and add it to the passes > > that opt can run? Is this something I should be able to do relatively > > quickly? What was the name of the file(s) that implemented the pass? > > It should be easy, modulo it bitrotting. It is already built as an opt > pass. The filename was LowerConstantExpr.cpp IIRC. > > -Chris > > > On 7/3/07, Chris Lattner <sabre at nondot.org> wrote: > >> On Tue, 3 Jul 2007, Anton Korobeynikov wrote: > >>>> We used to have a 'lowerconstantexpr' pass in transforms/scalar. I don't > >>>> know how to see deleted files in svn though. > >>> They should be "seen" in the certain revision, before they were deleted. > >> > >> How can you see these in viewcv? > >> > >> -Chris > >> > >> -- > >> http://nondot.org/sabre/ > >> http://llvm.org/ > >> _______________________________________________ > >> LLVM Developers mailing list > >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >> > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > -Chris >