- Oct 14, 2012
-
-
Benjamin Kramer authored
Add a basic unit test for ImmutableMap. Found by inspection. llvm-svn: 165907
-
- Oct 12, 2012
-
-
Duncan Sands authored
llvm-svn: 165792
-
NAKAMURA Takumi authored
llvm-svn: 165790
-
Bill Wendling authored
llvm-svn: 165781
-
NAKAMURA Takumi authored
llvm-svn: 165780
-
Bill Wendling authored
llvm-svn: 165777
-
Sean Silva authored
Additionally, all such cases are handled with no dynamic check. All `classof()` of the form class Foo { [...] static bool classof(const Bar *) { return true; } [...] } where Foo is an ancestor of Bar are no longer necessary. Don't write them! Note: The exact test is `is_base_of<Foo, Bar>`, which is non-strict, so that Foo is considered an ancestor of itself. This leads to the following rule of thumb for LLVM-style RTTI: The argument type of `classof()` should be a strict ancestor. For more information about implementing LLVM-style RTTI, see docs/HowToSetUpLLVMStyleRTTI.rst llvm-svn: 165765
-
- Oct 08, 2012
-
-
Micah Villmow authored
llvm-svn: 165403
-
James Molloy authored
Some regression tests which are testing the old jit and are exercising functionality which is both known to be broken and not expected to be fixed in the old jit. To remove these from the regression test output, I've marked them XFAIL (for lit tests) and ifdef'd them out (unit tests). These modifications remove the last long-standing regression test failures from the buildbots (though updating the triple to reflect new ubuntu configuration has temporarily caused some new failures). Tested on x86-64 and ARM Linux. Patch by David Tweed! llvm-svn: 165390
-
- Oct 04, 2012
-
-
Andrew Kaylor authored
Patch by Daniel Malea. llvm-svn: 165246
-
- Oct 03, 2012
-
-
Nick Kledzik authored
llvm-svn: 165147
-
Benjamin Kramer authored
Don't call getAsUnsignedInteger directly, it fails to compile if uint64_t is not "unsigned long long". while there add more test cases. llvm-svn: 165140
-
Nick Kledzik authored
llvm-svn: 165136
-
- Sep 28, 2012
-
-
Andrew Kaylor authored
Patch committed on behalf of Kirill Uhanov llvm-svn: 164831
-
- Sep 27, 2012
-
-
Andrew Kaylor authored
Committed on behalf of Kirill Uhanov llvm-svn: 164736
-
- Sep 26, 2012
-
-
Benjamin Kramer authored
BB->end() returns a sentinel value that is not a legal insert point. llvm-svn: 164699
-
Benjamin Kramer authored
APFloat::roundToIntegral: Special values don't keep the exponent value up to date, don't rely on it. Add a couple of unit tests for special floats. Fixes 13929, found by MemorySanitizer. llvm-svn: 164698
-
Michael Ilseman authored
Fixed issue with Release build. llvm-svn: 164654
-
- Sep 25, 2012
-
-
Chad Rosier authored
llvm-svn: 164627
-
Michael Ilseman authored
llvm-svn: 164614
-
Michael Ilseman authored
Unit tests for IntegerDivision. Currently, just a basic sanity check to ensure that the code was generated properly. Future work would be finding some way to test the actual result that would be computed. llvm-svn: 164582
-
- Sep 19, 2012
-
-
Andrew Kaylor authored
This patch adds memory support functions which will later be used to implement section-specific protection handling in MCJIT. llvm-svn: 164249
-
- Sep 15, 2012
-
-
Craig Topper authored
llvm-svn: 163979
-
Daniel Dunbar authored
llvm-svn: 163950
-
Daniel Dunbar authored
- The current_pos function is supposed to return all the written bytes, not the current position of the underlying stream. - This caused tell() to be broken whenever the underlying stream had buffered content. llvm-svn: 163948
-
David Blaikie authored
Review by Chandler Carruth. llvm-svn: 163944
-
- Aug 30, 2012
-
-
NAKAMURA Takumi authored
llvm-svn: 162918
-
- Aug 21, 2012
-
-
Richard Smith authored
llvm-svn: 162310
-
- Aug 20, 2012
-
-
Benjamin Kramer authored
llvm-svn: 162201
-
- Aug 17, 2012
-
-
Chandler Carruth authored
templated union at the request of Richard Smith. This makes it substantially easier to type. =] llvm-svn: 162072
-
- Aug 15, 2012
-
-
Michael J. Spencer authored
llvm-svn: 161979
-
Michael J. Spencer authored
llvm-svn: 161976
-
Owen Anderson authored
Fix another roundToIntegral bug where very large values could become infinity. Problem and solution identified by Steve Canon. llvm-svn: 161969
-
Owen Anderson authored
Fix a problem with APFloat::roundToIntegral where it would return incorrect results for negative inputs to trunc. Add unit tests to verify this behavior. llvm-svn: 161929
-
- Aug 13, 2012
-
-
Alexander Kornienko authored
llvm-svn: 161751
-
- Aug 04, 2012
-
-
Benjamin Kramer authored
llvm-svn: 161297
-
Benjamin Kramer authored
Postpone the deletion of the old name in StructType::setName to allow using a slice of the old name. Fixes PR13522. Add a rudimentary unit test to exercise the behavior. llvm-svn: 161296
-
- Aug 01, 2012
-
-
Chandler Carruth authored
TinyPtrVector. With these, it is sufficiently functional for my more normal / pedestrian uses. I've not included some r-value reference stuff here because the value type for a TinyPtrVector is, necessarily, just a pointer. I've added tests that cover the basic behavior of these routines, but they aren't as comprehensive as I'd like. In particular, they don't really test the iterator semantics as thoroughly as they should. Maybe some brave soul will feel enterprising and flesh them out. ;] llvm-svn: 161104
-
Nick Kledzik authored
Since the llvm::sys::fs::map_file_pages() support function it relies on is not yet implemented on Windows, the unit tests for FileOutputBuffer are currently conditionalized to run only on unix. llvm-svn: 161099
-
Akira Hatanaka authored
No new test case is added. This patch makes test JITTest.FunctionIsRecompiledAndRelinked pass on mips platform. Patch by Petar Jovanovic. llvm-svn: 161098
-