- Jun 29, 2013
-
-
Daniel Malea authored
- should resolve windows buildbot failure llvm-svn: 185232
-
- Jun 28, 2013
-
-
Jakob Stoklund Olesen authored
llvm-svn: 185226
-
Daniel Malea authored
- mistakenly used get_current_dir() linux function - replaced with getcwd/_getcwd as appropriate for current platform llvm-svn: 185225
-
Andrew Kaylor authored
Revising the MCJIT ObjectCache interface to allow subclasses to avoid retaining references to returned objects llvm-svn: 185221
-
Daniel Malea authored
- lit tests verify that each line of input LLVM IR gets a !dbg node and a corresponding entry of metadata that contains the line number - unit tests verify that DebugIR works as advertised in the interface - refactored some useful IR generation functionality from the MCJIT unit tests so it can be reused llvm-svn: 185212
-
Jakob Stoklund Olesen authored
Allow a BlockFrequency to be divided by a non-zero BranchProbability with saturating arithmetic. This will be used to compute the frequency of a loop header given the probability of leaving the loop. Our long division algorithm already saturates on overflow, so that was a freebie. llvm-svn: 185184
-
- Jun 27, 2013
-
-
Rafael Espindola authored
There are a few valid situation where we care about the structure inside a directory, but not about the directory itself. A simple example is for unit testing directory traversal. PathV1 had a function like this, add one to V2 and port existing users of the created temp file and delete it hack to using it. llvm-svn: 185059
-
Michael Gottesman authored
[APFloat] Added unittest for APFloat.divide that checks special cases, result categories, and result statuses. llvm-svn: 185050
-
Michael Gottesman authored
llvm-svn: 185045
-
Michael Gottesman authored
[APFloat] Added unittest for APFloat.multiply that checks special cases, result categories, and result status. llvm-svn: 185044
-
Michael Gottesman authored
[APFloat] Added unittest for APFloat.subtract that checks special cases, result categories, and result status. llvm-svn: 185043
-
- Jun 26, 2013
-
-
Michael Gottesman authored
llvm-svn: 184974
-
Rafael Espindola authored
llvm itself is now PathV1 clean. llvm-svn: 184947
-
Rafael Espindola authored
I will remove the V1 version as soon as I change clang in the next commit. llvm-svn: 184914
-
- 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
-