- Jul 21, 2016
-
-
David Majnemer authored
We hoisted loads/stores without taking into account which can cause miscompiles. llvm-svn: 276240
-
David Majnemer authored
llvm-svn: 276239
-
http://wg21.link/P0254R1Marshall Clow authored
Implement std::string_view as described in http://wg21.link/P0254R1. Reviewed as https://reviews.llvm.org/D21459 llvm-svn: 276238
-
Amaury Sechet authored
llvm-svn: 276237
-
Amaury Sechet authored
Summary: See D19181 for context. Reviewers: whitequark, Wallbraker, jyknight, echristo, bkramer, void Subscribers: mehdi_amini Differential Revision: http://reviews.llvm.org/D21265 llvm-svn: 276236
-
Matthias Braun authored
This patch fixes a very subtle bug in regmask calculation. Thanks to zan jyu Wong <zyfwong@gmail.com> for bringing this to notice. For example if CL is only clobbered than CH should not be marked clobbered but CX, RCX and ECX should be mark clobbered. Previously for each modified register all of its aliases are marked clobbered by markRegClobbred() in RegUsageInfoCollector.cpp but that is wrong because when CL is clobbered then MRI::isPhysRegModified() will return true for CL, CX, ECX, RCX which is correct behavior but then for CX, EXC, RCX we mark CH also clobbered as CH is aliased to CX,ECX,RCX so markRegClobbred() is not required because isPhysRegModified already take cares of proper aliasing register. A very simple test case has been added to verify this change. Please find relevant bug report here : http://llvm.org/PR28567 Patch by Vivek Pandya <vivekvpandya@gmail.com> Differential Revision: https://reviews.llvm.org/D22400 llvm-svn: 276235
-
Xinliang David Li authored
llvm-svn: 276234
-
Eric Fiselier authored
llvm-svn: 276233
-
George Burgess IV authored
In atomic builtins, we assumed that the LValue conversion on the first argument would succeed. So, we would crash given code like: ``` void ovl(char); void ovl(int); __atomic_store_n(ovl, 0, 0); ``` This patch makes us not assume that said conversion is successful. :) llvm-svn: 276232
-
Eric Fiselier authored
llvm-svn: 276231
-
Eric Fiselier authored
llvm-svn: 276230
-
Xinliang David Li authored
llvm-svn: 276229
-
Etienne Bergeron authored
Summary: By adding the initialisation of the symbolisation library (DbgHelp) we are swapping the order in which both warnings are produced. We can't use CHECK-NEXT as the dbghelp warning is multiline. Reviewers: rnk Subscribers: kubabrecka, llvm-commits, wang0109, chrisha Differential Revision: https://reviews.llvm.org/D22586 llvm-svn: 276228
-
Etienne Bergeron authored
llvm-svn: 276227
-
Xinliang David Li authored
llvm-svn: 276226
-
Xinliang David Li authored
llvm-svn: 276225
-
Adam Nemet authored
llvm-svn: 276224
-
Adam Nemet authored
Test coverage is provided by modifying the function in the FP-math testcase that we are allowed to vectorize. llvm-svn: 276223
-
Matthias Braun authored
classifyLEAReg() deals with switching operands from 32bit to 64bit in order to use a LEA64_32 instruction (for three address code goodness). It currently performs a liveness analysis to determine the kill/undef flag for the newly added operand. This should not be necessary: - If the previous operand had a kill flag, then the 32bit part of the register gets killed, this will kill the super register as well. - If the previous operand had an undef flag then we didn't care what value we read, just use the same flag on the new operand. (No matter what an operand with an undef flag won't affect liveness) This makes the code independent of the presence of kill flags because it avoids a call to MachineBasicBlock::computeRegisterLiveness(). Differential Revision: http://reviews.llvm.org/D22283 llvm-svn: 276222
-
Sanjay Patel authored
The benefits of this change include: 1. Remove DeMorgan-matching code that was added specifically to work-around the missing transform in http://reviews.llvm.org/rL248634. 2. Makes the DeMorgan transform work for vectors too. 3. Fix PR28476: https://llvm.org/bugs/show_bug.cgi?id=28476 Extending this transform to other casts and other associative operators may be useful too. See https://reviews.llvm.org/D22421 for a prerequisite for doing that though. Differential Revision: https://reviews.llvm.org/D22271 llvm-svn: 276221
-
Enrico Granata authored
Fix an issue where LLDB would detect an empty shared cache - which is legitimate albeit suboptimal - and warn about being unable to fetch ObjC class information, even though class data was actually properly loaded from the dynamic hashmap Only ever warn about missing ObjC runtime class data if one either can't run the expressions to obtain such data, or the total count of classes is below a threshold that makes things sound really suspicious Fixes rdar://27438500 llvm-svn: 276220
-
Eric Fiselier authored
Summary: _Unwind_Exception is required to be double word aligned. Currently the struct is under aligned. Reviewers: mclow.lists, compnerd, kledzik, emaste Subscribers: emaste, cfe-commits Differential Revision: https://reviews.llvm.org/D22543 llvm-svn: 276215
-
Eric Fiselier authored
llvm-svn: 276214
-
Davide Italiano authored
Differential Revision: https://reviews.llvm.org/D21979 llvm-svn: 276213
-
Adam Nemet authored
This includes FPCompute and Aliasing. Testcase is based on no_fpmath.ll. llvm-svn: 276211
-
Sanjay Patel authored
Differential Revision: https://reviews.llvm.org/D22602 llvm-svn: 276209
-
Eric Fiselier authored
Increasingly the .fail.cpp tests are written using -verify, making them sensitive to the exact diagnostics generated by the compiler. To prevent additional diagnostics from being generated, and causing the tests to fail, this patch removes the warning flags when compiling those tests. llvm-svn: 276208
-
Xinliang David Li authored
Differential Revision: http://reviews.llvm.org/D22593 llvm-svn: 276207
-
George Burgess IV authored
llvm-svn: 276205
-
Tim Northover authored
They were all auto-incremented from 0 anyway, and I'm getting really annoying conflicts and runtime failures when different people add more for GlobalISel (and even when I'm refactoring my own patches). NFC. llvm-svn: 276204
-
Kelvin Li authored
This patch is to implement sema and parsing for 'target simd' pragma. Differential Revision: https://reviews.llvm.org/D22479 llvm-svn: 276203
-
Xinliang David Li authored
llvm-svn: 276202
-
George Burgess IV authored
(Also, refactor our constexpr handling to be less insane). This patch lets us track field offsets in the CFL Graph, which is the first step to making CFLAA field/offset sensitive. Woohoo! Note that this patch shouldn't visibly change our behavior (since we make no use of the offsets we're now tracking), so we can't quite add tests for this yet. Patch by Jia Chen. Differential Revision: https://reviews.llvm.org/D22598 llvm-svn: 276201
-
Eric Fiselier authored
llvm-svn: 276200
-
Vedant Kumar authored
Differential Revision: https://reviews.llvm.org/D22544 llvm-svn: 276199
-
Xinliang David Li authored
llvm-svn: 276198
-
Xinliang David Li authored
Fix the test case that should not depend on dir iteration order. llvm-svn: 276197
-
Justin Lebar authored
Reviewers: tra Subscribers: jholewinski, arsenm, asbirlea Differential Revision: https://reviews.llvm.org/D22592 llvm-svn: 276196
-
Kostya Serebryany authored
llvm-svn: 276195
-
- Jul 20, 2016
-
-
Xinliang David Li authored
llvm-svn: 276194
-