| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
variable
llvm-svn: 188350
|
| |
|
|
|
|
|
|
| |
instead of "%t" on sed(1) to avoid \'s expanded to control chars.
The feature, "%/t", has been introduced in llvm/lit since r188348.
llvm-svn: 188349
|
| |
|
|
|
|
| |
substitutions.
llvm-svn: 188348
|
| |
|
|
|
|
| |
FileCheck instead of grep(1).
llvm-svn: 188347
|
| |
|
|
|
|
| |
Differential Revision: http://llvm-reviews.chandlerc.com/D1394
llvm-svn: 188346
|
| |
|
|
|
|
| |
this on win32, for now. Investigating.
llvm-svn: 188345
|
| |
|
|
| |
llvm-svn: 188344
|
| |
|
|
|
|
| |
definitions.
llvm-svn: 188343
|
| |
|
|
| |
llvm-svn: 188342
|
| |
|
|
| |
llvm-svn: 188341
|
| |
|
|
| |
llvm-svn: 188340
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the pointer size if datalayout is available.
Use i64 if it's not, which is consistent with what other
places do when the pointer size is unknown.
The test doesn't really test this in a useful way
since it will be transformed to that later anyway,
but this now tests it for non-zero arrays and when
datalayout isn't available. The cases in
visitGetElementPtrInst should save an extra re-visit to
the newly created GEP since it won't need to cleanup after
itself.
llvm-svn: 188339
|
| |
|
|
| |
llvm-svn: 188338
|
| |
|
|
| |
llvm-svn: 188337
|
| |
|
|
| |
llvm-svn: 188336
|
| |
|
|
|
|
| |
// rdar://14303083
llvm-svn: 188335
|
| |
|
|
|
|
| |
the address of an overloaded function template.
llvm-svn: 188334
|
| |
|
|
| |
llvm-svn: 188333
|
| |
|
|
|
|
|
| |
expresison is a concatenated nsstring element.
// rdar://14303083
llvm-svn: 188332
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This adds support for the /link option, which forwards
subsequent arguments to the linker.
The test for this will only work when targetting win32.
Since that's the only target where clang-cl makes sense,
use that target by default.
Differential Revision: http://llvm-reviews.chandlerc.com/D1388
llvm-svn: 188331
|
| |
|
|
|
|
|
| |
It doesn't make any sense to accept "..." in the argument to a C-style cast,
so use a separate expression list parsing routine which rejects it. PR16874.
llvm-svn: 188330
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When computing the use set of a store, we need to add the store to the write
set prior to iterating over later instructions. Otherwise, if there is a later
aliasing load of that store, that load will not be tagged as a use, and bad
things will happen.
trackUsesOfI still adds later dependent stores of an instruction to that
instruction's write set, but it never sees the original instruction, and so
when tracking uses of a store, the store must be added to the write set by the
caller.
Fixes PR16834.
llvm-svn: 188329
|
| |
|
|
| |
llvm-svn: 188328
|
| |
|
|
|
|
|
|
|
|
|
|
| |
However, opt -O2 doesn't run mem2reg directly so nobody noticed until r188146
when SROA started sending more things directly down the PromoteMemToReg path.
In order to revert r187191, I also revert dependent revisions r187296, r187322
and r188146. Fixes PR16867. Does not add the testcases from that PR, but both
of them should get added for both mem2reg and sroa when this revert gets
unreverted.
llvm-svn: 188327
|
| |
|
|
|
|
|
|
|
| |
Added v8f16 to ValueTypes.h, ValueTypes.cpp, ValueTypes.td,
and CodeGenTarget.cpp
Patch by Daniel Sanders
llvm-svn: 188326
|
| |
|
|
| |
llvm-svn: 188325
|
| |
|
|
|
|
| |
PR16872.
llvm-svn: 188324
|
| |
|
|
|
|
|
|
|
|
|
| |
Clients of the option parsing library should handle it explicitly
using a KIND_REMAINING_ARGS option.
Clang and lld have been updated in r188316 and r188318, respectively.
Also fix -Wsign-compare warning in the option parsing test.
llvm-svn: 188323
|
| |
|
|
| |
llvm-svn: 188322
|
| |
|
|
| |
llvm-svn: 188321
|
| |
|
|
| |
llvm-svn: 188320
|
| |
|
|
|
|
| |
Differential Revision: http://llvm-reviews.chandlerc.com/D1349
llvm-svn: 188319
|
| |
|
|
|
|
|
|
|
| |
This used to be handled automagically by the option parsing library,
but after LLVM r188314, we should handle it ourselves.
No functionality change, but adds a test.
llvm-svn: 188318
|
| |
|
|
|
|
| |
Improve the documentation for the new target.memory-module-load-level setting, and also return an error when there is no nlist data when appropriate.
llvm-svn: 188317
|
| |
|
|
|
|
|
|
|
|
| |
Anything that comes after -- is treated as an input file. This
used to be handled automagically by the option parsing library,
but after LLVM r188314, we should handle it ourselves.
No functionality change.
llvm-svn: 188316
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A common idiom is to use zero and all-ones as sentinal values and to
check for both in a single conditional ("x != 0 && x != (unsigned)-1").
That generates code, for i32, like:
testl %edi, %edi
setne %al
cmpl $-1, %edi
setne %cl
andb %al, %cl
With this transform, we generate the simpler:
incl %edi
cmpl $1, %edi
seta %al
Similar improvements for other integer sizes and on other platforms. In
general, combining the two setcc instructions into one is better.
rdar://14689217
llvm-svn: 188315
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds KIND_REMAINING_ARGS, a class of options that consume
all remaining arguments on the command line.
This will be used to support /link in clang-cl, which is used
to forward all remaining arguments to the linker.
It also allows us to remove the hard-coded handling of "--",
allowing clients (clang and lld) to implement that functionality
themselves with this new option class.
Differential Revision: http://llvm-reviews.chandlerc.com/D1387
llvm-svn: 188314
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* msa SubtargetFeature
* registers
* ld.[bhwd], and st.[bhwd] instructions
Does not correctly prohibit use of both 32-bit FPU registers and MSA together.
Patch by Daniel Sanders
llvm-svn: 188313
|
| |
|
|
|
|
|
|
| |
This includes instructions lwl, lwr, swl and swr.
Patch by Zoran Jovnovic
llvm-svn: 188312
|
| |
|
|
| |
llvm-svn: 188309
|
| |
|
|
| |
llvm-svn: 188308
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
When a local extern declaration redeclares some other entity, the type of that
entity is merged with the prior type if the prior declaration is visible (in C)
or is declared in the same scope (in C++).
- Make LookupRedeclarationWithLinkage actually work in C++, use it in the right
set of cases, and make it track whether it found a shadowed declaration.
- Track whether we found a declaration in the same scope (for C++) including
across serialization and template instantiation.
llvm-svn: 188307
|
| |
|
|
| |
llvm-svn: 188306
|
| |
|
|
|
|
| |
way of making LLVM not rely on terminfo.
llvm-svn: 188305
|
| |
|
|
|
|
| |
Improved test to catch missing case.
llvm-svn: 188304
|
| |
|
|
|
|
| |
of harmless changes.
llvm-svn: 188303
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libcall instead of just the call. This allows us to specify libcalls that return void.
LowerCallTo returns a pair with the return value of the call as the first
element and the chain associated with the return value as the second element. If
we lower a call that has a void return value, LowerCallTo returns an SDValue
with a NULL SDNode and the chain for the call. Thus makeLibCall by just
returning the first value makes it impossible for you to set up the chain so
that the call is not eliminated as dead code.
I also updated all references to makeLibCall to reflect the new return type.
llvm-svn: 188300
|
| |
|
|
|
|
|
|
|
|
| |
Reworked how the tests dealt with paths. Instead of removing the full path name,
put a marker in the expected file and replace the marker with the full path
before running diff.
Differential Revision: http://llvm-reviews.chandlerc.com/D1381
llvm-svn: 188299
|
| |
|
|
|
|
| |
DW_FORM_data4 as it is a section offset (fixes the coff/dwarf debug info statement locations)
llvm-svn: 188297
|
| |
|
|
|
|
| |
relative item only when it's one of dw_from strp, sec_offset, ref_addr or op_call_ref instead of going by size.
llvm-svn: 188296
|