search for: casttobool

Displaying 20 results from an estimated 22 matches for "casttobool".

2004 Jul 07
2
[LLVMdev] UnitTests/2003-05-31-CastToBool.c
I think test/Programs/SingleSource/UnitTests/2003-05-31-CastToBool.c has a problem. Consider: void testLong(long long X) { printf("%ld ", X); testBool(X != 0); } This passes 'long long' value to 'ld' format specifier -- but for that specifier the parameter should be 'long'. So, the behaviour of the abo...
2004 Jul 07
0
[LLVMdev] UnitTests/2003-05-31-CastToBool.c
...think your backend producing "wrong results" is actually correct :) Most modern C/C++ compilers will detect this for you at compile time. What compiler are you using? Reid. On Wed, 2004-07-07 at 04:51, Vladimir Prus wrote: > I think test/Programs/SingleSource/UnitTests/2003-05-31-CastToBool.c > has a problem. Consider: > > void testLong(long long X) { > printf("%ld ", X); > testBool(X != 0); > } > > This passes 'long long' value to 'ld' format specifier -- but for that > specifier the parameter should be...
2004 Jul 07
1
[LLVMdev] UnitTests/2003-05-31-CastToBool.c
Reid Spencer wrote: > This program is in error. Either the format specifier needs to be %lld > or the argument value X needs to be casted to type long. This will > compile fine but it probably won't work at runtime because printf is > expecting a long, not a long long. I think your backend producing "wrong > results" is actually correct :) Yea, that's what
2004 Jun 09
1
[LLVMdev] Testing backend
Reid Spencer wrote: > Vladimir, > > The makefile for the feature tests is in the directory above. Simply: > > cd ~/llvm/test > make Feature.t > > This works for the regression tests to: > > make Regression.t > > The tests are run QMTest which just "knows" what to do with the test > file. In many cases there is a RUN: line which instructs the
2004 Apr 30
0
[LLVMdev] LLVM benchmarks against GCC
...teresting info. Definitely, it just takes time to do all of these things. Besides, most of the unit tests are entirely artificial and not-interesting for benchmarking purposes. Here are some examples: http://llvm.cs.uiuc.edu/cvsweb/cvsweb.cgi/llvm/test/Programs/SingleSource/UnitTests/2003-05-31-CastToBool.c?rev=1.3&content-type=text/x-cvsweb-markup http://llvm.cs.uiuc.edu/cvsweb/cvsweb.cgi/llvm/test/Programs/SingleSource/UnitTests/2004-02-02-NegativeZero.c?rev=1.1&content-type=text/x-cvsweb-markup Doing more performance tuning is certainly important though, it's just that other projects...
2004 Apr 30
2
[LLVMdev] LLVM benchmarks against GCC
> The nightly tester is used for two purposes: making sure that nothing > breaks (the unit tests) and keeping tabs on how well performance is doing > (the spec and most multisource tests). It's not a reliable way to do > serious benchmarking, but can give good insights into where things can be > improved. hm, one day, the great benchmarking will be a reason to use LLVM, so, i
2014 May 04
12
[LLVMdev] [RFC] Benchmarking subset of the test suite
...aTest SingleSource/UnitTests/2003-04-22-Switch SingleSource/UnitTests/2003-05-02-DependentPHI SingleSource/UnitTests/2003-05-07-VarArgs SingleSource/UnitTests/2003-05-12-MinIntProblem SingleSource/UnitTests/2003-05-14-AtExit SingleSource/UnitTests/2003-05-26-Shorts SingleSource/UnitTests/2003-05-31-CastToBool SingleSource/UnitTests/2003-05-31-LongShifts SingleSource/UnitTests/2003-07-06-IntOverflow SingleSource/UnitTests/2003-07-08-BitOpsTest SingleSource/UnitTests/2003-07-09-LoadShorts SingleSource/UnitTests/2003-07-09-SignedArgs SingleSource/UnitTests/2003-07-10-SignConversions SingleSource/UnitTests/...
2011 Dec 01
1
[LLVMdev] [llvm-testresults] bwilson__llvm-gcc_PROD__i386 nightly tester results
...t; 2.10% 5.1086 5.2157 0.0132 > MultiSource/Applications/sqlite3/sqlite3.compile > <http://llvm.org/perf/db_default/simple/nts/380/graph?pset.0=on&test.MultiSource%2FApplications%2Fsqlite3%2Fsqlite3.compile=on> > 2.09% 14.4351 14.7365 0.0202 > SingleSource/UnitTests/2003-05-31-CastToBool.compile > <http://llvm.org/perf/db_default/simple/nts/380/graph?pset.0=on&test.SingleSource%2FUnitTests%2F2003-05-31-CastToBool.compile=on> > 2.08% 0.0288 0.0294 0.0001 > External/SPEC/CINT95/099_go/099_go.compile > <http://llvm.org/perf/db_default/simple/nts/380/graph?pset...
2012 Feb 19
2
[LLVMdev] Problem While Running Test Suite
...ce/UnitTests/block-call-r7674133 | * | * | SingleSource/UnitTests/2002-10-12-StructureArgsSimple | * | * | SingleSource/UnitTests/2005-11-29-LongSwitch | * | * | SingleSource/UnitTests/2003-05-31-CastToBool | * | * | SingleSource/UnitTests/2003-10-13-SwitchTest | * | * | SingleSource/UnitTests/2002-05-02-CastTest1 | * | * | SingleSource/UnitTests/blockstret...
2008 Feb 03
0
[LLVMdev] 2.2 Prerelease available for testing
...* 0.01 | - - n/a n/a SingleSource/UnitTests/2003-05-26-Shorts | 0.0051 2016 0.0078 * 0.0079 | 0.00 0.00 0.00 * 0.02 | - - n/a n/a SingleSource/UnitTests/2003-05-31-CastToBool | 0.0077 1056 0.0065 * 0.0064 | 0.00 0.00 0.00 * 0.01 | - - n/a n/a SingleSource/UnitTests/2003-05-31-LongShifts | 0.0049 936 0.0054 * 0.0052...
2007 Sep 18
0
[LLVMdev] 2.1 Pre-Release Available (testers needed)
...* 0.01 | - - n/a n/a SingleSource/UnitTests/2003-05-26-Shorts | 0.0040 2016 0.0040 * 0.0120 | 0.00 0.00 0.00 * 0.02 | - - n/a n/a SingleSource/UnitTests/2003-05-31-CastToBool | 0.0080 1060 0.0080 * 0.0040 | 0.00 0.00 0.00 * 0.01 | - - n/a n/a SingleSource/UnitTests/2003-05-31-LongShifts | 0.0080 912 0.0040 * 0.0080...
2008 Jan 24
6
[LLVMdev] 2.2 Prerelease available for testing
LLVMers, The 2.2 prerelease is now available for testing: http://llvm.org/prereleases/2.2/ If anyone can help test this release, I ask that you do the following: 1) Build llvm and llvm-gcc (or use a binary). You may build release (default) or debug. You may pick llvm-gcc-4.0, llvm-gcc-4.2, or both. 2) Run 'make check'. 3) In llvm-test, run 'make TEST=nightly report'. 4) When
2007 Sep 18
0
[LLVMdev] 2.1 Pre-Release Available (testers needed)
...* 0.02 | - - n/a n/a SingleSource/UnitTests/2003-05-26-Shorts | 0.0072 2008 0.0089 * 0.0059 | 0.00 0.00 0.00 * 0.02 | - - n/a n/a SingleSource/UnitTests/2003-05-31-CastToBool | 0.0052 1052 0.0052 * 0.0117 | 0.00 0.00 0.00 * 0.02 | - - n/a n/a SingleSource/UnitTests/2003-05-31-LongShifts | 0.0104 924 0.0048 * 0.0048...
2008 Jan 28
0
[LLVMdev] 2.2 Prerelease available for testing
...* 0.00 | - - n/a n/a SingleSource/UnitTests/2003-05-26-Shorts | 0.0017 2048 0.0053 * 0.0051 | 0.00 0.00 0.00 * 0.01 | - - n/a n/a SingleSource/UnitTests/2003-05-31-CastToBool | 0.0035 1076 0.0042 * 0.0108 | 0.00 0.00 0.00 * 0.01 | - - n/a n/a SingleSource/UnitTests/2003-05-31-LongShifts | 0.0018 972 0.0021 * 0.0020...
2009 Oct 20
1
[LLVMdev] 2.6 pre-release2 ready for testing
...01 | -       -       n/a          n/a > SingleSource/UnitTests/2003-05-26-Shorts                                 | > 0.0000 2012     0.0000      *                0.0100      |    0.00    0.00 >  0.00 *           0.01 | -       -       n/a          n/a > SingleSource/UnitTests/2003-05-31-CastToBool                             | > 0.0100 916      0.0100      *                0.0100      |    0.00    0.00 >  0.00 *           0.01 | -       -       n/a          n/a > SingleSource/UnitTests/2003-05-31-LongShifts                             | > 0.0000 952      0.0000      *            ...
2009 Oct 20
0
[LLVMdev] 2.6 pre-release2 ready for testing
Hi Tanya, > 1) Compile llvm from source and untar the llvm-test in the projects > directory (name it llvm-test or test-suite). Choose to use a > pre-compiled llvm-gcc or re-compile it yourself. I compiled llvm and llvm-gcc with separate objects directories. Platform is x86_64-linux-gnu. > 2) Run make check, report any failures (FAIL or unexpected pass). Note > that you need to
2009 Oct 20
1
[LLVMdev] 2.6 pre-release2 ready for testing
...n/a n/a > SingleSource/UnitTests/2003-05-26- > Shorts | 0.0000 2012 0.0000 > * 0.0100 | 0.00 0.00 0.00 * > 0.01 | - - n/a n/a > SingleSource/UnitTests/2003-05-31- > CastToBool | 0.0100 916 0.0100 > * 0.0100 | 0.00 0.00 0.00 * > 0.01 | - - n/a n/a > SingleSource/UnitTests/2003-05-31- > LongShifts | 0.0000 952 0.0000 &gt...
2007 Sep 15
22
[LLVMdev] 2.1 Pre-Release Available (testers needed)
LLVMers, The 2.1 pre-release (version 1) is available for testing: http://llvm.org/prereleases/2.1/version1/ I'm looking for members of the LLVM community to test the 2.1 release. There are 2 ways you can help: 1) Download llvm-2.1, llvm-test-2.1, and the appropriate llvm-gcc4.0 binary. Run "make check" and the full llvm-test suite (make TEST=nightly report). 2) Download
2009 Oct 17
12
[LLVMdev] 2.6 pre-release2 ready for testing
LLVMers, 2.6 pre-release2 is ready to be tested by the community. http://llvm.org/prereleases/2.6/ If you have time, I'd appreciate anyone who can help test the release. To test llvm-gcc: 1) Compile llvm from source and untar the llvm-test in the projects directory (name it llvm-test or test-suite). Choose to use a pre- compiled llvm-gcc or re-compile it yourself. 2) Run make check,
2009 Feb 07
11
[LLVMdev] 2.5 Pre-release1 available for testing
LLVMers, The 2.5 pre-release is available for testing: http://llvm.org/prereleases/2.5/ If you have time, I'd appreciate anyone who can help test the release. Please do the following: 1) Download/compile llvm source, and either compile llvm-gcc source or use llvm-gcc binary (please compile llvm-gcc with fortran if you can). 2) Run make check, send me the testrun.log 3) Run "make