- Feb 11, 2008
-
-
Dan Gohman authored
argument by reference, rather than by value. llvm-svn: 46960
-
Wojciech Matyjewicz authored
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
-
Ted Kremenek authored
Added member template "Add" to FoldingSetNodeID that allows "adding" arbitrary objects to a profile via dispatch to FoldingSetTrait<T>::Profile(). Removed FoldingSetNodeID::AddAPFloat and FoldingSetNodeID::APInt, as their functionality is now replaced using the above mentioned member template. llvm-svn: 46957
-
Duncan Sands authored
getNumRegisters. This is needed for calling functions with apint parameters or return values. llvm-svn: 46956
-
Wojciech Matyjewicz authored
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
-
Duncan Sands authored
llvm-svn: 46954
-
Evan Cheng authored
Determine whether a spill kills the register it's spilling before insertion rather than trying to undo the kill marker afterwards. llvm-svn: 46953
-
Chris Lattner authored
llvm-svn: 46952
-
Chris Lattner authored
llvm-svn: 46951
-
Anders Carlsson authored
Get rid of bogus warnings when the second argument in va_start is either an implicit cast expr or a paren expr. llvm-svn: 46950
-
Nate Begeman authored
Add some notes to the README. llvm-svn: 46949
-
Nate Begeman authored
llvm-svn: 46948
-
Steve Naroff authored
Add a comment/FIXME to an earlier change. llvm-svn: 46947
-
Steve Naroff authored
Tweak test... llvm-svn: 46946
-
Chris Lattner authored
llvm-svn: 46945
-
Eli Friedman authored
edge cases. llvm-svn: 46944
-
Eli Friedman authored
codegen. llvm-svn: 46943
-
Steve Naroff authored
Fix http://llvm.org/bugs/show_bug.cgi?id=1988. Sema::CheckInitializerListTypes() needs to ignore invalid structures. llvm-svn: 46942
-
Chris Lattner authored
is an array type not a pointer type. This requires updating some diags that change and updating the code generator to handle the proper form of strings. llvm-svn: 46941
-
Eli Friedman authored
llvm-svn: 46940
-
Eli Friedman authored
void*. llvm-svn: 46939
-
Chris Lattner authored
missing. Otherwise, it is an implicit int case, which is valid in c90 and invalid elsewhere, but accepted as an extension. llvm-svn: 46938
-
- Feb 10, 2008
-
-
Eli Friedman authored
spec-compliant. I'll put together some testcases in a bit. llvm-svn: 46937
-
Steve Naroff authored
Add a diagnostics helper to remove some redundant code. llvm-svn: 46936
-
Chris Lattner authored
llvm-svn: 46935
-
Gabor Greif authored
maybe c380004 can be hyperlinked too? llvm-svn: 46934
-
Chris Lattner authored
"I have been working my way through the JIT and Kaleidoscope tutorials in my (minuscule) spare time. Thanks again for writing them! I have attached a patch containing some minor changes, ranging from spelling and grammar fixes to adding a "Next: <next tutorial section>" hyperlink to the bottom of each page. Every page has been given the "next link" treatment, but otherwise I'm only half way through the Kaleidoscope tutorial. I will send a follow-on patch if time permits." llvm-svn: 46933
-
Chris Lattner authored
This fixes the store case, my previous patch just fixed the load case. rdar://5707076. llvm-svn: 46932
-
Nate Begeman authored
llvm-svn: 46931
-
Dan Gohman authored
llvm-svn: 46930
-
Chris Lattner authored
llvm-svn: 46929
-
Duncan Sands authored
llvm-svn: 46928
-
Duncan Sands authored
llvm-svn: 46926
-
Chris Lattner authored
llvm-svn: 46925
-
Chris Lattner authored
llvm-svn: 46924
-
Chris Lattner authored
llvm-svn: 46923
-
Bill Wendling authored
no-op). llvm-svn: 46922
-
Chris Lattner authored
llvm-svn: 46921
-
Chris Lattner authored
llvm-svn: 46920
-
Steve Naroff authored
Refine bug fix to Expr::isLvalue (commit r46917). llvm-svn: 46919
-