- Jan 12, 2015
-
-
Saleem Abdulrasool authored
The rewrite map files are not copied, and so cannot be tracked as temporary files. Add them explicitly to the list of files that we request from the user to be attached to bug reports. llvm-svn: 225614
-
David Majnemer authored
Recovery from malformed lambda introducers would find us consuming the synthetic default argument token, which is bad. Instead, stop right before that token. llvm-svn: 225613
-
- Jan 11, 2015
-
-
Simon Pilgrim authored
D6015 / rL221313 enabled commutation for SSE immediate blend instructions, but due to a typo the AVX2 VPBLENDW ymm instructions weren't flagged as commutative along with the others in the tables, but were still being commuted in code and tested for. llvm-svn: 225612
-
Vince Harron authored
Tested on Linux and OSX Submitted for Bob Campbell llvm-svn: 225611
-
Roman Divacky authored
llvm-svn: 225610
-
Marshall Clow authored
llvm-svn: 225609
-
Daniel Sanders authored
llvm-svn: 225608
-
Daniel Sanders authored
llvm-svn: 225607
-
David Majnemer authored
Clang would treat the digits in an "11m" input constraint separately as if it was handling constraint 1 twice instead of constraint 11. llvm-svn: 225606
-
David Majnemer authored
Input constraints like "0" and "[foo]" should be treated the same when it comes to their corresponding output constraint. This fixes PR21850. llvm-svn: 225605
-
Vince Harron authored
llvm-svn: 225604
-
David Majnemer authored
llvm-svn: 225603
-
David Majnemer authored
LLVM the consecutive '%' modifiers are redundant, skip them. llvm-svn: 225602
-
David Majnemer authored
LLVM the consecutive '&' modifiers are redundant, skip them. llvm-svn: 225601
-
David Majnemer authored
llvm-svn: 225600
-
David Majnemer authored
We can't rely on a DataLayout enlightened constant folder. llvm-svn: 225599
-
Marshall Clow authored
Change a couple more template parameter names from 'T' to '_Tp', etc. Thanks to Ondřej Majerech for the patch, but I did a bit more. llvm-svn: 225598
-
David Majnemer authored
It's possible for the constant pool entry for the shuffle mask to come from a completely different operation. This occurs when Constants have the same bit pattern but have different types. Make DecodePSHUFBMask tolerant of types which, after a bitcast, are appropriately sized vector types. This fixes PR22188. llvm-svn: 225597
-
Saleem Abdulrasool authored
Teach the ISelLowering for X86 about the L,M,O target specific constraints. Although, for the moment, clang performs constraint validation and prevents passing along inline asm which may have immediate constant constraints violated, the backend should be able to cope with the invalid inline asm a bit better. llvm-svn: 225596
-
Saleem Abdulrasool authored
This adds support for parsing and emitting the SBREL relocation variant for the ARM target. Handling this relocation variant is necessary for supporting the full ARM ELF specification. Addresses PR22128. llvm-svn: 225595
-
Chandler Carruth authored
end iterator for iterator_range<>. I removed this constructor because for some iterators (notably pointers) it left begin and end uninitialized. It also is an usual constraint that an iterator default constructs to a valid end iterator such that the pair of them for a valid range. In the three places where this was used in Clang, explicitly build the empty range from the iterators and comment on why default constructed iterators make sense here. llvm-svn: 225594
-
Chandler Carruth authored
Folks on Windows, remember to set up your subversion to strip these when submitting... llvm-svn: 225593
-
Chandler Carruth authored
This default constructor is a bit weird. It left the range in an invalid state. That might be reasonable so that you can construct a local iterator range and assign to it based on some logic to compute the range you want. If folks would like to support that use case, I can add it back, but in 238-odd usages none have actually wanted to do this. ;] llvm-svn: 225592
-
Sanjoy Das authored
We were incorrectly inferring nsw for certain SCEVs. We can be more aggressive here (see Richard Smith's comment on http://llvm.org/bugs/show_bug.cgi?id=22179) but this change just focuses on correctness. Differential Revision: http://reviews.llvm.org/D6914 llvm-svn: 225591
-
- Jan 10, 2015
-
-
Joerg Sonnenberger authored
llvm-svn: 225590
-
Simon Pilgrim authored
In the current code we only attempt to match against insertps if we have exactly one element from the second input vector, irrespective of how much of the shuffle result is zeroable. This patch checks to see if there is a single non-zeroable element from either input that requires insertion. It also supports matching of cases where only one of the inputs need to be referenced. We also split insertps shuffle matching off into a new lowerVectorShuffleAsInsertPS function. Differential Revision: http://reviews.llvm.org/D6879 llvm-svn: 225589
-
Ramkumar Ramachandra authored
Often, we miss committing new files, and 'arc diff' is supposed to warn us about this. Unfortunately, because of the spurious output of the command (due to unignored untracked files), we tend to ignore it and lose information. llvm-svn: 225588
-
Nathan Sidwell authored
llvm-svn: 225587
-
David Majnemer authored
Don't permit '+&m' to make it to CodeGen, it's invalid. llvm-svn: 225586
-
Jason Molenda authored
llvm-svn: 225585
-
Hal Finkel authored
This initial implementation of PPCTargetLowering::isZExtFree marks as free zexts of small scalar loads (that are not sign-extending). This callback is used by SelectionDAGBuilder's RegsForValue::getCopyToRegs, and thus to determine whether a zext or an anyext is used to lower illegally-typed PHIs. Because later truncates of zero-extended values are nops, this allows for the elimination of later unnecessary truncations. Fixes the initial complaint associated with PR22120. llvm-svn: 225584
-
Justin Hibbits authored
llvm-svn: 225583
-
Tobias Grosser authored
I did not find a good test case, as the assert should generally hold in Polly. llvm-svn: 225582
-
Richard Trieu authored
-Wself-move is similiar to -Wself-assign. This warning is triggered when a value is attempted to be moved to itself. See r221008 for a bug that would have been caught with this warning. llvm-svn: 225581
-
Dmitri Gribenko authored
llvm-svn: 225580
-
Jason Molenda authored
llvm-svn: 225579
-
Jason Molenda authored
it more generally available. Add checks to UnwindAssembly_x86::AugmentUnwindPlanFromCallSite() so that it won't try to augment an UnwindPlan that already describes the function epilogue. Add a test case for backtracing out of _sigtramp on Darwin systems. This could probably be adapted to test the same thing on linux/bsd but the function names of sigtramp and kill are probably platform specific and I'm not sure what they should be. llvm-svn: 225578
-
Saleem Abdulrasool authored
The previous commit accidentally missed changes to the test output checking, resulting in an errant failure. llvm-svn: 225577
-
Saleem Abdulrasool authored
There is a fair number of relocations that are part of the AAELF specification. Simply merge the tests into a single test file, otherwise, we will end up with far too many test files to test each relocation type. NFC. llvm-svn: 225576
-
Saleem Abdulrasool authored
These tests are checking the relocation generation. Use the readobj output as it is much easier to follow when glancing over the tests. llvm-svn: 225575
-