- Apr 30, 2014
-
-
Rafael Espindola authored
The instcomine logic to handle vpermilvar's pd and 256 variants was incorrect. The _256 variants have indexes into the individual 128 bit lanes and in all cases it also has to mask out unused bits. llvm-svn: 207577
-
Andrea Di Biagio authored
crash with an assertion failure when 'nul' is passed in input. Modified clang/test/lit.py to add feature 'system-windows' if `platform.system()` returns 'Windows'. llvm-svn: 207576
-
Andrea Di Biagio authored
Before this patch, if 'nul' was passed in input to clang, function getStatus() (in Path.inc) always returned an instance of file_status with field 'nFileSizeHigh' and 'nFileSizeLow' left uninitialized. This was causing the triggering of an assertion failure in MemoryBuffer.cpp due to an invalid FileSize for device 'nul'. This patch fixes the assertion failure modifying the constructors of class file_status (in llvm/Support/FileSystem.h) so that every field of the class gets initialized to zero by default. A clang test will be submitted on a separate patch. llvm-svn: 207575
-
Diego Novillo authored
This patch changes the vectorization remarks to also inform when vectorization is possible but not beneficial. Added tests to exercise some loop remarks. llvm-svn: 207574
-
Hans Wennborg authored
llvm-svn: 207573
-
-
Yi Jiang authored
llvm-svn: 207571
-
Argyrios Kyrtzidis authored
[PCH/Modules] Don't tie TargetOptions::LinkerVersion to a module/PCH, it's a driver only thing and doesn't affect any language/preprocessor/etc. semantics. rdar://16714526 llvm-svn: 207570
-
Adam Nemet authored
PR19608 was filed to find a suitable testcase. llvm-svn: 207569
-
Todd Fiala authored
Tests added for debugserver and lldb-gdbserver. lldb-gdbserver marked as XFAIL on top of tree. Added build_gdbremote_A_packet test helper to construct a gdbremote A launch packet from a list of args. llvm-svn: 207568
-
Logan Chien authored
llvm-svn: 207567
-
Ed Maste authored
llvm-svn: 207566
-
Reed Kotler authored
Reviewers: dsanders Reviewed by: dsanders Differential Revision: http://reviews.llvm.org/D3430 llvm-svn: 207565
-
Ed Maste authored
llvm-svn: 207564
-
Alexey Samsonov authored
DIE doesn't need to store a pointer to its parent: we can traverse the DIE tree only with functions getFirstChild() and getSibling(). Parents must be known only when we construct the tree. Rewrite setDIERelations() procedure in a more straightforward way, and get rid of lots of now unused DIEMinimal methods. No functionality change. llvm-svn: 207563
-
Jordan Rose authored
The constructor that comes right before a variable declaration in the CFG might not be the initialization of that variable. Previously, we just checked that the variable's initializer expression was different from the construction expression, but forgot to see whether the variable had an initializer expression at all. Thanks for the prompting, David. llvm-svn: 207562
-
Jordan Rose authored
While we don't model pointer-to-member operators yet (neither .* nor ->*), CallAndMessageChecker still checks to make sure the 'this' object is not null or undefined first. However, it also expects that the object should always have a valid MemRegion, something that's generally important elsewhere in the analyzer as well. Ensure this is true ahead of time, just like we do for member access. PR19531 llvm-svn: 207561
-
Duncan P. N. Exon Smith authored
r207552, r207553 and r207554 all had bad test names. llvm-svn: 207560
-
Duncan P. N. Exon Smith authored
llvm-svn: 207559
-
Daniel Sanders authored
Summary: The InstSE class already initializes Predicates to [HasStdEnc]. No functional change (confirmed by diffing tablegen-erated files before and after) Differential Revision: http://reviews.llvm.org/D3548 llvm-svn: 207558
-
Ed Maste authored
llvm.org/pr19605 llvm-svn: 207557
-
Todd Fiala authored
This now builds lldb-gdbserver on all Linux and FreeBSD architectures rather than being locked to x86_64 architectures only. Please note lldb-gdbserver is not yet functional, this just enables the non-x86_64 Linux/FreeBSD build using the configure/make build system. --This line, and those below, will be ignored-- M tools/Makefile llvm-svn: 207556
-
Duncan P. N. Exon Smith authored
The code is now shared... no need for a note. llvm-svn: 207555
-
Duncan P. N. Exon Smith authored
llvm-svn: 207554
-
Duncan P. N. Exon Smith authored
llvm-svn: 207553
-
Duncan P. N. Exon Smith authored
Move a detailed test of `BranchProbability::scale()` from `BlockFrequencyTest` over to `BranchProbabilityTest`. llvm-svn: 207552
-
Daniel Sanders authored
Summary: The InstSE class already initializes Predicates to [HasStdEnc]. No functional change (confirmed by diffing tablegen-erated files before and after) Differential Revision: http://reviews.llvm.org/D3547 llvm-svn: 207551
-
Duncan P. N. Exon Smith authored
Change `BlockFrequency` to defer to `BranchProbability::scale()` and `BranchProbability::scaleByInverse()`. This removes `BlockFrequency::scale()` from its API (and drops the ability to see the remainder), but the only user was the unit tests. If some code in the future needs an API that exposes the remainder, we can add something to `BranchProbability`, but I find that unlikely. llvm-svn: 207550
-
Ben Langmuir authored
Fixed by moving ProcessWarningOptions from Frontend into Basic. All of the dependencies for ProcessWarningOptions were already in Basic, so this was a small change. llvm-svn: 207549
-
Daniel Sanders authored
Summary: The MipsPat class already initializes Predicates to [HasStdEnc]. No functional change (confirmed by diffing tablegen-erated files before and after) Differential Revision: http://reviews.llvm.org/D3546 llvm-svn: 207548
-
Duncan P. N. Exon Smith authored
`BlockMass` can now defer to `BranchProbability::scale()`. llvm-svn: 207547
-
Duncan P. N. Exon Smith authored
Since `BlockMass` is an implementation detail and there are no current users of this, delete `BlockMass::operator*=(BlockMass)`. I might need this when I try to strip out `UnsignedFloat`, but I can pull it back in at that point. llvm-svn: 207546
-
Duncan P. N. Exon Smith authored
llvm-svn: 207545
-
Duncan P. N. Exon Smith authored
Add API to `BranchProbability` for scaling big integers. Next job is to rip the logic out of `BlockMass` and `BlockFrequency`. llvm-svn: 207544
-
Dan Liew authored
CMake. llvm-svn: 207543
-
Fariborz Jahanian authored
// rdar://16737117 llvm-svn: 207542
-
Duncan P. N. Exon Smith authored
llvm-svn: 207541
-
Duncan P. N. Exon Smith authored
llvm-svn: 207540
-
- Apr 29, 2014
-
-
David Blaikie authored
These were called from distinct places and had significant distinct behavior. No need to make that a dynamic check inside the function rather than just having two functions (refactoring some common code into a helper function to be called from the two separate functions). llvm-svn: 207539
-
Daniel Jasper authored
Before: repeated double value = 1 [(aaaaaaa.aaaaaaaaa) = {aaaaaaaaaaaaaaaa: AAAAAAAAAA, bbbbbbb: BBBB, bbbb: BBB}]; After: repeated double value = 1 [(aaaaaaa.aaaaaaaaa) = {aaaaaaaaaaaaaaaa: AAAAAAAAAA, bbbbbbb: BBBB, bbbb: BBB}]; llvm-svn: 207538
-