- Jul 23, 2016
-
-
Craig Topper authored
llvm-svn: 276528
-
Simon Pilgrim authored
llvm-svn: 276527
-
Simon Pilgrim authored
Demonstrate difference in codegen discussed on PR14760 llvm-svn: 276526
-
Sanjay Patel authored
llvm-svn: 276523
-
Chandler Carruth authored
should fix the build with GCC 4.9 at least. Not sure if this is the right name or fix, but I've followed up on the original commit. llvm-svn: 276522
-
Craig Topper authored
llvm-svn: 276521
-
Craig Topper authored
[X86] Make one of the FMA3 commuting methods static. Remove a call to isFMA3 just to get the IsIntrisic flag, instead get it during the first call and pass it along. NFC llvm-svn: 276520
-
Craig Topper authored
llvm-svn: 276519
-
Matt Arsenault authored
This has been dead since r269479 llvm-svn: 276518
-
Xinliang David Li authored
Patch by Jake VanAdrighem Differential Revision: http://reviews.llvm.org/D22607 llvm-svn: 276516
-
Sean Silva authored
This unblocks the new PM part of River's patch in https://reviews.llvm.org/D22706 Conveniently, this same change was needed for D21921 and so these changes are just spun out from there. llvm-svn: 276515
-
David Majnemer authored
This is the first patch in the coroutine series. It contains the documentation for the coroutine intrinsics and their usage. Patch by Gor Nishanov! Differential Revision: https://reviews.llvm.org/D22603 llvm-svn: 276513
-
David Majnemer authored
While we handed loads past the end of an array, we didn't handle loads _before_ the array. This fixes PR28062. N.B. While the bug in the code is obvious, I am struggling to craft a test case which is reasonable in size. llvm-svn: 276510
-
Sanjoy Das authored
This change lets us prove things like "{X,+,10} s< 5000" implies "{X+7,+,10} does not sign overflow" It does this by replacing replacing getConstantDifference by computeConstantDifference (which is smarter) in isImpliedCondOperandsViaRanges. llvm-svn: 276505
-
Vedant Kumar authored
It's been pointed out that arbitrarily spraying raw profiles into a build directory is insane. Doing this wastes a tremendous amount of space and is also very lossy, since the test harness tends to wipe away temporary sub-directories (which usually contain relevant profile data). The new default is a `profiles` directory inside of the build dir. llvm-svn: 276504
-
Sanjoy Das authored
This is in preparation of s/getConstantDifference/computeConstantDifference/ in a later change. llvm-svn: 276503
-
Sanjay Patel authored
llvm-svn: 276502
-
Sanjay Patel authored
llvm-svn: 276501
-
Tom Stellard authored
This reverts commit r276298. Data stored in .rodata can have a negative offset from .text, but we don't support negative values in relocations yet. This caused a regression in one of the amp conformance tests: 5_Data_Cont/5_2_a_v/5_2_3_m/Assignment/Test.02.01 llvm-svn: 276498
-
Adam Nemet authored
llvm-svn: 276491
-
Adam Nemet authored
llvm-svn: 276488
-
Adam Nemet authored
llvm-svn: 276487
-
George Burgess IV authored
This patch teaches FunctionInfo about offsets. Like the last patch, this one doesn't introduce any visible functionality change (the core algorithm knows nothing about offsets; they're just plumbed through). Tests will come when we start acting differently because of the offsets. Patch by Jia Chen. (N.B. I made a tiny change to Jia's patch to avoid warnings by GCC: I put DenseMapInfo specializations in the `llvm` namespace. Only realized that those appeared when compiling locally. :) ) Differential Revision: https://reviews.llvm.org/D22634 llvm-svn: 276486
-
Sanjay Patel authored
llvm-svn: 276482
-
Tim Northover authored
llvm-svn: 276481
-
Vitaly Buka authored
Summary: Clang inserts cleanup code before resume similar way as before return instruction. This makes asan poison local variables causing false use-after-scope reports. __asan_handle_no_return does not help here as it was executed before llvm.lifetime.end inserted into resume block. To avoid false report we need to unpoison stack for resume same way as for return. PR27453 Reviewers: kcc, eugenis Differential Revision: https://reviews.llvm.org/D22661 llvm-svn: 276480
-
Alina Sbirlea authored
Summary: Adding a flag to diable GVN Hoisting by default. Note: The GVN Hoist Pass causes some Halide tests to hang. Halide will disable the pass while investigating. Reviewers: llvm-commits, chandlerc, spop, dberlin Subscribers: mehdi_amini Differential Revision: https://reviews.llvm.org/D22639 llvm-svn: 276479
-
- Jul 22, 2016
-
-
Michael Kuperstein authored
When vectorizing a tree rooted at a store bundle, we currently try to sort the stores before building the tree, so that the stores can be vectorized. For other trees, the order of the root bundle - which determines the order of all other bundles - is arbitrary. That is bad, since if a leaf bundle of consecutive loads happens to appear in the wrong order, we will not vectorize it. This is partially mitigated when the root is a binary operator, by trying to build a "reversed" tree when that's considered profitable. This patch extends the workaround we have for binops to trees rooted in a horizontal reduction. This fixes PR28474. Differential Revision: https://reviews.llvm.org/D22554 llvm-svn: 276477
-
Sanjay Patel authored
llvm-svn: 276476
-
Sanjay Patel authored
llvm-svn: 276475
-
Vedant Kumar authored
llvm-svn: 276474
-
Sanjay Patel authored
llvm-svn: 276472
-
Anna Thomas authored
Differential Revision: https://reviews.llvm.org/D22700 llvm-svn: 276471
-
Pete Cooper authored
This adds versions of operator + and - which are optimized for the LHS/RHS of the operator being RValue's. When an RValue is available, we can use its storage space instead of allocating new space. On code such as ConstantRange which makes heavy use of APInt's over 64-bits in size, this results in significant numbers of saved allocations. Thanks to David Blaikie for all the review and most of the code here. llvm-svn: 276470
-
Vedant Kumar authored
Just link in the stylesheet from the toplevel dir of the report. llvm-svn: 276468
-
Sanjoy Das authored
The helper will get smarter in a later change, but right now this is just code reorganization. llvm-svn: 276467
-
Sanjay Patel authored
llvm-svn: 276466
-
George Burgess IV authored
llvm-svn: 276465
-
Sanjay Patel authored
llvm-svn: 276464
-
Zachary Turner authored
For some reason this doesn't cause linker errors with MSVC or clang-cl, but the bots seem to be failing with other compilers. llvm-svn: 276463
-