- Mar 25, 2016
-
-
Lang Hames authored
llvm-svn: 264314
-
Adam Nemet authored
isDependenceDistanceOfOne asserts that the store and the load access through the same type. This function is also used by removeDependencesFromMultipleStores so we need to make sure we filter out mismatching types before reaching this point. Now we do this when the initial candidates are gathered. This is a refinement of the fix made in r262267. Fixes PR27048. llvm-svn: 264313
-
Pete Cooper authored
Suggested by David Blaikie in response to r264234. llvm-svn: 264311
-
Sanjay Patel authored
We lose the 'utils' directory name in our advertising line with this change. We could retain that, but I don't see the point. This removes a dependency for making the script apply to more than 'llc'. Ie, we'll want to change the script name if it works with opt/clang too. llvm-svn: 264310
-
Simon Atanasyan authored
The `MipsMCInstrAnalysis` class overrides the `evaluateBranch` method and calculates target addresses for branch and calls instructions. That allows llvm-objdump to print functions' names in branch instructions in the disassemble mode. Differential Revision: http://reviews.llvm.org/D18209 llvm-svn: 264309
-
Sanjoy Das authored
llvm-svn: 264308
-
Sanjay Patel authored
The goal is to enhance this script to be used with opt and clang: Break 'main' into functions and change variable names to be more generic because we want to handle more than x86 asm output. llvm-svn: 264307
-
Rafael Espindola authored
llvm-svn: 264306
-
Simon Pilgrim authored
Suggested by Sanjay in D18189 as the multiple folding options in XOP instructions can be tricky llvm-svn: 264305
-
Simon Atanasyan authored
[ELF] Follow-up to r264300. Update test case expectations to reflect recent changes in llvm-readobj. NFC. llvm-svn: 264304
-
Duncan P. N. Exon Smith authored
Simplify ValueEnumerator and WriteModuleMetadata by shifting the logic for the METADATA_GENERIC_DEBUG abbreviation into WriteGenericDINode. (This is just like r264302, but for GenericDINode.) The only change is that the abbreviation is emitted later in the bitcode, just before the first `GenericDINode` record. This shouldn't be observable though. llvm-svn: 264303
-
Duncan P. N. Exon Smith authored
Simplify ValueEnumerator and WriteModuleMetadata by shifting the logic for the METADATA_LOCATION abbreviation into WriteDILocation. The only change is that the abbreviation is emitted later in the bitcode, just before the first `DILocation` record. This shouldn't be observable though. llvm-svn: 264302
-
Duncan P. N. Exon Smith authored
Split writeNamedMetadata out of WriteModuleMetadata to write named metadata, and createNamedMetadataAbbrev for the abbreviation. There should be no effective functionality change, although the layout of the bitcode will change. Previously, the abbreviation was emitted at the top of the block, but now it is delayed until immediately before the named metadata records are emitted. llvm-svn: 264301
-
Simon Atanasyan authored
The patch supports common STV_xxx visibility flags and MIPS specific STO_MIPS_xxx flags. Differential Revision: http://reviews.llvm.org/D18447 llvm-svn: 264300
-
Duncan P. N. Exon Smith authored
llvm-svn: 264299
-
- Mar 24, 2016
-
-
Elena Demikhovsky authored
KTEST instruction may be used instead of TEST in this case: %int_sel3 = bitcast <8 x i1> %sel3 to i8 %res = icmp eq i8 %int_sel3, zeroinitializer br i1 %res, label %L2, label %L1 Differential Revision: http://reviews.llvm.org/D18444 llvm-svn: 264298
-
NAKAMURA Takumi authored
llvm-svn: 264297
-
Tim Northover authored
If the operation's type has been promoted during type legalization, we need to account for the fact that the high bits of the comparison operand are likely unspecified. The LHS is usually zero-extended, but MIPS sign extends it, so we have to be slightly careful. Patch by Simon Dardis. llvm-svn: 264296
-
Tom Stellard authored
Patch By: Sonny Jiang llvm-svn: 264295
-
Simon Pilgrim authored
llvm-svn: 264294
-
NAKAMURA Takumi authored
llvm-svn: 264293
-
Rafael Espindola authored
With this I think that now llvm-link, lld and the gold plugin should agree on which symbol is kept. llvm-svn: 264292
-
NAKAMURA Takumi authored
llvm-svn: 264291
-
NAKAMURA Takumi authored
llvm-svn: 264290
-
Eric Liu authored
llvm-svn: 264289
-
Rafael Espindola authored
After comdat processing, the symbols still go through regular symbol resolution. We were not doing it for linkonce symbols since they are lazy linked. This fixes pr27044. llvm-svn: 264288
-
Daniel Sanders authored
Summary: Reviewers: vkalintiris Subscribers: llvm-commits, dsanders Differential Revision: http://reviews.llvm.org/D18177 llvm-svn: 264287
-
Johannes Doerfert authored
llvm-svn: 264286
-
Pirama Arumuga Nainar authored
Summary: Some target lowerings of FP_TO_FP16, for instance ARM's vcvtb.f16.f32 instruction, do not guarantee that the top 16 bits are zeroed out. Remove the unsafe AssertZext and add tests to exercise this. Reviewers: jmolloy, sbaranga, kristof.beyls, aadg Subscribers: llvm-commits, srhines, aemerson Differential Revision: http://reviews.llvm.org/D18426 llvm-svn: 264285
-
Johannes Doerfert authored
This fixes PR27035. While we now exclude MemIntrinsics from the polyhedral model if they would access "null" we could exploit this even more, e.g., remove all parameter combinations that would lead to the execution of this statement from the context. llvm-svn: 264284
-
Johannes Doerfert authored
llvm-svn: 264283
-
Nemanja Ivanovic authored
This patch corresponds to review: http://reviews.llvm.org/D17711 It disables direct moves on these operations in 32-bit mode since the patterns assume 64-bit registers. The final patch is slightly different from the Phabricator review as the bitcast operations needed to be disabled in 32-bit mode as well. This fixes PR26617. llvm-svn: 264282
-
Amjad Aboud authored
After fixing PR26942 (the fix is included in this commit). Differential Revision: http://reviews.llvm.org/D18350 llvm-svn: 264281
-
Amjad Aboud authored
After fixing PR26942 (the fix is included in this commit). Differential Revision: http://reviews.llvm.org/D18350 llvm-svn: 264280
-
Daniel Sanders authored
Summary: Reviewers: vkalintiris Subscribers: llvm-commits, dsanders Differential Revision: http://reviews.llvm.org/D18148 llvm-svn: 264279
-
Eric Liu authored
Added support for different VFSs in format::getStyle. Disable platform-related test case for MS compilers to avoid breaking buildbot. llvm-svn: 264277
-
Eric Liu authored
This reverts commit r264253. It is breaking the buildbot http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/2203 llvm-svn: 264276
-
Eric Liu authored
This reverts commit r264254. llvm-svn: 264275
-
Johannes Doerfert authored
Similar to r262612 we need to check not only the pointer SCEV and the type of an alias group but also the actual access instruction. The reason is again the same: The pointer SCEV is not flow sensitive but the access function is. In r262612 we avoided consolidating alias groups even though the pointer SCEV and the type were the same but the access function was not. Here it is simpler as we can simply check all members of an alias group against the given access instruction. llvm-svn: 264274
-
Johannes Doerfert authored
llvm-svn: 264273
-