| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 51569
|
|
|
|
| |
llvm-svn: 51561
|
|
|
|
| |
llvm-svn: 51560
|
|
|
|
| |
llvm-svn: 47542
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Parse reversed smax and umax as smin and umin and express them with negative
or binary-not SCEVs (which are really just subtract under the hood).
Parse 'xor %x, -1' as (-1 - %x).
Remove dead code (ConstantInt::get always returns a ConstantInt).
Don't use getIntegerSCEV(-1, Ty). The first value is an int, then it gets
passed into a uint64_t. Instead, create the -1 directly from
ConstantInt::getAllOnesValue().
llvm-svn: 47360
|
|
|
|
|
|
| |
no need to redirect stderr into stdout.
llvm-svn: 47009
|
|
|
|
| |
llvm-svn: 47008
|
|
|
|
|
|
|
|
|
|
| |
variable (with step 1) and m is its final value. Then, the correct trip
count is SMAX(m,n)-n. Previously, we used SMAX(0,m-n), but m-n may
overflow and can't in general be interpreted as signed.
Patch by Nick Lewycky.
llvm-svn: 47007
|
|
|
|
|
|
|
|
| |
to the RHS. This simple change allows to compute loop iteration count
for loops with condition similar to the one in the testcase (which seems
to be quite common).
llvm-svn: 46959
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
arbitrary iteration.
The patch:
1) changes SCEVSDivExpr into SCEVUDivExpr,
2) replaces PartialFact() function with BinomialCoefficient(); the
computations (essentially, the division) in BinomialCoefficient() are
performed with the apprioprate bitwidth necessary to avoid overflow;
unsigned division is used instead of the signed one.
Computations in BinomialCoefficient() require support from the code
generator for APInts. Currently, we use a hack rounding up the
neccessary bitwidth to the nearest power of 2. The hack is easy to turn
off in future.
One remaining issue: we assume the divisor of the binomial coefficient
formula can be computed accurately using 16 bits. It means we can handle
AddRecs of length up to 9. In future, we should use APInts to evaluate
the divisor.
Thanks to Nicholas for cooperation!
llvm-svn: 46955
|
|
|
|
|
|
|
|
| |
tests and fixed broken run lines.
XFAILed 3 arm regressions (will file bugs)
llvm-svn: 44389
|
|
|
|
|
|
| |
Change 2>&1 | to |&.
llvm-svn: 44344
|
|
|
|
| |
llvm-svn: 44319
|
|
|
|
| |
llvm-svn: 44248
|
|
|
|
| |
llvm-svn: 44177
|
|
|
|
|
|
|
| |
is disabled in the sense that it will refuse to create one from a UDiv
instruction, until the code is better tested.
llvm-svn: 44163
|
|
|
|
| |
llvm-svn: 42394
|
|
|
|
| |
llvm-svn: 40889
|
|
|
|
| |
llvm-svn: 40869
|
|
|
|
|
|
| |
condition. Fixes 1597.
llvm-svn: 40867
|
|
|
|
|
|
| |
comparison. Fixes bug 1598.
llvm-svn: 40866
|
|
|
|
|
|
|
|
| |
Always pass the constant as the second parameter to HowManyLessThans.
Remove obsolete "isSigned" parameter.
llvm-svn: 39893
|
|
|
|
| |
llvm-svn: 37801
|
|
|
|
| |
llvm-svn: 36476
|
|
|
|
|
|
| |
Upgrade to use new Tcl exec based test harness.
llvm-svn: 36066
|
|
|
|
|
|
|
|
| |
global variables that needed to be passed in. This makes it possible to
add new global variables with only a couple changes (Makefile and llvm-dg.exp)
instead of touching every single dg.exp file.
llvm-svn: 35918
|
|
|
|
| |
llvm-svn: 35412
|
|
|
|
|
|
|
|
| |
Update these tests to not use the same name even though the type of the
value differs. After PR411 hits, type planes will be gone and it will be
illegal for a name to be used twice, regardless of type.
llvm-svn: 33660
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove "target endian/pointersize" or add "target datalayout" to make
the test parse properly or set the datalayout because defaults changes.
For PR645:
Make global names use the @ prefix.
For llvm-upgrade changes:
Fix test cases or completely remove use of llvm-upgrade for test cases
that cannot survive the new renaming or upgrade capabilities.
llvm-svn: 33533
|
|
llvm-svn: 33296
|