| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
The buildbot reported build failures for clang.
llvm-svn: 227179
|
|
|
|
|
| |
NB: Saving files after editing helps.
llvm-svn: 227178
|
|
|
|
|
|
|
| |
gcc allows template specializations only in the same namespace
where template has been declared.
llvm-svn: 227177
|
|
|
|
|
|
|
| |
when we didn't need the cast to the base class or the cached version
off of the subtarget.
llvm-svn: 227176
|
|
|
|
|
|
| |
and remove and unnecessary class variable.
llvm-svn: 227175
|
|
|
|
|
|
|
|
|
|
|
|
| |
Symbols addressing Thumb code have zero bit set in st_value to distinguish them from ARM instructions.
This caused wrong atoms' forming because of offset of one byte brought in by that corrected st_value.
Fixed reading of st_value & st_value-related things in ARMELFFile while forming atoms.
Symbol table generation is also fixed for Thumb atoms.
Differential Revision: http://reviews.llvm.org/D7161
llvm-svn: 227174
|
|
|
|
| |
llvm-svn: 227173
|
|
|
|
|
|
| |
getSubtarget.
llvm-svn: 227172
|
|
|
|
|
|
|
|
|
|
| |
LoopRotate wanted to avoid live range interference by looking at the
uses of a Value in the loop latch and seeing if any lied outside of the
loop. We would wrongly perform this operation on Constants.
This fixes PR22337.
llvm-svn: 227171
|
|
|
|
| |
llvm-svn: 227170
|
|
|
|
|
|
|
| |
selects a deleted function, the outer function is still a candidate even though
the initialization sequence is "otherwise ill-formed".
llvm-svn: 227169
|
|
|
|
|
|
|
|
| |
Anonymous atoms created there were getting wrong atom ordinal.
LayoutAfter references take precedence over atom ordinals, so
the bug was not visible, though.
llvm-svn: 227168
|
|
|
|
|
|
|
|
|
|
|
|
| |
r227148 added test CommandLineTest.HideUnrelatedOptionsMulti which repeatedly
outputs two following lines:
-tool: CommandLine Error: Option 'test-option-1' registered more than once!
-tool: CommandLine Error: Option 'test-option-2' registered more than once!
r227154 depends on changes from r227148
llvm-svn: 227167
|
|
|
|
|
|
| |
doesn't make sense to carry along an untransformed static type
llvm-svn: 227166
|
|
|
|
|
|
|
|
| |
divergent formatting issues. This should prevent any format-only diffs
from sneaking into subsequent changes to port TTI to the new pass
manager.
llvm-svn: 227165
|
|
|
|
| |
llvm-svn: 227164
|
|
|
|
|
|
| |
<rdar://problem/17935601>
llvm-svn: 227163
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
object that manages a single run of this pass.
This was already essentially how it worked. Within the run function, it
would point members at *stack local* allocations that were only live for
a single run. Instead, it seems much cleaner to have a utility object
whose lifetime is clearly bounded by the run of the pass over the
function and can use member variables in a more direct way.
This also makes it easy to plumb the analyses used into it from the pass
and will make it re-usable with the new pass manager.
No functionality changed here, its just a refactoring.
llvm-svn: 227162
|
|
|
|
|
|
|
|
| |
Modifying Darwin/interception-in-shared-lib-test.cc and suppressions-library.cc
to use rpath instead of linking against the full path to the temporary file.
NFC.
llvm-svn: 227161
|
|
|
|
|
|
|
| |
subtarget and so doesn't need the TargetMachine or to access via
getSubtargetImpl. Update all callers.
llvm-svn: 227160
|
|
|
|
|
|
| |
getSubtargetImpl.
llvm-svn: 227159
|
|
|
|
| |
llvm-svn: 227158
|
|
|
|
|
|
| |
code.
llvm-svn: 227157
|
|
|
|
|
|
| |
a subtarget.
llvm-svn: 227156
|
|
|
|
| |
llvm-svn: 227155
|
|
|
|
| |
llvm-svn: 227154
|
|
|
|
|
|
|
|
| |
address. The default SBAddress constructor sets the offset to 0xffffffffffffffff and the section to NULL.
This was causing problems on clang 602 branches that use MemoryObjects to as the container for opcode bytes instead of a plain array of bytes. So we were asking for 3 bytes to be disassembled at address 0xffffffffffffffff which would cause an unsigned overflow and cause the MemoryObject to refuse to read anymore bytes.
llvm-svn: 227153
|
|
|
|
| |
llvm-svn: 227152
|
|
|
|
|
|
|
| |
Phabricator revision: http://reviews.llvm.org/D7121
Patch by Sanjin Sijaric <ssijaric@codeaurora.org>!
llvm-svn: 227149
|
|
|
|
|
|
| |
SmallVectorImpl. Also adding a test case.
llvm-svn: 227148
|
|
|
|
| |
llvm-svn: 227147
|
|
|
|
|
|
| |
These tests check that the combination of 227110 (cross block query inst) and 227112 (volatile load semantics) work together properly to allow PRE in cases where a loop contains a volatile access.
llvm-svn: 227146
|
|
|
|
|
|
|
|
| |
For ordered, unordered, equal and not-equal tests, packed float and double comparison instructions can be safely commuted without affecting the results. This patch checks the comparison mode of the (v)cmpps + (v)cmppd instructions and commutes the result if it can.
Differential Revision: http://reviews.llvm.org/D7178
llvm-svn: 227145
|
|
|
|
|
|
| |
GNU LD accepts both. CMake seems to use the former than the latter.
llvm-svn: 227144
|
|
|
|
|
|
|
|
|
|
|
| |
This is especially useful for the UTF8 -> UTF16 direction, since
there is no equivalent of llvm::SmallString<> for wide characters.
This means that anyone who wants a null terminated string is forced
to manually push and pop their own null terminator.
Reviewed by: Reid Kleckner.
llvm-svn: 227143
|
|
|
|
| |
llvm-svn: 227142
|
|
|
|
|
|
|
|
| |
Patch to allow (v)pclmulqdq to be commuted - swaps the src registers and inverts the immediate (low/high) src mask.
Differential Revision: http://reviews.llvm.org/D7180
llvm-svn: 227141
|
|
|
|
|
|
| |
Need a new API for clang-modernize that allows specifying a list of option categories to remain visible. This will allow clang-modernize to move off getRegisteredOptions.
llvm-svn: 227140
|
|
|
|
| |
llvm-svn: 227139
|
|
|
|
| |
llvm-svn: 227138
|
|
|
|
|
|
|
| |
Fix broken check lines, use multiple check prefixes,
add an additional test for i1 or.
llvm-svn: 227137
|
|
|
|
| |
llvm-svn: 227136
|
|
|
|
|
|
|
|
|
|
| |
The backend won't run LowerExpect on -O0. In a debug LTO build, this results in llvm.expect intrinsics being in the LTO IR which doesn't know how to optimize them.
Thanks to Chandler for the suggestion and review.
Differential revision: http://reviews.llvm.org/D7183
llvm-svn: 227135
|
|
|
|
|
|
|
|
|
| |
* Removed cyclic dependency between lldPECOFF and lldDriver
* Added missing dependencies in unit tests
Differential Revision: http://reviews.llvm.org/D7185
llvm-svn: 227134
|
|
|
|
|
|
| |
commit r227113 moved DataLayout
llvm-svn: 227133
|
|
|
|
|
|
|
|
|
|
| |
Time to link lld using lld improved from 5.7s to 5.4s on Windows.
It's not a significant improvement but not bad for one-line change.
This patch includes a bug fix for Parallel.h as the original code
uses operator< instead of a compare function there.
llvm-svn: 227132
|
|
|
|
|
|
| |
References PR#17980
llvm-svn: 227131
|
|
|
|
|
|
|
|
|
| |
- Rename mmx-builtins to mmx-intrinsics to match other intrinsic test naming.
- Remove tests that duplicate functionality from mmx-intrinsics.ll.
- Move arith related tests to mmx-arith.ll.
- MMX related shuffle goes to vector-shuffle-mmx.ll.
llvm-svn: 227130
|
|
|
|
|
|
|
| |
Use getAsArrayTypeUnsafe() instead of getUnqualifiedDesugaredType() to
get the underlying ArrayType.
llvm-svn: 227129
|
|
|
|
|
|
|
|
| |
We appear to use 3.5.0 in the directory structure now. That's probably
unnecessary. We should probably let the micro releases update the docs
for the same minor version.
llvm-svn: 227127
|