Rafael Espindola
89992b0d6b
Fix DataLayout::operator==().
...
Patch by Maks Naumov!
llvm-svn: 206911
2014-04-22 17:47:03 +00:00
Fariborz Jahanian
953d18a988
Objective-C ARC. Under ARC, addition of 'bridge' attribute
...
on CF type is not sufficient and bridge casting is
still required for proper ownership semantics.
// rdar://16650445
llvm-svn: 206910
2014-04-22 17:42:01 +00:00
Ben Langmuir
749323fadb
Attempt to fix null ASTContext in ASTUnit error path
...
We don't need the ASTContext for the diagnostics, only the language
options, which we can get from the compiler invocation. It worries me
how many categorically different states the ASTUnit class can be in
depending on how it is being constructed/used.
llvm-svn: 206909
2014-04-22 17:40:12 +00:00
Timur Iskhodzhanov
6b12850d27
Fix PR19487, PR19505 and PR19506 -- redundant vtordisp thunks when the final overrider is present in both a vbase and nvbase
...
Reviewed at http://reviews.llvm.org/D3449
llvm-svn: 206908
2014-04-22 17:32:02 +00:00
DeLesley Hutchins
f1a311653a
Thread safety analysis: add array operations to SExpr.
...
llvm-svn: 206907
2014-04-22 17:31:23 +00:00
Kevin Enderby
96918bc406
Fix the assembler to print a better relocatable expression error
...
diagnostic that includes location information.
Currently if one has this assembly:
.quad (0x1234 + (4 * SOME_VALUE))
where SOME_VALUE is undefined ones gets the less than
useful error message with no location information:
% clang -c x.s
clang -cc1as: fatal error: error in backend: expected relocatable expression
With this fix one now gets a more useful error message
with location information:
% clang -c x.s
x.s:5:8: error: expected relocatable expression
.quad (0x1234 + (4 * SOME_VALUE))
^
To do this I plumbed the SMLoc through the MCObjectStreamer
EmitValue() and EmitValueImpl() interfaces so it could be used
when creating the MCFixup.
rdar://12391022
llvm-svn: 206906
2014-04-22 17:27:29 +00:00
David Blaikie
5f1a001071
Simplify address pool index assignment.
...
llvm-svn: 206905
2014-04-22 17:21:40 +00:00
Matt Arsenault
16353871c3
R600: Emit error instead of unreachable on function call
...
llvm-svn: 206904
2014-04-22 16:42:00 +00:00
Tobias Grosser
34c8787200
Fix formatting
...
llvm-svn: 206903
2014-04-22 16:39:41 +00:00
Tom Stellard
8d6d449756
R600/SI: Reorganize SIInstructions.td
...
llvm-svn: 206902
2014-04-22 16:33:57 +00:00
Tobias Grosser
841009a2cc
We missed two files in the last commit.
...
Contributed-by: Johannes Doerfert <doerfert@cs.uni-saarland.de>
llvm-svn: 206901
2014-04-22 15:57:30 +00:00
Tobias Grosser
0d11dbabc4
Fixed missing cloog test with automake/configure build setup
...
Contributed-by: Johannes Doerfert <doerfert@cs.uni-saarland.de>
llvm-svn: 206900
2014-04-22 15:30:43 +00:00
DeLesley Hutchins
7834001496
Thread safety analysis: fix warning.
...
llvm-svn: 206899
2014-04-22 14:51:04 +00:00
Tobias Grosser
9818bc837a
IslCodeGeneration: Document the IslExprBuilder
...
llvm-svn: 206898
2014-04-22 14:26:51 +00:00
Elena Demikhovsky
acc5c9e83e
AVX-512: store and truncstore for i1 values
...
llvm-svn: 206897
2014-04-22 14:13:10 +00:00
Kostya Serebryany
c9db838267
[asan] enable LeakSanitizer (LSan) by default in asan. This only affects Linux x86_64. LSan has been used in various projects for more than half a year and we now consider it quite stable to be on by default.
...
llvm-svn: 206896
2014-04-22 13:56:56 +00:00
Ed Maste
ec4f47ed1c
Switch to Darwin decorator for tests that XPASS on FreeBSD
...
Since these tests pass on (at least some) other platforms, change the
decorators to @expectedFailureDwarwin. Tested on FreeBSD with Clang 3.4
and libc++.
rdar://9980907
rdar://15367233
llvm-svn: 206895
2014-04-22 13:42:05 +00:00
NAKAMURA Takumi
7a25ca63ba
Remove DOS CRLF.
...
llvm-svn: 206894
2014-04-22 13:35:50 +00:00
NAKAMURA Takumi
7c0cd63d0d
Try to fix warnings to escape '@' as '\@'. [-Wdocumentation-html]
...
clang/include/clang/Format/Format.h:185:8: error: HTML tag 'tt' requires an end tag [-Werror,-Wdocumentation-html]
/// <tt>@property (readonly)</tt> instead of <tt>@property(readonly)</tt>.
~^~~
llvm-svn: 206893
2014-04-22 13:28:08 +00:00
Ed Maste
bcd2cacb2e
Note that the FreeBSD x86_64 buildbot uses CMake
...
The other buildbots in the list include their build method.
llvm-svn: 206892
2014-04-22 13:20:20 +00:00
Alexander Musman
8dba66412b
[OPENMP] parsing 'linear' clause (for directive 'omp simd')
...
Differential Revision: http://reviews.llvm.org/D3272
llvm-svn: 206891
2014-04-22 13:09:42 +00:00
Tim Northover
761aa37e3e
ARM64: update NEON test to improved backend codegen
...
llvm-svn: 206890
2014-04-22 12:45:55 +00:00
Tim Northover
52d3283026
AArch64/ARM64: more testing from AArch64 to ARM64
...
llvm-svn: 206889
2014-04-22 12:45:47 +00:00
Tim Northover
a962398a3f
AArch64/ARM64: make use of ANDS and BICS instructions for comparisons.
...
llvm-svn: 206888
2014-04-22 12:45:42 +00:00
Tim Northover
31ebef86b8
AArch64/ARM64: add extra testing from AArch64 to ARM64
...
llvm-svn: 206887
2014-04-22 12:45:32 +00:00
Dmitri Gribenko
6db07e2ab7
Comment parsing: close a hole in CDATA escaping in XML output
...
llvm-svn: 206886
2014-04-22 12:34:52 +00:00
Lang Hames
64f6ebb8a9
[X86] Require HasBMI2 for the new BZHI tablegen patterns.
...
Evidently tablegen doesn't infer this from the HasBMI2 predicate on the BZHI
instructions. This should fix the recent bot failures.
llvm-svn: 206885
2014-04-22 12:04:53 +00:00
Robert Khasanov
189e7fdcfb
[AVX512] Implemented integer conversions up/down with masking.
...
Added encoding tests.
llvm-svn: 206884
2014-04-22 11:36:19 +00:00
Kostya Serebryany
c9a2c17ad3
[asan] Support outline instrumentation for wide types and delete dead code, patch by Yuri Gribov
...
llvm-svn: 206883
2014-04-22 11:19:45 +00:00
Dmitri Gribenko
93043620bc
Comment parsing: in the generated XML file, mark HTML that is safe to pass
...
through to the output even if the input comment comes from an untrusted source
Attribute filtering is currently based on a blacklist, which right now includes
all event handler attributes (they contain JavaScipt code). It should be
switched to a whitelist, but going over all of the HTML5 spec requires a
significant amount of time.
llvm-svn: 206882
2014-04-22 10:59:13 +00:00
Alexander Potapenko
6e647c13e4
[ASan] Fixed the expectation for Darwin memset test.
...
Added a comment about keeping the Linux/Darwin test versions in sync.
llvm-svn: 206881
2014-04-22 10:53:57 +00:00
Lang Hames
70fa72d340
[X86] Remove Tablegen def of X86bzhi SDNode: It's not needed as of r206879.
...
llvm-svn: 206880
2014-04-22 10:50:46 +00:00
Lang Hames
3067ab2344
[X86] Use tablegen instead of DAG combines to match BZHI instructions, as
...
suggested by Ben Kramer in review of r206738.
Thanks again Ben!
llvm-svn: 206879
2014-04-22 10:41:56 +00:00
Matheus Almeida
2852af8a00
[mips] Clang-format MipsAsmParser.
...
No functional changes.
llvm-svn: 206878
2014-04-22 10:15:54 +00:00
Tim Northover
2b73e74238
AArch64/ARM64: enable various AArch64 tests on ARM64.
...
llvm-svn: 206877
2014-04-22 10:10:26 +00:00
Tim Northover
00b4ee848f
AArch64/ARM64: add patterns for scalar_to_vector/extract pairs
...
llvm-svn: 206876
2014-04-22 10:10:18 +00:00
Tim Northover
e74fb0d7b9
AArch64/ARM64: mark fmul intrinsic as commutative.
...
This gives DAG patterns matching indexed patterns where either side is an
indexed vector.
llvm-svn: 206875
2014-04-22 10:10:14 +00:00
Tim Northover
978d25f391
ARM: disable emission of __XYZvfp in soft-float environment.
...
The point of these calls is to allow Thumb-1 code to make use of the VFP unit
to perform its operations. This is not desirable with -msoft-float, since most
of the reasons you'd want that apply equally to the runtime library.
rdar://problem/13766161
llvm-svn: 206874
2014-04-22 10:10:09 +00:00
Hao Liu
c636d15284
Fix an infinite loop bug in DAG Combine about keeping transfering between ANY_EXTEND and SIGN_EXTEND.
...
llvm-svn: 206873
2014-04-22 09:57:06 +00:00
Kostya Serebryany
26c4e96455
[sanitizer] enable check_printf by default for asan and tsan. We've been using this flag for a while and it seems to be stable enough for the rest of the world.
...
llvm-svn: 206872
2014-04-22 09:17:08 +00:00
NAKAMURA Takumi
f7e53446cd
DiagnosticsEngine::Report(): Fix a warning. [-Wdocumentation]
...
llvm-svn: 206871
2014-04-22 08:32:01 +00:00
NAKAMURA Takumi
1fce16934f
Update clang/test/PCH/single-token-macro.c corresponding to r206791.
...
__stdcall is defined as __attribute__((__stdcall__)) for targeting mingw32.
llvm-svn: 206870
2014-04-22 08:16:58 +00:00
Lang Hames
f6f42cac3f
[X86] Don't use BZHI for short masks (>=32 bits). Thanks to Ben Kramer for the
...
review.
llvm-svn: 206869
2014-04-22 07:40:34 +00:00
David Blaikie
afd2c6be0e
Revert "Use value semantics to manage DbgVariables rather than dynamic allocation/pointers."
...
This reverts commit r206780.
This commit was regressing gdb.opt/inline-locals.exp in the GDB 7.5 test
suite. Reverting until I can fix the issue.
llvm-svn: 206867
2014-04-22 05:41:06 +00:00
David Blaikie
2f2021ad31
Use unique_ptr to manage ParsedBinariesAndObjects in LLVMSymbolizer
...
llvm-svn: 206866
2014-04-22 05:26:14 +00:00
Jason Molenda
48cd333b7c
When increasing the amount of a file read, read the total of the Mach-O header
...
plus the size of the load commands in case the LC_UUID load command comes near
the end of the file.
<rdar://problem/16599318>
llvm-svn: 206865
2014-04-22 04:52:30 +00:00
Matt Arsenault
a3c8cde77b
R600: Change how vector truncating stores are packed.
...
Don't introduce new operations on an illegal sub 32-bit type.
Do the operations on a 32-bit value, and then use a truncating store.
llvm-svn: 206864
2014-04-22 04:11:14 +00:00
Rui Ueyama
0e32610fb5
[PECOFF] Better handling of /OPT option.
...
Previously LLD would fail if /OPT:icf, /OPT:lbr or such are specified,
because these command line flags would be handled as unknown ones. We
rather want LLD to ignore these known but yet-to-be-implemented options
for now.
Added tests for the driver as well.
llvm-svn: 206863
2014-04-22 03:57:07 +00:00
Matt Arsenault
5dbd5db518
R600: Make sign_extend_inreg legal.
...
Don't know why I didn't just do this in the first place.
llvm-svn: 206862
2014-04-22 03:49:30 +00:00
Jiangning Liu
87486e0bac
[AArch64] Enable global merge pass.
...
llvm-svn: 206861
2014-04-22 03:33:26 +00:00