Török Edwin wrote:> Yes, I have uploaded the .tar.gz here: > http://edwintorok.googlepages.com/ClamAV-srcflat.tar.gz > [inputs dir contains some symlink, place ClamAV dir in > llvm/projects/llvm-test/MultiSource/Applications to make > links point to right place] > >Hi, Because llvm bug #1730 got fixed, this testcase can run under with the JIT on x86-64 :). I have attached the updated filterdiff.sh script (JIT has extra file descriptor open), and now all tests pass. I've also uploaded the new tarball here: http://edwintorok.googlepages.com/ClamAV-srcflat2.tar.gz TEST-PASS: compile /MultiSource/Applications/ClamAV/clamscan TEST-RESULT-compile: Total Execution Time: 6.0010 seconds (6.7158 wall clock) TEST-RESULT-compile: 1728712 Output/clamscan.llvm.bc TEST-RESULT-nat-time: program 12.880000 TEST-PASS: llc /MultiSource/Applications/ClamAV/clamscan TEST-RESULT-llc: Total Execution Time: 7.3758 seconds (7.7852 wall clock) TEST-RESULT-llc-time: program 13.940000 TEST-PASS: jit /MultiSource/Applications/ClamAV/clamscan TEST-RESULT-jit-time: program 18.320000 TEST-RESULT-jit-comptime: TEST-PASS: cbe /MultiSource/Applications/ClamAV/clamscan TEST-RESULT-cbe-time: program 12.750000 Best regards, --Edwin -------------- next part -------------- A non-text attachment was scrubbed... Name: filterdiff.sh Type: application/x-shellscript Size: 598 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080110/0468e40c/attachment.bin>
Hi, We are getting closer. 1. In Makefile, all the references to CFLAGS should be CPPFLAGS instead. 2. filterdiff.sh uses sed -re. This causes a problem on Mac OS X where -E means using extended regular expression, not -r. sed: illegal option -- r usage: sed script [-Ealn] [-i extension] [file ...] sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...] Can this be changed? 3. This triggers a optimizer bug: /Users/echeng/LLVM/llvm/Release/bin/opt -std-compile-opts -time-passes -info-output-file=/Volumes/Muggles/LLVM/llvm/projects/llvm-test/ MultiSource/Applications/ClamAV/Out\ put/clamscan.linked.bc.info Output/clamscan.linked.rbc -o Output/ clamscan.linked.bc -f Assertion failed: (getLoopLatch() && "Loop latch is missing"), function verifyLoop, file /Volumes/Muggles/LLVM/llvm/include/llvm/ Analysis/LoopInfo.h, line 517. I'll file a bug on this. Evan On Jan 10, 2008, at 2:41 AM, Török Edwin wrote:> Török Edwin wrote: >> Yes, I have uploaded the .tar.gz here: >> http://edwintorok.googlepages.com/ClamAV-srcflat.tar.gz >> [inputs dir contains some symlink, place ClamAV dir in >> llvm/projects/llvm-test/MultiSource/Applications to make >> links point to right place] >> >> > > Hi, > > Because llvm bug #1730 got fixed, this testcase can run under with the > JIT on x86-64 :). > I have attached the updated filterdiff.sh script (JIT has extra file > descriptor open), and now all tests pass. > > I've also uploaded the new tarball here: > http://edwintorok.googlepages.com/ClamAV-srcflat2.tar.gz > > TEST-PASS: compile /MultiSource/Applications/ClamAV/clamscan > TEST-RESULT-compile: Total Execution Time: 6.0010 seconds (6.7158 > wall > clock) > > TEST-RESULT-compile: 1728712 Output/clamscan.llvm.bc > > > TEST-RESULT-nat-time: program 12.880000 > > TEST-PASS: llc /MultiSource/Applications/ClamAV/clamscan > TEST-RESULT-llc: Total Execution Time: 7.3758 seconds (7.7852 wall > clock) > TEST-RESULT-llc-time: program 13.940000 > > > TEST-PASS: jit /MultiSource/Applications/ClamAV/clamscan > TEST-RESULT-jit-time: program 18.320000 > > TEST-RESULT-jit-comptime: > > TEST-PASS: cbe /MultiSource/Applications/ClamAV/clamscan > TEST-RESULT-cbe-time: program 12.750000 > > > Best regards, > --Edwin > <filterdiff.sh>_______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
On Jan 10, 2008, at 11:28 AM, Evan Cheng wrote:> Hi, > > We are getting closer. > > 1. In Makefile, all the references to CFLAGS should be CPPFLAGS > instead. > 2. filterdiff.sh uses sed -re. This causes a problem on Mac OS X where > -E means using extended regular expression, not -r. > > sed: illegal option -- r > usage: sed script [-Ealn] [-i extension] [file ...] > sed [-Ealn] [-i extension] [-e script] ... [-f > script_file] ... [file ...] > > Can this be changed?Looks like the filter might not work correctly for all platforms (at least that appears to be the case on Mac OS X). Can we simply disable those debug outputs? Thanks, Evan> > > 3. This triggers a optimizer bug: > /Users/echeng/LLVM/llvm/Release/bin/opt -std-compile-opts -time-passes > -info-output-file=/Volumes/Muggles/LLVM/llvm/projects/llvm-test/ > MultiSource/Applications/ClamAV/Out\ > put/clamscan.linked.bc.info Output/clamscan.linked.rbc -o Output/ > clamscan.linked.bc -f > Assertion failed: (getLoopLatch() && "Loop latch is missing"), > function verifyLoop, file /Volumes/Muggles/LLVM/llvm/include/llvm/ > Analysis/LoopInfo.h, line 517. > > I'll file a bug on this. > > Evan > > > On Jan 10, 2008, at 2:41 AM, Török Edwin wrote: > >> Török Edwin wrote: >>> Yes, I have uploaded the .tar.gz here: >>> http://edwintorok.googlepages.com/ClamAV-srcflat.tar.gz >>> [inputs dir contains some symlink, place ClamAV dir in >>> llvm/projects/llvm-test/MultiSource/Applications to make >>> links point to right place] >>> >>> >> >> Hi, >> >> Because llvm bug #1730 got fixed, this testcase can run under with >> the >> JIT on x86-64 :). >> I have attached the updated filterdiff.sh script (JIT has extra file >> descriptor open), and now all tests pass. >> >> I've also uploaded the new tarball here: >> http://edwintorok.googlepages.com/ClamAV-srcflat2.tar.gz >> >> TEST-PASS: compile /MultiSource/Applications/ClamAV/clamscan >> TEST-RESULT-compile: Total Execution Time: 6.0010 seconds (6.7158 >> wall >> clock) >> >> TEST-RESULT-compile: 1728712 Output/clamscan.llvm.bc >> >> >> TEST-RESULT-nat-time: program 12.880000 >> >> TEST-PASS: llc /MultiSource/Applications/ClamAV/clamscan >> TEST-RESULT-llc: Total Execution Time: 7.3758 seconds (7.7852 wall >> clock) >> TEST-RESULT-llc-time: program 13.940000 >> >> >> TEST-PASS: jit /MultiSource/Applications/ClamAV/clamscan >> TEST-RESULT-jit-time: program 18.320000 >> >> TEST-RESULT-jit-comptime: >> >> TEST-PASS: cbe /MultiSource/Applications/ClamAV/clamscan >> TEST-RESULT-cbe-time: program 12.750000 >> >> >> Best regards, >> --Edwin >> <filterdiff.sh>_______________________________________________ >> 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
Evan Cheng wrote:> Hi, >Hi Evan,> We are getting closer. >That is good news.> 1. In Makefile, all the references to CFLAGS should be CPPFLAGS instead. >Done, and attached.> 2. filterdiff.sh uses sed -re. This causes a problem on Mac OS X where > -E means using extended regular expression, not -r. > Can this be changed? >I'm not really familiar with sed's non-extended regular expression syntax, I'll have to read its info page. I can do that if you decide to keep filterdiff.sh, see below Evan Cheng wrote:> On Jan 10, 2008, at 11:28 AM, Evan Cheng wrote: > > > Looks like the filter might not work correctly for all platforms (at > least that appears to be the case on Mac OS X). Can we simply disable > those debug outputs? > > Thanks, >If it is causing problems, yes. Or maybe just enable it for certain OSes? (where sed supports -re?) How would you prefer?> 3. This triggers a optimizer bug: > [...] > > I'll file a bug on this. >Ok, that bug didn't trigger for me, is it x86/ppc specific? (I use x86-64). --Edwin -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Makefile URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080110/bb6de972/attachment.ksh>
I've filed http://www.llvm.org/bugs/show_bug.cgi?id=1912 for the optimizer bug. Evan On Jan 10, 2008, at 11:28 AM, Evan Cheng wrote:> Hi, > > We are getting closer. > > 1. In Makefile, all the references to CFLAGS should be CPPFLAGS > instead. > 2. filterdiff.sh uses sed -re. This causes a problem on Mac OS X where > -E means using extended regular expression, not -r. > > sed: illegal option -- r > usage: sed script [-Ealn] [-i extension] [file ...] > sed [-Ealn] [-i extension] [-e script] ... [-f > script_file] ... [file ...] > > Can this be changed? > > 3. This triggers a optimizer bug: > /Users/echeng/LLVM/llvm/Release/bin/opt -std-compile-opts -time-passes > -info-output-file=/Volumes/Muggles/LLVM/llvm/projects/llvm-test/ > MultiSource/Applications/ClamAV/Out\ > put/clamscan.linked.bc.info Output/clamscan.linked.rbc -o Output/ > clamscan.linked.bc -f > Assertion failed: (getLoopLatch() && "Loop latch is missing"), > function verifyLoop, file /Volumes/Muggles/LLVM/llvm/include/llvm/ > Analysis/LoopInfo.h, line 517. > > I'll file a bug on this. > > Evan > > > On Jan 10, 2008, at 2:41 AM, Török Edwin wrote: > >> Török Edwin wrote: >>> Yes, I have uploaded the .tar.gz here: >>> http://edwintorok.googlepages.com/ClamAV-srcflat.tar.gz >>> [inputs dir contains some symlink, place ClamAV dir in >>> llvm/projects/llvm-test/MultiSource/Applications to make >>> links point to right place] >>> >>> >> >> Hi, >> >> Because llvm bug #1730 got fixed, this testcase can run under with >> the >> JIT on x86-64 :). >> I have attached the updated filterdiff.sh script (JIT has extra file >> descriptor open), and now all tests pass. >> >> I've also uploaded the new tarball here: >> http://edwintorok.googlepages.com/ClamAV-srcflat2.tar.gz >> >> TEST-PASS: compile /MultiSource/Applications/ClamAV/clamscan >> TEST-RESULT-compile: Total Execution Time: 6.0010 seconds (6.7158 >> wall >> clock) >> >> TEST-RESULT-compile: 1728712 Output/clamscan.llvm.bc >> >> >> TEST-RESULT-nat-time: program 12.880000 >> >> TEST-PASS: llc /MultiSource/Applications/ClamAV/clamscan >> TEST-RESULT-llc: Total Execution Time: 7.3758 seconds (7.7852 wall >> clock) >> TEST-RESULT-llc-time: program 13.940000 >> >> >> TEST-PASS: jit /MultiSource/Applications/ClamAV/clamscan >> TEST-RESULT-jit-time: program 18.320000 >> >> TEST-RESULT-jit-comptime: >> >> TEST-PASS: cbe /MultiSource/Applications/ClamAV/clamscan >> TEST-RESULT-cbe-time: program 12.750000 >> >> >> Best regards, >> --Edwin >> <filterdiff.sh>_______________________________________________ >> 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
Seemingly Similar Threads
- [LLVMdev] Adding ClamAV to the llvm testsuite (long)
- [LLVMdev] Adding ClamAV to the llvm testsuite (long)
- [LLVMdev] Adding ClamAV to the llvm testsuite (long)
- [LLVMdev] Adding ClamAV to the llvm testsuite (long)
- [LLVMdev] Adding ClamAV to the llvm testsuite (long)