- Apr 01, 2016
-
-
Todd Fiala authored
http://llvm.org/bugs/show_bug.cgi?id=27179 llvm-svn: 265165
-
Simon Pilgrim authored
llvm-svn: 265164
-
Simon Pilgrim authored
Replaced lots of dodgy greps with actual codegen llvm-svn: 265163
-
Bruno Cardoso Lopes authored
The cc1 invocation in the reproducer script should contain a valid path in -fmodule-cache-path; for that reuse "<name>.cache/module" dir we already use to dump the vfs and modules. llvm-svn: 265162
-
Sanjay Patel authored
Follow-up to http://reviews.llvm.org/D18566 and http://reviews.llvm.org/D18676 - where we noticed that an intermediate splat was being generated for memsets of non-zero chars. That was because we told getMemsetStores() to use a 32-bit vector element type, and it happily obliged by producing that constant using an integer multiply. The 16-byte test that was added in D18566 is now equivalent for AVX1 and AVX2 (no splats, just a vector load), but we have PR27141 to track that splat difference. Note that the SSE1 path is not changed in this patch. That can be a follow-up. This patch should resolve PR27100. llvm-svn: 265161
-
Chad Rosier authored
llvm-svn: 265160
-
George Rimar authored
Extracts code for initializing dummies sections to avoid possible duplication in following patches. Differential review: http://reviews.llvm.org/D18691 llvm-svn: 265159
-
David Majnemer authored
A catchswitch is a terminator, instructions cannot be inserted after it. llvm-svn: 265158
-
David Majnemer authored
A catchswitch cannot be preceded by another instruction in the same basic block (other than a PHI node). Instead, insert the extract element right after the materialization of the vectorized value. This isn't optimal but is a reasonable compromise given the constraints of WinEH. This fixes PR27163. llvm-svn: 265157
-
Rui Ueyama authored
Some functions in Writer reports error using HasError, and some reports their return values. This patch makes them to consistently use HasError. llvm-svn: 265156
-
Rui Ueyama authored
Thanks to George Rimor for pointing it out. llvm-svn: 265155
-
Rui Ueyama authored
fixAbsoluteSymbols fixes linker-created symbol addresses. Since we don't create such symbols for relocatable output, we don't need to call this function. llvm-svn: 265154
-
Reid Kleckner authored
Move ifdefs to avoid unused static helpers. Move alignment attribute so that it is respected in GCC and MSVC. llvm-svn: 265153
-
Reid Kleckner authored
llvm-svn: 265152
-
Rui Ueyama authored
assignAddressesRelocatable function did not set addresses to sections despite its name. What it actually did is to set file offsets to sections. assignAddresses function assigned addresses and file offsets to sections. So there was a confusion what they were doing, and they had duplicate code. This patch separates file offset assignments from address assignments. A new function, assignFileOffsets assign file offsets. assignAddresses do not care about file offsets anymore. llvm-svn: 265151
-
Rafael Espindola authored
The extra fix is to note that it still requires copy relocations. Original message: Change how we handle R_MIPS_LO16. Mips aligns PT_LOAD to 16 bits (0x10000). That means that the lower 16 bits are always the same, so we can, effectively, say that the relocation is relative. P.S.: Suggestions for a better name for the predicate are welcome :-) llvm-svn: 265150
-
Rong Xu authored
Refactor the code that gets and creates PGOFuncName meta data so that it can be used in clang's value profile annotation. Differential Revision: http://reviews.llvm.org/D18623 llvm-svn: 265149
-
Sanjay Patel authored
Follow-up to D18566 - where we noticed that an intermediate splat was being generated for memsets of non-zero chars. That was because we told getMemsetStores() to use a 32-bit vector element type, and it happily obliged by producing that constant using an integer multiply. The tests that were added in the last patch are now equivalent for AVX1 and AVX2 (no splats, just a vector load), but we have PR27141 to track that splat difference. In the new tests, the splat via shuffling looks ok to me, but there might be some room for improvement depending on uarch there. Note that the SSE1/2 paths are not changed in this patch. That can be a follow-up. This patch should resolve PR27100. Differential Revision: http://reviews.llvm.org/D18676 llvm-svn: 265148
-
Rafael Espindola authored
This matches the behavior of both bfd and gold. Looks like we just got here for mips because of a bad ordering of an if else chain. llvm-svn: 265147
-
Anastasia Stulova authored
llvm-svn: 265146
-
Benjamin Kramer authored
This avoids undefined behavior when casting pointers to it. Also make sure that we don't cast to a derived StringMapEntry before checking for tombstone, as that may have different alignment requirements. llvm-svn: 265145
-
Vedant Kumar authored
llvm-svn: 265144
-
Rafael Espindola authored
llvm-svn: 265143
-
Rafael Espindola authored
We had almost identical code to handle creating a plt entry in two places. llvm-svn: 265142
-
Valery Pykhtin authored
$vsrc1 -> $src1, $k -> $imm Differential Revision: http://reviews.llvm.org/D18659 llvm-svn: 265141
-
Pavel Labath authored
The test was failing on windows because the clean rule (which is executed even if the test is skipped) returned an error there. llvm-svn: 265140
-
Rafael Espindola authored
llvm-svn: 265139
-
Andrea Di Biagio authored
Since revision 235394, we no longer perform target specific combines on build_vector nodes. No functional change intended. llvm-svn: 265138
-
George Rimar authored
http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/20138 Fix: Move method above class that uses it. Works fine with MSVS. llvm-svn: 265137
-
George Rimar authored
llvm-svn: 265136
-
Simon Pilgrim authored
llvm-svn: 265135
-
Sagar Thakur authored
Summary: The assembler was picking the wrong JR variant because the pre-R6 one was still enabled at R6. Author: nitesh.jain Reviewers: vkalintiris, dsanders Subscribers: dsanders, llvm-commits, mohit.bhakkad, sagar, bhushan, jaydeep Differential: D18387 llvm-svn: 265134
-
Benjamin Kramer authored
Found by msan. Patch by Adrian Kuegel! llvm-svn: 265133
-
Johannes Doerfert authored
If a non-affine region PHI is generated we should not move the insert point prior to the synthezised value in the same block as we might split that block at the insert point later on. Only if the incoming value should be placed in a different block we should change the insertion point. llvm-svn: 265132
-
George Rimar authored
llvm-svn: 265131
-
George Rimar authored
llvm-svn: 265130
-
George Rimar authored
That is consistent with other symbols: _edata, _etext and can help to avoid duplicate code. Differential revision: http://reviews.llvm.org/D18655 llvm-svn: 265129
-
Andrey Turetskiy authored
Add a new Intel MCU CPU Lakemont, which doesn't support X87. Differential Revision: http://reviews.llvm.org/D18650 llvm-svn: 265128
-
Alexey Bataev authored
llvm-svn: 265127
-
Benjamin Kramer authored
llvm-svn: 265126
-