- Jun 24, 2013
-
-
Michael Gottesman authored
llvm-svn: 184715
-
Michael Gottesman authored
[APFloat] Added a large unittest for APFloat.add that checks that special values are computed correctly. llvm-svn: 184714
-
- Jun 21, 2013
-
-
Benjamin Kramer authored
Revert "BlockFrequency: Saturate at 1 instead of 0 when multiplying a frequency with a branch probability." This reverts commit r184584. Breaks PPC selfhost. llvm-svn: 184590
-
Benjamin Kramer authored
Zero is used by BlockFrequencyInfo as a special "don't know" value. It also causes a sink for frequencies as you can't ever get off a zero frequency with more multiplies. This recovers a 10% regression on MultiSource/Benchmarks/7zip. A zero frequency was propagated into an inner loop causing excessive spilling. PR16402. llvm-svn: 184584
-
- Jun 20, 2013
-
-
Akira Hatanaka authored
MIPS does not handle multiple relocations correctly, so two tests from the unittests are expected to fail. These are: - MCJITTest.return_global and - MCJITTest.multiple_functions. Until the multiple relocations are fixed, XFAIL the MCJIT unittests for MIPS. This issue is tracked as Bug 16250. Patch by Petar Jovanovic. llvm-svn: 184461
-
Michael Gottesman authored
The old isNormal is already functionally replaced by the method isFiniteNonZero in r184350 and all references to said method were replaced in LLVM/clang in r184356/134366. llvm-svn: 184449
-
Michael Gottesman authored
llvm-svn: 184447
-
Rafael Espindola authored
llvm-svn: 184431
-
- Jun 19, 2013
-
-
Michael Gottesman authored
I forgot to to do this in r184356. The only references were in APFloatTest.cpp. llvm-svn: 184366
-
Aaron Ballman authored
Modified the implementation of fs::GetUniqueID on Windows such that it actually finds a unique identifier for a file. Also adds unit tests for GetUniqueID. llvm-svn: 184351
-
Michael Gottesman authored
This is the first patch in a series of patches to rename isNormal => isFiniteNonZero and isIEEENormal => isNormal. In order to prevent careless errors on my part the overall plan is: 1. Add the isFiniteNonZero predicate with tests. I can do this in a method independent of isNormal. (This step is this patch). 2. Convert all references to isNormal with isFiniteNonZero. My plan is to comment out isNormal locally and continually convert isNormal references => isFiniteNonZero until llvm/clang compiles. 3. Remove old isNormal and rename isIEEENormal to isNormal. 4. Look through all of said references from patch 2 and see if we can simplify them by using the new isNormal. llvm-svn: 184350
-
Bill Wendling authored
llvm-svn: 184338
-
- Jun 13, 2013
-
-
Rafael Espindola authored
llvm-svn: 183940
-
- Jun 12, 2013
-
-
Rafael Espindola authored
It was only used to implement ExecuteAndWait and ExecuteNoWait. Expose just those two functions and make Execute and Wait implementations details. llvm-svn: 183864
-
Rafael Espindola authored
Most clients have already been moved from Path V1 to V2. The ones using V1 now include PathV1.h explicitly. llvm-svn: 183801
-
- Jun 08, 2013
-
-
Aaron Ballman authored
sys::process::get_id() now returns the process ID instead of a process handle on Windows. Patch thanks to Kim Gräsman! llvm-svn: 183621
-
- Jun 07, 2013
-
-
Benjamin Kramer authored
llvm-svn: 183525
-
Benjamin Kramer authored
llvm-svn: 183521
-
- Jun 04, 2013
-
-
Michael Gottesman authored
Specifically the following work was done: 1. If the operation was not implemented, I implemented it. 2. If the operation was already implemented, I just moved its location in the APFloat header into the IEEE-754R 5.7.2 section. If the name was incorrect, I put in a comment giving the true IEEE-754R name. Also unittests have been added for all of the functions which did not already have a unittest. llvm-svn: 183179
-
- Jun 02, 2013
-
-
Benjamin Kramer authored
llvm-svn: 183081
-
- Jun 01, 2013
-
-
Eric Christopher authored
llvm-svn: 183054
-
Eric Christopher authored
llvm-svn: 183053
-
- May 31, 2013
-
-
Michael Gottesman authored
llvm-svn: 183028
-
- May 30, 2013
-
-
Rafael Espindola authored
llvm-svn: 182958
-
Michael Gottesman authored
Implement IEEE-754R 2008 nextUp/nextDown functions in the guise of the function APFloat::next(bool nextDown). rdar://13852078 llvm-svn: 182945
-
Eric Christopher authored
llvm-svn: 182900
-
Michael Gottesman authored
llvm-svn: 182897
-
Michael Gottesman authored
Added code to the unittest for APFloat::getSmallest to double check that we consider the result to be denormal. I additionally changed certain checks to use EXPECT_FALSE instead of a boolean complement with EXPECT_TRUE. llvm-svn: 182896
-
Michael Gottesman authored
llvm-svn: 182894
-
- May 28, 2013
-
-
Michael Gottesman authored
[APInt] Implement tcDecrement as a counterpart to tcIncrement. This is for use in APFloat IEEE-754R 2008 nextUp/nextDown function. rdar://13852078 llvm-svn: 182801
-
- May 25, 2013
-
-
Eric Christopher authored
llvm-svn: 182693
-
Eric Christopher authored
Add a stringize method to make dumping a bit easier, and add a testcase exercising a few different paths. llvm-svn: 182692
-
Michael J. Spencer authored
llvm-svn: 182690
-
Michael J. Spencer authored
llvm-svn: 182679
-
- May 24, 2013
-
-
Michael J. Spencer authored
llvm-svn: 182667
-
- May 22, 2013
-
-
Filip Pizlo authored
the C API to provide their own way of allocating JIT memory (both code and data) and finalizing memory permissions (page protections, cache flush). llvm-svn: 182448
-
- May 21, 2013
-
-
Filip Pizlo authored
llvm-svn: 182409
-
Filip Pizlo authored
the C API to provide their own way of allocating JIT memory (both code and data) and finalizing memory permissions (page protections, cache flush). llvm-svn: 182408
-
Ulrich Weigand authored
Alternative fix for problem addressed in r182233 Revision r182233 partially reverted the change in r181200 to simplify JIT unif test #ifdefs, because that change caused a link error on some host operating systems where the export list requires the following symbols to be defined: JITTest_AvailableExternallyFunction JITTest_AvailableExternallyGlobal As discussed on the list, the commit reverts r182233 (and re-installs the full r181200 change), and instead fixes the link problem by moving those two symbols to the top of the file and unconditionally defining them. llvm-svn: 182367
-
- May 20, 2013
-
-
Bob Wilson authored
The export list for this test requires the following symbols to be available: JITTest_AvailableExternallyFunction JITTest_AvailableExternallyGlobal The change in r181200 commented them out, which caused the test to fail to link, at least on Darwin. I have only reverted the change for arm, since I can't test the other targets and since it sounds like that change was fixing real problems for those other targets. It should be possible to rearrange the code to keep those definitions outside the #ifdefs, but that should be done by someone who can reproduce the problems that r181200 was trying to fix. llvm-svn: 182233
-