Sylvestre Ledru
e293b1a8d8
Revert "Using an invalid -O falls back on -O3 instead of an error"
...
This reverts commit r194403.
Was breaking too many tests...
llvm-svn: 194420
2013-11-11 20:51:44 +00:00
Sylvestre Ledru
cc645758c7
Revert "Remove -### from the -O20 test, it was failing the test (?)"
...
This reverts commit r194414.
Was breaking too many tests...
llvm-svn: 194419
2013-11-11 20:46:40 +00:00
Bob Wilson
ed1b2e5d98
Change libLTO back to linking with @executable_path instead of @rpath.
...
This partially reverts r187641 until ld64 adopts a change to link with an
rpath setting.
llvm-svn: 194418
2013-11-11 20:08:24 +00:00
Arnaud A. de Grandmaison
f5f040fa1e
CalcSpillWeights: allow overidding the spill weight normalizing function
...
This will enable the PBQP register allocator to provide its own normalizing function.
No functionnal change.
llvm-svn: 194417
2013-11-11 19:56:14 +00:00
Artyom Skrobov
eff45103b3
[ARM] Add support for MVFR2 which is new in ARMv8
...
llvm-svn: 194416
2013-11-11 19:56:13 +00:00
Andrew Kaylor
cfb4a996d0
Fixing a problem with iterator validity in RuntimeDyldImpl::resolveExternalSymbols
...
llvm-svn: 194415
2013-11-11 19:55:10 +00:00
Sylvestre Ledru
313e730eef
Remove -### from the -O20 test, it was failing the test (?)
...
llvm-svn: 194414
2013-11-11 19:54:40 +00:00
Ed Maste
d23dcbfb53
Increase log detail for size mismatch in EntityVariable::Materialize
...
llvm-svn: 194413
2013-11-11 19:40:51 +00:00
Sylvestre Ledru
e19d5094ee
Improve the documentation (bis) with Arthur and Chandler's comments
...
llvm-svn: 194412
2013-11-11 19:39:37 +00:00
Rafael Espindola
b15683e635
Fix pr17875.
...
The assert this patch deletes was valid only when aliasing D2 to D1, not when
looking at a base class. Since the assert was in the path where we had already
decided to not produce an alias, just drop it.
llvm-svn: 194411
2013-11-11 19:35:06 +00:00
Justin Holewinski
124e93de93
[NVPTX] Properly handle bitcast ConstantExpr when checking for the alignment of function parameters
...
llvm-svn: 194410
2013-11-11 19:28:19 +00:00
Justin Holewinski
4f5bc9b33a
[NVPTX] Fix logic error in loading vector parameters of more than 4 components
...
llvm-svn: 194409
2013-11-11 19:28:16 +00:00
Tim Northover
e77f78cbad
Darwin(ish): we don't want __ARM_EABI__ even on v7a embedded targets.
...
llvm-svn: 194408
2013-11-11 19:11:22 +00:00
Chad Rosier
09f5251c4d
[AArch64] The shift right/left and insert immediate builtins expect 3
...
source operands, a vector, an element to insert, and a shift amount.
llvm-svn: 194407
2013-11-11 19:11:19 +00:00
Chad Rosier
d3684a0566
[AArch64] The shift right/left and insert immediate builtins expect 3
...
source operands, a vector, an element to insert, and a shift amount.
llvm-svn: 194406
2013-11-11 19:11:11 +00:00
Sylvestre Ledru
fac93753b5
Improve the documentation of the optimization flags
...
Reviewers: rafael.espindola, rengolin, hfinkel
Reviewed By: rengolin
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D2138
llvm-svn: 194405
2013-11-11 19:04:47 +00:00
Arnaud A. de Grandmaison
ea3ac1612c
CalcSpillWeights: give a better describing name to calculateSpillWeights
...
Besides, this relates it more obviously to the VirtRegAuxInfo::calculateSpillWeightAndHint.
No functionnal change.
llvm-svn: 194404
2013-11-11 19:04:45 +00:00
Sylvestre Ledru
26386be183
Using an invalid -O falls back on -O3 instead of an error
...
Summary:
Currently with clang:
$ clang -O20 foo.c
error: invalid value '20' in '-O20'
With the patch:
$ clang -O20 foo.c
warning: invalid value '20' in '-O20'. Fall back on value '3'
Reviewers: rengolin, hfinkel
Reviewed By: rengolin
CC: cfe-commits, hfinkel, rengolin
Differential Revision: http://llvm-reviews.chandlerc.com/D2125
llvm-svn: 194403
2013-11-11 19:01:05 +00:00
Fariborz Jahanian
b89e172ab6
ObjectiveC migrator. More testing of instancetype migration in
...
method implementations. // rdar://15438505
llvm-svn: 194402
2013-11-11 18:54:23 +00:00
Eric Christopher
aeb105f9fe
Unify the adding of enumerators with the construction of the enumeration.
...
llvm-svn: 194401
2013-11-11 18:52:39 +00:00
Eric Christopher
98b7f17c72
Formatting.
...
llvm-svn: 194400
2013-11-11 18:52:36 +00:00
Eric Christopher
e6c6c4d36b
80-col.
...
llvm-svn: 194399
2013-11-11 18:52:33 +00:00
Eric Christopher
df9955dd89
Just pass the DIComposite type by value instead of by pointer.
...
llvm-svn: 194398
2013-11-11 18:52:31 +00:00
Ed Maste
eefd43f331
Fix header comment line length
...
llvm-svn: 194397
2013-11-11 18:30:28 +00:00
Roman Divacky
612c916f0d
Add test for r194350.
...
llvm-svn: 194396
2013-11-11 18:24:28 +00:00
Chad Rosier
249c714bb4
[AArch64] Add support for NEON scalar floating-point convert to fixed-point instructions.
...
llvm-svn: 194395
2013-11-11 18:04:22 +00:00
Chad Rosier
35575e737c
[AArch64] Add support for NEON scalar floating-point convert to fixed-point instructions.
...
llvm-svn: 194394
2013-11-11 18:04:07 +00:00
Daniel Sanders
a1840d2f88
Vector forms of SHL, SRA, and SRL can be constant folded using SimplifyVBinOp too
...
Reviewers: dsanders
Reviewed By: dsanders
CC: llvm-commits, nadav
Differential Revision: http://llvm-reviews.chandlerc.com/D1958
llvm-svn: 194393
2013-11-11 17:23:41 +00:00
Ed Maste
2138d18a08
Add generic ARGn register IDs for FreeBSD and Linux x86
...
These were previously missing in g_register_infos_x86_64 and so arg
lookup failed on FreeBSD and Linux after r194035.
llvm-svn: 194392
2013-11-11 17:02:33 +00:00
Matheus Almeida
c051a40506
[mips][msa] CHECK-DAG-ize MSA 3r-a.ll test.
...
No functional changes.
llvm-svn: 194391
2013-11-11 16:46:20 +00:00
Matheus Almeida
ce207fa078
[mips][msa] CHECK-DAG-ize MSA 2rf_int_float.ll test.
...
No functional changes.
llvm-svn: 194390
2013-11-11 16:38:55 +00:00
Matheus Almeida
fed22ad33b
[mips][msa] CHECK-DAG-ize MSA 2rf_float_int.ll test.
...
No functional changes.
llvm-svn: 194389
2013-11-11 16:31:46 +00:00
Renato Golin
3f67a7de36
Move debug message in vectorizer
...
No functional change, just better reporting.
llvm-svn: 194388
2013-11-11 16:27:35 +00:00
Matheus Almeida
c596839e67
[mips][msa] CHECK-DAG-ize MSA 2rf.ll test.
...
No functional changes.
llvm-svn: 194387
2013-11-11 16:24:53 +00:00
Matheus Almeida
9826d07a2f
[mips][msa] CHECK-DAG-ize MSA 2r.ll test.
...
No functional changes.
llvm-svn: 194386
2013-11-11 16:16:53 +00:00
Rafael Espindola
9d34018954
Add a testcase for pr17852.
...
llvm-svn: 194385
2013-11-11 15:37:52 +00:00
Hal Finkel
c6a243987d
Add PPC option for full register names in asm
...
On non-Darwin PPC systems, we currently strip off the register name prefix
prior to instruction printing. So instead of something like this:
mr r3, r4
we print this:
mr 3, 4
The first form is the default on Darwin, and is understood by binutils, but not
yet understood by our integrated assembler. Once our integrated-as understands
full register names as well, this temporary option will be replaced by tying
this functionality to the verbose-asm option. The numeric-only form is
compatible with legacy assemblers and tools, and is also gcc's default on most
PPC systems. On the other hand, it is harder to read, and there are some
analysis tools that expect full register names.
llvm-svn: 194384
2013-11-11 14:58:40 +00:00
Benjamin Kramer
ae6bccea9e
Simplify code. No functionality change.
...
llvm-svn: 194383
2013-11-11 14:54:34 +00:00
Peter Zotov
18636a8777
[OCaml] Add missing Llvm_target functions
...
llvm-svn: 194382
2013-11-11 14:47:28 +00:00
Peter Zotov
dfa957746c
[OCaml] Accept context explicitly in Llvm_target functions
...
Llvm_target.intptr_type used to implicitly use global context. As
none of other functions in OCaml bindings do, it is changed to
accept context explicitly.
llvm-svn: 194381
2013-11-11 14:47:20 +00:00
Peter Zotov
d52cf17584
[OCaml] Make Llvm_target.DataLayout.t automatically managed
...
This breaks the API by removing Llvm_target.DataLayout.dispose.
llvm-svn: 194380
2013-11-11 14:47:11 +00:00
Peter Zotov
d2cf791ad8
[llvm-c] Remove dead typedef
...
llvm-svn: 194379
2013-11-11 14:47:01 +00:00
Sylvestre Ledru
def97f4f26
Update of the 'Code Review' page. The link is now called 'Create Diff' instead of 'Create Revision'
...
llvm-svn: 194378
2013-11-11 14:27:56 +00:00
Joerg Sonnenberger
0e921f2bd9
NetBSD 6.99.26 switched to default rounding mode, so adjust
...
__FLT_EVAL_METHOD__ accordingly. Add test case for this and the SSE2
variances on NetBSD.
llvm-svn: 194377
2013-11-11 14:00:37 +00:00
NAKAMURA Takumi
dee7160baf
[autoconf] Prune "runtime" stuff in configure, corresponding to r191835.
...
config.status: executing runtime/Makefile commands
autoconf/install-sh: runtime/Makefile does not exist.
llvm-svn: 194376
2013-11-11 13:53:52 +00:00
Evgeniy Stepanov
5a29068b97
[msan] One more test for r194374.
...
llvm-svn: 194375
2013-11-11 13:38:24 +00:00
Evgeniy Stepanov
560e089355
[msan] Propagate origin for insertvalue, extractvalue.
...
llvm-svn: 194374
2013-11-11 13:37:10 +00:00
Justin Holewinski
eeb109a4ef
[NVPTX] Blacklist TailDuplicate pass
...
This causes issues with virtual registers. We will likely need
to fix TailDuplicate in the future, or introduce a new version
that plays nicely with vregs.
llvm-svn: 194373
2013-11-11 12:58:14 +00:00
Evgeniy Stepanov
b69699eb58
[sanitizer] Warn if interception fails.
...
This includes a clang-format pass over common interceptors.
llvm-svn: 194372
2013-11-11 11:28:30 +00:00
Jason Molenda
fa421639de
Change lldb to build without the -fobjc-gc arg.
...
llvm-svn: 194371
2013-11-11 10:36:54 +00:00