- Jun 28, 2013
-
-
David Blaikie authored
llvm-svn: 185189
-
David Blaikie authored
llvm-svn: 185188
-
Preston Briggs authored
llvm-svn: 185187
-
Lang Hames authored
should expand ATOMIC_CMP_SWAP nodes the same way that it does for ATOMIC_SWAP. Since ATOMIC_LOADs on some targets (e.g. older ARM variants) get legalized to ATOMIC_CMP_SWAPs, the missing case had been causing i64 atomic loads to crash during isel. <rdar://problem/14074644> llvm-svn: 185186
-
Jakob Stoklund Olesen authored
- Use static functions instead of anonymous namespace. - Appease the Doxygen lobby. - Use 0-based induction variable. llvm-svn: 185185
-
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
-
Eric Christopher authored
llvm-svn: 185180
-
Justin Holewinski authored
This makes it more consistent with the ZeroOrNegativeOneBooleanContent flag llvm-svn: 185179
-
Justin Holewinski authored
llvm-svn: 185178
-
Justin Holewinski authored
Fix ABI handling for function returning bool -- use st.param.b32 to return the value and use ld.param.b32 in caller to load the return value. llvm-svn: 185177
-
Justin Holewinski authored
llvm-svn: 185176
-
Justin Holewinski authored
[NVPTX] Clean up comparison/select/convert patterns and factor out PTX instructions from their patterns Test case is no breakage llvm-svn: 185175
-
Justin Holewinski authored
[NVPTX] Remove i8 register class. PTX support for i8 (.b8, .u8, .s8) is rather poor and we're better off just ignoring it and letting LLVM expand all i8 ops out to i16. llvm-svn: 185174
-
Justin Holewinski authored
llvm-svn: 185173
-
Justin Holewinski authored
llvm-svn: 185172
-
Justin Holewinski authored
llvm-svn: 185171
-
Weiming Zhao authored
This patch assigns paired GPRs for inline asm with 64-bit data on ARM. It's enabled for both ARM and Thumb to support modifiers like %H, %Q, %R. llvm-svn: 185169
-
Arnold Schwaighofer authored
llvm-svn: 185168
-
Hal Finkel authored
sys::fs::unique_file will now loop infinitely if provided with a file name without '%' characters and the input file already exists. As a result, bugpoint cannot use a fixed file name for the execution output (including the reference output). llvm-svn: 185166
-
Arnold Schwaighofer authored
I used the class to safely reset the state of the builder's debug location. I think I have caught all places where we need to set the debug location to a new one. Therefore, we can replace the class by a function that just sets the debug location. llvm-svn: 185165
-
Tom Stellard authored
Reviewed-by: Vincent Lejeune<vljn at ovi.com> llvm-svn: 185162
-
Tom Stellard authored
Reviewed-by: Vincent Lejeune<vljn at ovi.com> llvm-svn: 185161
-
Tom Stellard authored
v2: - Remove functions left over from a previous rebase. Reviewed-by: Vincent Lejeune<vljn at ovi.com> llvm-svn: 185160
-
Tim Northover authored
We were generating intrinsics for NEON fixed-point conversions that didn't exist (e.g. float -> i16). There are two cases to consider: + iN is smaller than float. In this case we can do the conversion but need an extend or truncate as well. + iN is larger than float. In this case using the NEON conversion would be incorrect so we don't perform any combining. llvm-svn: 185158
-
Tilmann Scheller authored
The mapping between SRS pseudo-instructions and SRS native instructions was incorrect, the correct mapping is: srsfa -> srsib srsea -> srsia srsfd -> srsdb srsed -> srsda This fixes <rdar://problem/14214734>. llvm-svn: 185155
-
Alexey Samsonov authored
llvm-svn: 185154
-
Alexey Samsonov authored
llvm-svn: 185151
-
Alexey Samsonov authored
llvm-svn: 185143
-
Rafael Espindola authored
llvm-svn: 185141
-
Alexey Samsonov authored
llvm-svn: 185139
-
Alexey Samsonov authored
llvm-svn: 185137
-
Patrik Hagglund authored
llvm-svn: 185136
-
Manman Ren authored
No functionality change. It should suffice to check the type of a debug info metadata, instead of calling Verify. For cases where we know the type of a DI metadata, use assert. Also update testing cases to make them conform to the format of DI classes. llvm-svn: 185135
-
David Blaikie authored
llvm-svn: 185131
-
Rafael Espindola authored
* Don't try to create parent directories in unique_file. It had two problem: * It violates the contract that it is atomic. If the directory creation success and the file creation fails, we would return an error but the file system was modified. * When creating a temporary file clang would have to first check if the parent directory existed or not to avoid creating one when it was not supposed to. * More efficient implementations of createUniqueDirectory and the unique_file that produces only the file name. Now all 3 just call into a static function passing what they want (name, file or directory). Clang also has to be updated, so tests might fail if a bot picks up this commit and not the corresponding clang one. llvm-svn: 185126
-
Matt Arsenault authored
llvm-svn: 185124
-
Rafael Espindola authored
llvm-svn: 185123
-
Arnold Schwaighofer authored
radar://14169017 llvm-svn: 185122
-
Matt Arsenault authored
llvm-svn: 185121
-
Matt Arsenault authored
llvm-svn: 185120
-