search for: deadcodeelimination

Displaying 20 results from an estimated 20 matches for "deadcodeelimination".

2012 Feb 01
2
[LLVMdev] Call DeadCodeElimination pass of LLVM
Hi, Please let me know how to follow my pass in LLVM by Dead Code Elimination pass of LLVM. getAnalysisUsage(...) only allows me to run passes before my pass. I want to run Dead Code Elimination pass after my pass. Regards, Adarsh -------------- next part -------------- An HTML attachment was scrubbed... URL:
2012 Feb 01
0
[LLVMdev] Call DeadCodeElimination pass of LLVM
Adarsh HV wrote: > Hi, > Please let me know how to follow my pass in LLVM by Dead Code > Elimination pass of LLVM. getAnalysisUsage(...) only allows me to run > passes before my pass. I want to run Dead Code Elimination pass after my > pass. Your pass does not control that; where the PassManager is created, insert your pass, then insert the DCE pass. Nick
2013 May 31
0
[LLVMdev] [POLLY] fix Bug 15817
...Sven Verdoolaege <skimo at kotnet.org> > Date: Wed Apr 17 12:38:51 2013 +0200 > > isl_ast_codegen.c: contruct_shifted_executed: use isl_val > > Signed-off-by: Sven Verdoolaege <skimo at kotnet.org> > > > In file included from ../tools/polly/lib/DeadCodeElimination.cpp:23:0: > /home/spop/s/isl/usr/include/isl/union_map.h:114:23: error: ‘isl_multi_aff’ has not been declared > After fixing this build problem, I still see the ICE on armv7l-unknown-linux-gnueabihf diff --git a/lib/DeadCodeElimination.cpp b/lib/DeadCodeElimination.cpp index 2a780e6..04dae...
2013 May 31
2
[LLVMdev] [POLLY] fix Bug 15817
...15ec88dc7f7f597168ad0f34f26de5a7 Author: Sven Verdoolaege <skimo at kotnet.org> Date: Wed Apr 17 12:38:51 2013 +0200 isl_ast_codegen.c: contruct_shifted_executed: use isl_val Signed-off-by: Sven Verdoolaege <skimo at kotnet.org> In file included from ../tools/polly/lib/DeadCodeElimination.cpp:23:0: /home/spop/s/isl/usr/include/isl/union_map.h:114:23: error: ‘isl_multi_aff’ has not been declared Sebastian -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
2013 May 31
2
[LLVMdev] [POLLY] fix Bug 15817
...o at kotnet.org> >> Date: Wed Apr 17 12:38:51 2013 +0200 >> >> isl_ast_codegen.c: contruct_shifted_executed: use isl_val >> >> Signed-off-by: Sven Verdoolaege <skimo at kotnet.org> >> >> >> In file included from ../tools/polly/lib/DeadCodeElimination.cpp:23:0: >> /home/spop/s/isl/usr/include/isl/union_map.h:114:23: error: isl_multi_aff has not been declared Hi Sebastian, the test case is expected to fail. It shows an open bug with -enable-codegen-scev and the independent blocks pass. The problem was that it was not consistently failin...
2015 Sep 10
2
[RFC] New pass: LoopExitValues
Which cases does this pass handle which aren't otherwise optimized out by passes like GlobalValueNumbering or DeadCodeElimination? Thanks, Jake VanAdrighem On Thu, Sep 10, 2015 at 2:35 PM, Steve King <steve at metrokings.com> wrote: > Hello LLVM, > It seems this thread has gone cold. Is there some low risk way for > the community to take the new pass for a test drive? > Regards, > -steve > > On...
2013 Jun 05
2
[LLVMdev] [POLLY] fix Bug 15817
...013 +0200 >>>> >>>> isl_ast_codegen.c: contruct_shifted_executed: use isl_val >>>> >>>> Signed-off-by: Sven Verdoolaege <skimo at kotnet.org> >>>> >>>> >>>> In file included from ../tools/polly/lib/DeadCodeElimination.cpp:23:0: >>>> /home/spop/s/isl/usr/include/isl/union_map.h:114:23: error: isl_multi_aff has not been declared >> >> Hi Sebastian, >> >> the test case is expected to fail. It shows an open bug with >> -enable-codegen-scev and the independent blocks pass. Th...
2013 May 31
0
[LLVMdev] [POLLY] fix Bug 15817
...Date: Wed Apr 17 12:38:51 2013 +0200 >>> >>> isl_ast_codegen.c: contruct_shifted_executed: use isl_val >>> >>> Signed-off-by: Sven Verdoolaege <skimo at kotnet.org> >>> >>> >>> In file included from ../tools/polly/lib/DeadCodeElimination.cpp:23:0: >>> /home/spop/s/isl/usr/include/isl/union_map.h:114:23: error: isl_multi_aff has not been declared > > Hi Sebastian, > > the test case is expected to fail. It shows an open bug with > -enable-codegen-scev and the independent blocks pass. The problem was > t...
2013 Jun 05
2
[LLVMdev] [POLLY] fix Bug 15817
...isl_ast_codegen.c: contruct_shifted_executed: use isl_val > >>>>> > >>>>> Signed-off-by: Sven Verdoolaege <skimo at kotnet.org> > >>>>> > >>>>> > >>>>> In file included from ../tools/polly/lib/DeadCodeElimination.cpp:23:0: > >>>>> /home/spop/s/isl/usr/include/isl/union_map.h:114:23: error: isl_multi_aff has not been declared > >>> > >>> Hi Sebastian, > >>> > >>> the test case is expected to fail. It shows an open bug with > >>> -e...
2013 Jun 05
0
[LLVMdev] [POLLY] fix Bug 15817
...t; >>>>> isl_ast_codegen.c: contruct_shifted_executed: use isl_val >>>>> >>>>> Signed-off-by: Sven Verdoolaege <skimo at kotnet.org> >>>>> >>>>> >>>>> In file included from ../tools/polly/lib/DeadCodeElimination.cpp:23:0: >>>>> /home/spop/s/isl/usr/include/isl/union_map.h:114:23: error: isl_multi_aff has not been declared >>> >>> Hi Sebastian, >>> >>> the test case is expected to fail. It shows an open bug with >>> -enable-codegen-scev and the ind...
2013 Jun 06
0
[LLVMdev] [POLLY] fix Bug 15817
...egen.c: contruct_shifted_executed: use isl_val >>>>>>> >>>>>>> Signed-off-by: Sven Verdoolaege <skimo at kotnet.org> >>>>>>> >>>>>>> >>>>>>> In file included from ../tools/polly/lib/DeadCodeElimination.cpp:23:0: >>>>>>> /home/spop/s/isl/usr/include/isl/union_map.h:114:23: error: isl_multi_aff has not been declared >>>>> >>>>> Hi Sebastian, >>>>> >>>>> the test case is expected to fail. It shows an open bug with >&...
2015 Sep 11
5
[RFC] New pass: LoopExitValues
...King via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > On Thu, Sep 10, 2015 at 3:43 PM, Jake VanAdrighem > <jvanadrighem at gmail.com> wrote: >> Which cases does this pass handle which aren't otherwise optimized out by >> passes like GlobalValueNumbering or DeadCodeElimination? >> > > The case uniquely handled here is one in which a computation after a > loop so happens to be redundant with a value left over from loop > execution. At each nesting level of N nested loops, the pass compares > computable SCEVs looking for matches. This sounds specia...
2013 May 31
0
[LLVMdev] [POLLY] fix Bug 15817
Jack Howarth wrote: > The attached patch eliminates http://llvm.org/bugs/show_bug.cgi?id=15817 by removing the remaining > "; XFAIL:*" added in http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130415/171812.html. > The Isl/CodeGen/scevcodegen-1.ll testcase in polly appears as an XPASS in current llvm/polly 3.3 > and trunk svn for both x86_64-apple-darwin* and
2016 Feb 03
4
opt with Polly doesn't find the passes
...p:INITIALIZE_PASS_BEGIN(CodePreparation, "polly-prepare", lib/Transform/Canonicalization.cpp:INITIALIZE_PASS_BEGIN(PollyCanonicalize, "polly-canonicalize", lib/Transform/ScheduleOptimizer.cpp:INITIALIZE_PASS_BEGIN(IslScheduleOptimizer, "polly-opt-isl", lib/Transform/DeadCodeElimination.cpp:INITIALIZE_PASS_BEGIN(DeadCodeElim, "polly-dce", lib/Analysis/DependenceInfo.cpp:INITIALIZE_PASS_BEGIN(DependenceInfo, "polly-dependences", lib/Analysis/ScopDetection.cpp:INITIALIZE_PASS_BEGIN(ScopDetection, "polly-detect", lib/Analysis/ScopInfo.cpp:INITIALIZE_PA...
2013 May 31
4
[LLVMdev] [POLLY] fix Bug 15817
The attached patch eliminates http://llvm.org/bugs/show_bug.cgi?id=15817 by removing the remaining "; XFAIL:*" added in http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130415/171812.html. The Isl/CodeGen/scevcodegen-1.ll testcase in polly appears as an XPASS in current llvm/polly 3.3 and trunk svn for both x86_64-apple-darwin* and x86_64 Fedora 15 when built against isl
2016 Jan 30
4
DCE in the presence of control flow.
I think you can also avoid the RDF computation using a more directed form of control dependence testing such as described in Keshav Pingali and Gianfranco Bilardi. 1997. Optimal control dependence computation and the Roman chariots problem. ACM Trans. Program. Lang. Syst. 19, 3 (May 1997), 462-491. DOI=http://dx.doi.org/10.1145/256167.256217 However one challenge seems to be fixing the SSA graph
2012 Oct 22
0
[LLVMdev] dyld: lazy symbol binding failed: fast lazy bind offset out of range
...ar/lib/fink/path-prefix-clang/c++ -fPIC -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -g -bundle -Wl,-headerpad_max_install_names -Wl,-flat_namespace -Wl,-undefined -Wl,suppress -L/sw/lib -o ../../../lib/LLVMPolly.so CMakeFiles/LLVMPolly.dir/CodePreparation.cpp.o CMakeFiles/LLVMPolly.dir/DeadCodeElimination.cpp.o CMakeFiles/LLVMPolly.dir/IndependentBlocks.cpp.o CMakeFiles/LLVMPolly.dir/IndVarSimplify.cpp.o CMakeFiles/LLVMPolly.dir/MayAliasSet.cpp.o CMakeFiles/LLVMPolly.dir/Pocc.cpp.o CMakeFiles/LLVMPolly.dir/RegionSimplify.cpp.o CMakeFiles/LLVMPolly.dir/RegisterPasses.cpp.o CMakeFiles/LLVMPolly.dir/Sc...
2016 Feb 03
3
opt with Polly doesn't find the passes
I just checkout release_38 branches of llvm, clang and polly and built it on and x86 Ubuntu with cmake: CMAKE_BUILD_TYPE="Debug" CMAKE_INSTALL_PREFIX="$HOME/toolchain/install/llvm-3.8" LLVM_TARGETS_TO_BUILD="X86" cmake -G "Unix Makefiles" \ -DBUILD_SHARED_LIBS="ON" \ -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE \
2015 Sep 03
2
[RFC] New pass: LoopExitValues
On Wed, Sep 2, 2015 at 5:36 AM, James Molloy <james at jamesmolloy.co.uk> wrote: > Hi, > > Coremark really isn't a good enough test - have you run the LLVM test suite > with this patch, and what were the performance differences? For the test suite single source benches, the 235 tests improved performance, 2 regressed and 705 were unchanged. That seems very optimistic.
2012 Oct 22
5
[LLVMdev] dyld: lazy symbol binding failed: fast lazy bind offset out of range
Jack, I looks like the code is calling dlopen() on LLVMPolly.so and it or something it links against has an initializer. The initialer is run before dlopen() returns and the crash is in the initializer. The message: dyld: fast lazy bind offset out of range (53437, max=7640) in image /sw/lib/gcc4.7/libexec/gcc/x86_64-apple-darwin12.2.0/4.7.2/cc1 means the initializer called something which