Chad Rosier
0babda4b9c
[AArch64] Add support for NEON scalar signed/unsigned integer to floating-point
...
convert instructions.
llvm-svn: 192232
2013-10-08 20:43:46 +00:00
Chad Rosier
f7ed96ef76
[AArch64] Add support for NEON scalar signed/unsigned integer to floating-point
...
convert instructions.
llvm-svn: 192231
2013-10-08 20:43:30 +00:00
Rui Ueyama
f890d3bf26
Fix #endif comment.
...
llvm-svn: 192230
2013-10-08 20:24:25 +00:00
Rui Ueyama
88b24ffe73
Use size_t instead of int64_t for the vector size.
...
llvm-svn: 192229
2013-10-08 20:24:23 +00:00
Reid Kleckner
9d1d3be823
Explicitly request unsigned enum types when desired
...
This fixes repeated -Wmicrosoft warnings when self-hosting clang on
Windows, and gets us real unsigned enum types with MSVC.
llvm-svn: 192228
2013-10-08 20:20:00 +00:00
Reid Kleckner
cd4a25d66e
Explicitly request unsigned enum types when desired
...
This fixes repeated -Wmicrosoft warnings when self-hosting clang on
Windows, and gets us real unsigned enum types with MSVC.
llvm-svn: 192227
2013-10-08 20:15:11 +00:00
Fariborz Jahanian
02461d0218
ObjectiveC migration. Add support for inferring
...
properties of block pointer types. Also, remove
strong lifetime attribute from property type
in this migration. This is wip.
// rdar://15082818
llvm-svn: 192226
2013-10-08 20:14:24 +00:00
Timur Iskhodzhanov
c7113073dd
Revert 192220 as it fails on an assertion
...
llvm-svn: 192225
2013-10-08 20:09:50 +00:00
Manman Ren
2f84f46fef
Debug Info: update testing to reflect r192018.
...
llvm-svn: 192224
2013-10-08 20:06:43 +00:00
Reed Kotler
339c741046
Add fabsf to the list of inlined functions; otherwise
...
Mips16 will try and create a stub for it and this will
result in a link error because that function does not exist in libc.
llvm-svn: 192223
2013-10-08 19:55:01 +00:00
Richard Smith
0ec313e9ec
Suggest people use -Xclang not -cc1 when passing options to the frontend.
...
llvm-svn: 192222
2013-10-08 19:50:01 +00:00
Richard Smith
d6739dca37
Remove documentation of removed -ast-dump-xml flag.
...
llvm-svn: 192221
2013-10-08 19:45:46 +00:00
Timur Iskhodzhanov
1ffb3916ce
Abstract out parts of thunk emission code, add support for simple thunks when using -cxx-abi microsoft
...
Reviewed at http://llvm-reviews.chandlerc.com/D1787
llvm-svn: 192220
2013-10-08 19:15:38 +00:00
Akira Hatanaka
71cd285dc8
[mips] Remove XFAIL.
...
Triple x86_64 has been added to the command line, so this test doesn't fail
on mips anymore.
llvm-svn: 192219
2013-10-08 19:08:54 +00:00
Manman Ren
be5576f5f6
Add DbgVariable::resolve per Eric's suggestion.
...
llvm-svn: 192218
2013-10-08 19:07:44 +00:00
Enrico Granata
852cc954db
<rdar://problem/11778815>
...
Formats (as in "type format") are now included in categories
The only bit missing is caching formats along with synthetic children and summaries, which might be now desirable
llvm-svn: 192217
2013-10-08 19:03:22 +00:00
Manman Ren
bda410f413
Debug Info: rename getOriginalTypeSize to getBaseTypeSize.
...
llvm-svn: 192216
2013-10-08 18:46:58 +00:00
Manman Ren
93b3090a91
Debug Info: take advantage of the existing CU::resolve.
...
llvm-svn: 192215
2013-10-08 18:42:58 +00:00
Manman Ren
235010a6d0
Move DIRef::getName out of line.
...
llvm-svn: 192214
2013-10-08 18:42:03 +00:00
Akira Hatanaka
ee909cc27f
[mips] Simplify and optimize code.
...
No intended functionality change.
llvm-svn: 192213
2013-10-08 18:13:24 +00:00
Matt Arsenault
a2438bd913
Add some xfaild R600 tests.
...
These are bugs to fix later.
llvm-svn: 192212
2013-10-08 18:06:36 +00:00
Ted Kremenek
256b29cbaa
Remove transient code I did not mean to check in.
...
llvm-svn: 192211
2013-10-08 18:04:56 +00:00
Sergey Matveev
adef754297
[sanitizer] Fix deadlock in StopTheWorld.
...
The tracer thread in StopTheWorld could wait on a mutex forever if the parent
process died before unlocking it. Use PR_SET_PDEATHSIG so that the parent would
kill the child in this scenario.
llvm-svn: 192210
2013-10-08 18:01:03 +00:00
Benjamin Kramer
b32b1be766
IRBuilder: Downgrade InsertPointGuard's instruction pointer to a raw pointer.
...
Sadly this loses the checking from AssertingVH, but apparently storing the
end() of a BasicBlock into an AssertingVH has bad consequences as it's not
really an instruction.
llvm-svn: 192209
2013-10-08 17:44:56 +00:00
Serge Pavlov
5815940edc
Fixed messages in tests.
...
llvm-svn: 192208
2013-10-08 17:38:38 +00:00
Reed Kotler
97309af4f4
Let rotr and bswap be handled by expansion for Mips16 since we don't
...
have native instructions for this.
llvm-svn: 192207
2013-10-08 17:32:33 +00:00
Enrico Granata
64d2a2853b
An example of data formatters that generate a summary for a Unicode UTF encoded string represented as a (pointer,length) pair
...
llvm-svn: 192206
2013-10-08 17:29:27 +00:00
Andrew Kaylor
cc7a0ff857
Removing unintended code block from lli
...
llvm-svn: 192205
2013-10-08 17:15:11 +00:00
Serge Pavlov
8f91b35d1b
Fixed grammar. Thanks to Jordan Rose.
...
llvm-svn: 192204
2013-10-08 17:09:03 +00:00
Ted Kremenek
c37877d7a4
Convert anachronistic use of 'void *' to 'DeclContext *' in Scope that was a holdover from the long-dead Action interface.
...
llvm-svn: 192203
2013-10-08 17:08:03 +00:00
Benjamin Kramer
3b05e20031
Fix an edge case in the template differ with default arguments.
...
In the test case one type is coming from a typedef with no default arg, the
other has the default arg. Taking the default arg from the typedef crashes, so
always use the real template paramter declaration. PR17510.
llvm-svn: 192202
2013-10-08 16:58:52 +00:00
Hans Wennborg
22d6ac7e9a
clang-cl: ignore the /sdl[-] flag
...
In cl.exe, this flag turns some warnings into errors and adds some
codegen security checks. I don't think we intend to support this.
llvm-svn: 192201
2013-10-08 16:56:54 +00:00
Serge Pavlov
aa57a64ef6
Add fixits suggesting parenthesis around type name in expressions like sizeof.
...
This fixes PR16992 - Fixit missing when "sizeof type" found.
llvm-svn: 192200
2013-10-08 16:56:30 +00:00
Eric Christopher
016be42362
Grammar.
...
llvm-svn: 192199
2013-10-08 16:47:11 +00:00
Sergey Matveev
398fb700a2
[sanitizer] Do not break the CFI unwind chain in clone().
...
Fixes build on clang 3.2, which doesn't support cfi_undefined. This change
doesn't seem to break the slow unwinder. Even if it does, the worst thing that
could happen is that we would not see a backtrace when a fatal error happens
under StopTheWorld.
llvm-svn: 192196
2013-10-08 16:38:39 +00:00
Edwin Vane
ea9d124fd4
Switching code owner email address.
...
llvm-svn: 192189
2013-10-08 16:28:05 +00:00
Daniel Jasper
f9a5e4043c
clang-format: Improve indentation when deriving from templated classes.
...
Before:
struct aaaaaaaaaaaaa : public aaaaaaaaaaaaaaaaaaa< //
aaaaaaaaaaaaaaaa> {};
struct aaaaaaaaaaaaaaaaaaaa : public aaaaaaaaaaaaaaaaaaa<
aaaaaaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaa> {};
After:
struct aaaaaaaaaaaaa : public aaaaaaaaaaaaaaaaaaa< //
aaaaaaaaaaaaaaaa> {};
struct aaaaaaaaaaaaaaaaaaaa
: public aaaaaaaaaaaaaaaaaaa<aaaaaaaaaaaaaaaaaaaaa,
aaaaaaaaaaaaaaaaaaaaaa> {};
llvm-svn: 192187
2013-10-08 16:24:07 +00:00
Rafael Espindola
9ab9fe91fb
Fix build on Solaris 11.
...
Patch by Vladimir Voskresensky. The erros were:
Path.inc:274:3: error: ‘Dl_info’ was not declared in this scope
...
and
usr/include/spawn.h:52:14: error: expected ‘,’ or ‘...’ before ‘argv’
llvm-svn: 192185
2013-10-08 16:12:58 +00:00
Daniel Jasper
e8845ad4c5
clang-format: Don't exit with failure on empty files.
...
Also let clang-format-diff.py detect errors based on clang-format's
return code. Otherwise messages like "Can't find usable .clang-format,
falling back to LLVM style" can make it fail, which might be undesired.
Patch by Alp Toker. Thank you!
llvm-svn: 192184
2013-10-08 15:54:36 +00:00
Shankar Easwaran
7f1146c494
[LinkingContext] make LinkingContext non-const
...
llvm-svn: 192183
2013-10-08 15:43:48 +00:00
Rafael Espindola
3f359430b3
Only modify lto.exports.def when contents have changed.
...
Patch by Greg Bedwell.
llvm-svn: 192182
2013-10-08 15:07:00 +00:00
Rafael Espindola
a17151ad5a
Add a MCTargetStreamer interface.
...
This patch fixes an old FIXME by creating a MCTargetStreamer interface
and moving the target specific functions for ARM, Mips and PPC to it.
The ARM streamer is still declared in a common place because it is
used from lib/CodeGen/ARMException.cpp, but the Mips and PPC are
completely hidden in the corresponding Target directories.
I will send an email to llvmdev with instructions on how to use this.
llvm-svn: 192181
2013-10-08 13:08:17 +00:00
Joerg Sonnenberger
31057d618e
Consistent spelling of names.
...
llvm-svn: 192180
2013-10-08 12:35:07 +00:00
NAKAMURA Takumi
c22f85331c
SparcJITInfo.cpp: Prune "default:" label to fix a warning. [-Wcovered-switch-default]
...
llvm-svn: 192179
2013-10-08 10:29:09 +00:00
NAKAMURA Takumi
2949f670d5
Prune trailing linefeeds.
...
llvm-svn: 192178
2013-10-08 10:29:03 +00:00
Alp Toker
d4a72d5ce5
Make InstantiatingTemplate depth checks clearer
...
The bool conversion operator on InstantiatingTemplate never added value and
only served to obfuscate the template instantiation routines.
This replaces the conversion and its callers with an explicit isInvalid()
function to make it clear what's going on at a glance.
llvm-svn: 192177
2013-10-08 08:09:04 +00:00
Venkatraman Govindaraju
2ea4c2880c
[Sparc] Implement JIT for SPARC.
...
No new testcases. However, this patch makes all supported JIT testcases in
test/ExecutionEngine pass on Sparc.
llvm-svn: 192176
2013-10-08 07:15:22 +00:00
Craig Topper
a984729f8a
Remove unneeded MMX instruction definition by moving pattern to an equivalent instruction definition and removing the filtering from the disassembler table building.
...
llvm-svn: 192175
2013-10-08 06:30:39 +00:00
Craig Topper
3f0fdbdfd1
Fix a typo in the mattr part of the run line.
...
llvm-svn: 192174
2013-10-08 06:12:26 +00:00
Craig Topper
3ede2f8a16
Explicitly disable AVX on a bunch of tests so they won't fail on AVX machines post r192171.
...
llvm-svn: 192173
2013-10-08 06:06:57 +00:00