Benjamin Kramer
fcb7166404
Don't expose symbols of lle_ functions.
...
+ formatting fixes.
llvm-svn: 190523
2013-09-11 12:42:39 +00:00
Daniel Sanders
7fab912257
[mips][msa] Added test cases that were supposed to be part of r190507, r190509, r190512, and r190518.
...
llvm-svn: 190522
2013-09-11 12:39:25 +00:00
Evgeniy Stepanov
a98799fe4b
Fix 2 cases of uninitialized reads of an invalid PresumedLoc.
...
The code in CGExpr was added back in 2012 (r165536) but not exercised in tests
until recently.
Detected on the MemorySanitizer bootstrap bot.
llvm-svn: 190521
2013-09-11 12:33:58 +00:00
Daniel Jasper
2b3f143f23
Add empty virtual destructor...
...
... as this otherwise triggers -Wnon-virtual-dtor.
llvm-svn: 190520
2013-09-11 12:28:15 +00:00
Alexander Kornienko
9e649af004
Support for CR LF newlines.
...
Summary:
reformat() tries to determine the newline style used in the input
(either LF or CR LF), and uses it for the output. Maybe not every single case is
supported, but at least the bug described in http://llvm.org/PR17182 should be
resolved.
Reviewers: djasper
Reviewed By: djasper
CC: cfe-commits, klimek
Differential Revision: http://llvm-reviews.chandlerc.com/D1643
llvm-svn: 190519
2013-09-11 12:25:57 +00:00
Daniel Sanders
fbcb582942
[mips][msa] Added support for matching mulv, nlzc, sll, sra, srl, and subv from normal IR (i.e. not intrinsics)
...
llvm-svn: 190518
2013-09-11 11:58:30 +00:00
NAKAMURA Takumi
4814eaa9ba
clang-tools-extra/test/clang-modernize/HeaderReplacements/main.cpp: Tweak sed(1) to let paths with a driveletter quoted in *_expected.yaml.
...
llvm-svn: 190517
2013-09-11 11:55:59 +00:00
Timur Iskhodzhanov
3b6adcb63a
Fix the ASan dll_thunk path
...
llvm-svn: 190516
2013-09-11 11:45:31 +00:00
Benjamin Kramer
2d4d8cb329
Simplify code with the in place path::native. No functionality change.
...
llvm-svn: 190515
2013-09-11 11:23:15 +00:00
Benjamin Kramer
d77143f89a
llvm-tblgen: Stabilize subreg index tables.
...
Otherwise SequenceToOffsetTable will sort by pointer and becomes non-deterministic.
llvm-svn: 190514
2013-09-11 11:22:26 +00:00
Alexey Samsonov
4a2447fd81
[TSan] Use --whole-archive around TSan runtime in old TSan makefiles. Fix a Go build
...
llvm-svn: 190513
2013-09-11 11:06:06 +00:00
Daniel Sanders
f5bd937bc4
[mips][msa] Added support for matching fadd, fdiv, flog2, fmul, frint, fsqrt, and fsub from normal IR (i.e. not intrinsics)
...
llvm-svn: 190512
2013-09-11 10:51:30 +00:00
Benjamin Kramer
3353a10339
Modularize: Use in-place version of sys::path::native.
...
llvm-svn: 190511
2013-09-11 10:45:25 +00:00
Benjamin Kramer
bd4ac9bc6d
Path: Add an in-place version of path::native.
...
This reflects the common use case of nativizing a prepared path. The existing
version invokes undefined behavior if input = output, add an assert to catch
that case.
llvm-svn: 190510
2013-09-11 10:45:21 +00:00
Daniel Sanders
607952bdad
[mips][msa] Added support for matching div_[su] from normal IR (i.e. not intrinsics)
...
llvm-svn: 190509
2013-09-11 10:38:58 +00:00
Daniel Jasper
c531daefd9
Split -Wunused-variable warning.
...
With r190382, -Wunused-variable warns about unused const variables when
appropriate. For codebases that use -Werror, this poses a problem as
existing unused const variables need to be cleaned up first. To make the
transistion easier, this patch splits -Wunused-variable by pulling out
an additional -Wunused-const-variable (by default activated along with
-Wunused-variable).
llvm-svn: 190508
2013-09-11 10:37:35 +00:00
Daniel Sanders
fa5ab1c856
[mips][msa] Added support for matching addv from normal IR (i.e. not intrinsics)
...
The corresponding intrinsic is now lowered into equivalent IR (ISD::ADD) before instruction selection.
llvm-svn: 190507
2013-09-11 10:28:16 +00:00
Daniel Sanders
c65f58a9c7
[mips][msa] Separate the configuration of int/float vector types since they will diverge soon
...
No functional change
llvm-svn: 190506
2013-09-11 10:15:48 +00:00
Daniel Sanders
cb2929c239
[mips][msa] Corrected the definition of the dotp_[su].[hwd] intrinsics
...
The elements of the operands should be half the width of the elements of
the result.
llvm-svn: 190505
2013-09-11 09:59:17 +00:00
Alexey Samsonov
279283c064
[Sanitizer] build sanitizer_common library with -Wglobal-constructors
...
llvm-svn: 190504
2013-09-11 09:57:15 +00:00
Alexey Samsonov
e99a0b9b76
[TSan] Use Clang to compile and link TSan unit tests with TSan runtime
...
llvm-svn: 190503
2013-09-11 09:56:33 +00:00
NAKAMURA Takumi
7230246d14
config-ix.cmake: Tweak stray endif(...) to suppress a warning in CMake.
...
llvm-svn: 190502
2013-09-11 09:42:03 +00:00
NAKAMURA Takumi
0d142fdb17
SemaTemplateDeduction.cpp: Prune two stray \param(s), TPOC and NumCallArguments in Sema::getMostSpecialized(). They were removed since r190444. [-Wdocumentation]
...
llvm-svn: 190501
2013-09-11 09:41:51 +00:00
Benjamin Kramer
994272bf4a
Remove unused diagnostics.
...
llvm-svn: 190500
2013-09-11 09:35:04 +00:00
Bill Wendling
62a2d14ac5
Simplify the checking of function attributes by using the simple methods.
...
llvm-svn: 190499
2013-09-11 08:35:09 +00:00
Matt Arsenault
d3471e9ea8
Use type form of getIntPtrType
...
This doesn't change anything since malloc always returns
address space 0.
llvm-svn: 190498
2013-09-11 07:29:40 +00:00
Daniel Jasper
97292843d0
Support for modular module-map-files
...
This patch is the first step to make module-map-files modular (instead
of requiring a single "module.map"-file per include directory). This
step adds a new "extern module" declaration that enables
module-map-files to reference one another along with a very basic
implementation.
The next steps are:
* Combine this with the use-declaration (from
http://llvm-reviews.chandlerc.com/D1546 ) in order to only load module
map files required for a specific compilation.
* Add an additional flag to start with a specific module-map-file (instead
of requiring there to be at least one "module.map").
Review: http://llvm-reviews.chandlerc.com/D1637
llvm-svn: 190497
2013-09-11 07:20:44 +00:00
Craig Topper
c0070a4320
Fix a bug where -msse followed by -mno-sse would leave MMX enabled.
...
llvm-svn: 190496
2013-09-11 06:48:53 +00:00
Rui Ueyama
0ad114c446
Fix typo
...
llvm-svn: 190492
2013-09-11 05:22:01 +00:00
Matt Arsenault
009faed1be
Teach loop-idiom about address space pointer sizes
...
llvm-svn: 190491
2013-09-11 05:09:42 +00:00
Matt Arsenault
5df49bd703
Add braces
...
llvm-svn: 190490
2013-09-11 05:09:35 +00:00
Rui Ueyama
9b866c2312
Fix YAML tests again.
...
llvm-svn: 190489
2013-09-11 04:51:09 +00:00
David Majnemer
5a1b2045dc
[-cxx-abi microsoft] Canonicalize array parameters better
...
Summary:
More accurately characterize the nature of array parameters. Doing this
removes false back-reference opportunities. Remove some hacks now that
we characterize these better.
Reviewers: rnk, timurrrr, whunt, cdavis5x
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1626
llvm-svn: 190488
2013-09-11 04:44:30 +00:00
Rui Ueyama
a53cbc5821
Fix YAML tests.
...
llvm-svn: 190487
2013-09-11 04:40:12 +00:00
Rui Ueyama
2ceba7938d
Do not quote YAML plain string myself. Let YAMLIO do that.
...
llvm-svn: 190486
2013-09-11 04:00:35 +00:00
Rui Ueyama
106ededc4e
Re-submit r190469: YAMLIO: Fix string quoting logic.
...
llvm-svn: 190485
2013-09-11 04:00:08 +00:00
Eli Friedman
aa76981400
volatile types are not trivially copyable.
...
PR17123.
llvm-svn: 190484
2013-09-11 03:49:34 +00:00
Eli Friedman
de432143bd
Fix test.
...
llvm-svn: 190483
2013-09-11 03:49:30 +00:00
Eli Friedman
9ea1e16747
Fix is_trivially_constructible preconditions.
...
Fixes a crash in cases where the first argument was an incomplete type
or an uninstantiated template type.
<rdar://problem/14938471>
llvm-svn: 190482
2013-09-11 02:53:02 +00:00
Nick Lewycky
8b4e379de3
Disable the bool and enum sanitizers when emitting the implicitly-defined copy
...
constructor, copy assignment operator and move assignment operator.
llvm-svn: 190481
2013-09-11 02:03:20 +00:00
Hans Wennborg
33ae7cea9f
Revert "YAMLIO: Fix string quoting logic." (r190469)
...
It was turning the buildbots red.
llvm-svn: 190480
2013-09-11 01:59:32 +00:00
Marshall Clow
46c9950f48
Adding bad_array_length to libc++abi
...
llvm-svn: 190479
2013-09-11 01:42:02 +00:00
Marshall Clow
6e8ebb2ce9
Adding bad_array_length to libc++
...
llvm-svn: 190478
2013-09-11 01:38:42 +00:00
Michael Gottesman
3369612808
[python-bindings] Added support for getting/setting operands of values and getting the number of operands of a value.
...
Also in the process did some cleanups for BasicBlock.
llvm-svn: 190477
2013-09-11 01:38:12 +00:00
Aaron Ballman
c12aaff2cb
The cleanup attribute no longer uses an unresolved, simple identifier as its argument. Instead, it takes an expression that is fully resolved.
...
llvm-svn: 190476
2013-09-11 01:37:41 +00:00
Michael Gottesman
cffd45b2e1
[python-bindings] Added support for iterating over a basic blocks instructions, getting their name/dumping them, f/b iteration.
...
Tests are included.
llvm-svn: 190475
2013-09-11 01:17:38 +00:00
Marshall Clow
fbc317d480
LWG Issue #2210 Part 5 - map/multimap; no, really - the last one was set/multiset. THIS is map/multimap
...
llvm-svn: 190474
2013-09-11 01:15:47 +00:00
Michael Gottesman
6cf2e86139
[python-bindings] Added support for iterating over a function's basic blocks, dumping/getting names of those bb, f/w iteration.
...
Tests are included.
llvm-svn: 190473
2013-09-11 01:01:40 +00:00
Rui Ueyama
38dfffa891
Remove trailing whitespace
...
llvm-svn: 190472
2013-09-11 00:53:07 +00:00
Michael Gottesman
e0cbb294cb
[python-bindings] Added support for getting a module's functions, iterating f/b over said functions, dumping/print name of functions.
...
Tests are included as well.
llvm-svn: 190471
2013-09-11 00:52:47 +00:00