- Jan 27, 2015
-
-
Eric Christopher authored
llvm-svn: 227159
-
Eric Christopher authored
llvm-svn: 227158
-
Eric Christopher authored
code. llvm-svn: 227157
-
Eric Christopher authored
a subtarget. llvm-svn: 227156
-
Eric Christopher authored
llvm-svn: 227155
-
Chris Bieneman authored
llvm-svn: 227154
-
Greg Clayton authored
Fix the test to disassemble as if at address zero, not at an invalid 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
-
Adrian Prantl authored
llvm-svn: 227152
-
Chad Rosier authored
Phabricator revision: http://reviews.llvm.org/D7121 Patch by Sanjin Sijaric <ssijaric@codeaurora.org>! llvm-svn: 227149
-
Chris Bieneman authored
Pete Cooper suggested the new API should use ArrayRef instead of SmallVectorImpl. Also adding a test case. llvm-svn: 227148
-
Rui Ueyama authored
llvm-svn: 227147
-
Philip Reames authored
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
-
Simon Pilgrim authored
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
-
Rui Ueyama authored
GNU LD accepts both. CMake seems to use the former than the latter. llvm-svn: 227144
-
Zachary Turner authored
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
-
Eric Fiselier authored
llvm-svn: 227142
-
Simon Pilgrim authored
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
-
Chris Bieneman authored
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
-
Eric Fiselier authored
llvm-svn: 227139
-
Simon Pilgrim authored
llvm-svn: 227138
-
Matt Arsenault authored
Fix broken check lines, use multiple check prefixes, add an additional test for i1 or. llvm-svn: 227137
-
Simon Pilgrim authored
llvm-svn: 227136
-
Pete Cooper authored
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
-
Greg Fitzgerald authored
* Removed cyclic dependency between lldPECOFF and lldDriver * Added missing dependencies in unit tests Differential Revision: http://reviews.llvm.org/D7185 llvm-svn: 227134
-
Alexei Starovoitov authored
commit r227113 moved DataLayout llvm-svn: 227133
-
Rui Ueyama authored
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
-
Marshall Clow authored
llvm-svn: 227131
-
Bruno Cardoso Lopes authored
- 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
-
Ben Langmuir authored
Use getAsArrayTypeUnsafe() instead of getUnqualifiedDesugaredType() to get the underlying ArrayType. llvm-svn: 227129
-
Reid Kleckner authored
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
-
Hans Wennborg authored
The range check would get optimized away later, but we might as well not emit them in the first place. http://reviews.llvm.org/D6471 llvm-svn: 227126
-
Hans Wennborg authored
An unreachable default destination can be exploited by other optimizations and allows for more efficient lowering. Both the SDag switch lowering and LowerSwitch can exploit unreachable defaults. Also make TurnSwitchRangeICmp handle switches with unreachable default. This is kind of separate change, but it cannot be tested without the change above, and I don't want to land the change above without this since that would regress other tests. Differential Revision: http://reviews.llvm.org/D6471 llvm-svn: 227125
-
Hans Wennborg authored
Tested by Transforms/SimplifyCFG/switch-to-br.ll's @unreachable function. Differential Revision: http://reviews.llvm.org/D6471 llvm-svn: 227124
-
Justin Holewinski authored
Instead of creating a pattern like "(p && a) || ((!p) && b)", just expand the i8 operands to i32 and perform the selp on them. Fixes PR22246 llvm-svn: 227123
-
Reid Kleckner authored
This can also be used instead of the WindowsSupport.h ConvertUTF8ToUTF16 helpers, but that will require massaging some character types. The Windows support routines want wchar_t output, but wchar_t is often 32 bits on non-Windows OSs. llvm-svn: 227122
-
Eric Christopher authored
llvm-svn: 227121
-
Enrico Granata authored
Add an overload of SetValueFromCString() to ValueObjectSynthetic that is just a passthrough to the parent object Without this overload, attempts to edit the value of a variable with synthetic children enabled would change the value inside the synthetic ValueObject, but not propagate the changes to the underlying storage, hence resulting in no write for any meaningful purpose Comes with a test case, and fixes rdar://19586311 llvm-svn: 227120
-
Ahmed Bougacha authored
llvm-svn: 227119
-
Eric Christopher authored
Essentially DataLayout is global and affects the layout of ABI level objects. Preferred alignment could change on a per function basis as we change CPU features. llvm-svn: 227118
-
Justin Holewinski authored
Fixes PR22322 llvm-svn: 227117
-