[llvm-testresults] Grawp-NO-LTO-PIC i386 nightly tester results
Evan Cheng
evan.cheng at apple.com
Mon Jun 16 01:55:37 PDT 2008
I am having problem with the oggenc failure. I am no longer able to
reproduce it on tot. However, valgrind shows this:
==47534== Invalid read of size 4
==47534== at 0x6C2818: (anonymous
namespace
)::LoopStrengthReduce
::DeleteTriviallyDeadInstructions
(llvm::SmallPtrSet<llvm::Instruction*, 16>&)+120 (in \
/Users/echeng/LLVM/llvm/Release/bin/llc)
==47534== by 0x6CD5ED: (anonymous
namespace
)::LoopStrengthReduce::runOnLoop(llvm::LoopBase<llvm::BasicBlock>*,
llvm::LPPassManager&)+1373 (in /Users/e\
cheng/LLVM/llvm/Release/bin/llc)
==47534== by 0x7214E4:
llvm::LPPassManager::runOnFunction(llvm::Function&)+788 (in /Users/
echeng/LLVM/llvm/Release/bin/llc)
==47534== by 0x7D99A5:
llvm::FPPassManager::runOnFunction(llvm::Function&)+517 (in /Users/
echeng/LLVM/llvm/Release/bin/llc)
==47534== by 0x7D9FC3:
llvm::FunctionPassManagerImpl::run(llvm::Function&)+131 (in /Users/
echeng/LLVM/llvm/Release/bin/llc)
==47534== by 0x7DA145:
llvm::FunctionPassManager::run(llvm::Function&)+85 (in /Users/echeng/
LLVM/llvm/Release/bin/llc)
==47534== by 0x3563: main+3299 (in /Users/echeng/LLVM/llvm/Release/
bin/llc)
==47534== Address 0x25e5930 is 0 bytes inside a block of size 52 free'd
==47534== at 0xB03847: operator delete(void*)+103 (in /usr/local/
lib/valgrind/x86-darwin/vgpreload_memcheck.so)
==47534== by 0x6BF8B4: OptimizeNoopCopyExpression(llvm::CastInst*,
llvm::TargetLowering const&)+4628 (in /Users/echeng/LLVM/llvm/Release/
bin/llc)
==47534== by 0x6C01E0: (anonymous
namespace)::CodeGenPrepare::OptimizeBlock(llvm::BasicBlock&)+960 (in /
Users/echeng/LLVM/llvm/Release/bin/llc)
==47534== by 0x6C0B88: (anonymous
namespace)::CodeGenPrepare::runOnFunction(llvm::Function&)+104 (in /
Users/echeng/LLVM/llvm/Release/bin/llc)
==47534== by 0x7D99A5:
llvm::FPPassManager::runOnFunction(llvm::Function&)+517 (in /Users/
echeng/LLVM/llvm/Release/bin/llc)
==47534== by 0x7D9FC3:
llvm::FunctionPassManagerImpl::run(llvm::Function&)+131 (in /Users/
echeng/LLVM/llvm/Release/bin/llc)
==47534== by 0x7DA145:
llvm::FunctionPassManager::run(llvm::Function&)+85 (in /Users/echeng/
LLVM/llvm/Release/bin/llc)
==47534== by 0x3563: main+3299 (in /Users/echeng/LLVM/llvm/Release/
bin/llc)
This is not making a lot of sense to me. It's saying
LoopStrengthReduce::DeleteTriviallyDeadInstructions() is reading
memory that's already freed by OptimizeNoopCopyExpression (part of
codegenprepare). But codegenprepare is run after LSR?!
I've also tried running verifier before and after lsr. But everything
looks just fine.
Can anyone reproduce this? Try make ENABLE_OPTIMIZED=1 DISABLE_LTO=1
TARGET_FLAGS= TARGET_LLCFLAGS="-relocation-model=pic -disable-fp-elim"
Evan
On Jun 15, 2008, at 11:57 AM, Evan Cheng wrote:
> This looks like a memory bug in lsr. I'm looking into it.
>
> Evan
>
> On Jun 15, 2008, at 9:16 AM, Apache wrote:
>
>> http://llvm.org/nightlytest/test.php?machine=285&night=6413
>> Name: grawp.apple.com
>> Nickname: Grawp-NO-LTO-PIC
>> Buildstatus: OK
>>
>> New Test Passes:
>> None
>>
>> New Test Failures:
>> Applications/oggenc/oggenc [LLC compile, ]
>>
>>
>> Added Tests:
>> test/BugPoint/misopt-basictest.ll for PR2453
>> test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll
>> test/CodeGen/X86/2008-06-13-SpillerCommuting.ll
>> test/CodeGen/X86/2008-06-13-VolatileLoadStore.ll
>> test/FrontendC++/2006-11-30-NoCompileUnit.cpp for PR2454
>> test/FrontendC/2003-08-21-WideString.c for PR2425
>> test/FrontendC/2004-02-13-IllegalVararg.c for PR2425
>> test/FrontendC/2006-09-18-fwrite-cast-crash.c for PR910,2425
>> test/FrontendC/2007-09-05-ConstCtor.c for PR1641,2425
>> test/FrontendC/2007-09-28-PackedUnionMember.c for PR2425
>> test/Transforms/InstCombine/2008-06-13-InfiniteLoopStore.ll
>> test/Transforms/InstCombine/2008-06-13-ReadOnlyCallStore.ll
>> test/Transforms/LoopStrengthReduce/change-compare-stride-
>> trickiness.ll
>>
>>
>> Removed Tests:
>> test/BugPoint/misopt-basictest.ll
>> test/FrontendC++/2006-11-30-NoCompileUnit.cpp
>> test/FrontendC/2003-08-21-WideString.c
>> test/FrontendC/2004-02-13-IllegalVararg.c
>> test/FrontendC/2006-09-18-fwrite-cast-crash.c for PR910
>> test/FrontendC/2007-09-05-ConstCtor.c for PR1641
>> test/FrontendC/2007-09-28-PackedUnionMember.c
>>
>>
>> Significant changes in test results:
>> LLC:
>> singlesource/Benchmarks/Misc/flops: 8.87% (13.75 => 12.53)
>> singlesource/Benchmarks/Misc/flops-5: 36.50% (6.11 => 3.88)
>> singlesource/Benchmarks/Misc/flops-8: 20.29% (4.83 => 3.85)
>>
>> _______________________________________________
>> llvm-testresults mailing list
>> llvm-testresults at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-testresults
>
> _______________________________________________
> llvm-testresults mailing list
> llvm-testresults at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-testresults
More information about the llvm-testresults
mailing list