NAKAMURA Takumi
0597d355a2
clang/test/Driver/x86_64-nacl-defines.cpp: Specify filename generated.
...
FIXME: It could be /dev/null.
llvm-svn: 168429
2012-11-21 14:45:57 +00:00
Alexey Samsonov
8368b376ad
[Sanitizer] force linking with static sanitizer runtimes on Darwin even if they are not found in resource directory. Add test checking sanitizer linker flags on Darwin.
...
llvm-svn: 168428
2012-11-21 14:17:42 +00:00
Rafael Espindola
ff571cce2f
Using "not grep" is brittle as the test passes if llvm-as fails.
...
Fix the testcase to be valid IL and uses FileCheck.
Thanks to NAKAMURA Takumi for noticing it.
llvm-svn: 168427
2012-11-21 14:17:23 +00:00
Kostya Serebryany
8bc5421ba0
[asan] get rid of kPageSizeBits
...
llvm-svn: 168426
2012-11-21 13:31:07 +00:00
Evgeniy Stepanov
979a1e7352
Allow PopStackFrames leave the stack empty.
...
llvm-svn: 168425
2012-11-21 13:00:04 +00:00
Kostya Serebryany
734f1eb5f4
[asan/tsan] do not use __WORDSIZE macro, as it is glibc-private thing. Instead, define our own SANITIZER_WORDSIZE
...
llvm-svn: 168424
2012-11-21 12:38:58 +00:00
Dmitry Vyukov
aeed45cde0
tsan: explictly say when we fail to restore a stack trace
...
llvm-svn: 168423
2012-11-21 11:44:20 +00:00
Alexey Samsonov
3a3488e4e1
[Sanitizer] replace while with internal_memset to make sure compiler won't replace it with library memset
...
llvm-svn: 168422
2012-11-21 11:12:57 +00:00
Dmitry Vyukov
9ca2afd3a1
tsan: fix handling of signals
...
(do not execute synchronous signals in recursive interceptors)
llvm-svn: 168421
2012-11-21 11:12:33 +00:00
Dmitri Gribenko
3233391b50
Use color for -ast-dump-filter only when it is supported
...
Patch by Philip Craig.
llvm-svn: 168420
2012-11-21 10:54:55 +00:00
Chandler Carruth
845b73c06f
PR14055: Implement support for sub-vector operations in SROA.
...
Now if we can transform an alloca into a single vector value, but it has
subvector, non-element accesses, we form the appropriate shufflevectors
to allow SROA to proceed. This fixes PR14055 which pointed out a very
common pattern that SROA couldn't handle -- mixed vec3 and vec4
operations on a single alloca.
llvm-svn: 168418
2012-11-21 08:16:30 +00:00
Craig Topper
72beaa6733
Fix execution domain for packed FMA4 instructions.
...
llvm-svn: 168417
2012-11-21 08:08:21 +00:00
Craig Topper
c8c28d1ff0
Mark ISD::FMA as Legal instead of custom for x86 with FMA3/FMA4. Needed so that llvm.muladd can be converted to ISD::FMA for fp_contract.
...
llvm-svn: 168413
2012-11-21 05:36:24 +00:00
Rafael Espindola
6dcddfb852
Remove redundant code.
...
llvm-svn: 168411
2012-11-21 02:53:22 +00:00
Rafael Espindola
a508c5de58
Remove redundant code.
...
llvm-svn: 168410
2012-11-21 02:47:19 +00:00
Jakub Staszak
59deec0132
Make calcLiveInMask method static.
...
llvm-svn: 168409
2012-11-21 00:59:34 +00:00
Jakub Staszak
6f58ce1678
Make isScratchReg and isFPCopy methods static.
...
llvm-svn: 168407
2012-11-21 00:50:57 +00:00
Eric Christopher
92331fde8c
Whitespace.
...
llvm-svn: 168402
2012-11-21 00:34:38 +00:00
Eric Christopher
7b30f2e43b
Update for some of the coding standard before rearranging functions
...
around.
llvm-svn: 168401
2012-11-21 00:34:35 +00:00
Eric Christopher
5d1cf930df
Update some comments.
...
llvm-svn: 168400
2012-11-21 00:17:49 +00:00
Eric Christopher
55c5181525
Update and add some comments.
...
llvm-svn: 168399
2012-11-21 00:03:31 +00:00
Eric Christopher
27527b2b92
Whitespace.
...
llvm-svn: 168398
2012-11-21 00:03:28 +00:00
Eli Bendersky
857fc5e354
Add a tests for the new -no-show-raw-insn option of llvm-objdump.
...
This also initiates a test/tools directory where tools-specific tests can be
placed.
llvm-svn: 168397
2012-11-20 23:44:22 +00:00
Jakub Staszak
e2edeac1c1
Add obvious constantness.
...
llvm-svn: 168396
2012-11-20 23:32:32 +00:00
Eric Christopher
383719592a
Remove constness from this, it modifies the output stream as does
...
everything else underneath.
llvm-svn: 168395
2012-11-20 23:30:11 +00:00
Rafael Espindola
cd7720a03f
Don't walk a linked list twice in the same function. On my machine this takes
...
"clang -cc1" on a file with 10k repetitions of
extern int no_such_variable;
from 1.434s to 1.133s.
llvm-svn: 168394
2012-11-20 23:23:57 +00:00
Eli Bendersky
3a6808cc32
Add the -no-show-raw-insn option to llvm-objdump, thus making it a bit more
...
conformant to binutils objdump.
llvm-svn: 168393
2012-11-20 22:57:02 +00:00
Sebastian Pop
87ce43c5b5
removes a few "const" qualifiers
...
so that I can (someday) call SE->getSCEV without complaint.
No semantic change intended.
Patch from Preston Briggs <preston.briggs@gmail.com>.
llvm-svn: 168391
2012-11-20 22:28:04 +00:00
Anders Waldenborg
81a8c5cc34
[python] fix get_library()
...
Before this fix, the LLVM Python bindings on SVN trunk always fail with:
Exception: LLVM shared library not found!
since it's still looking for a library named "LLVM-3.1svn".
Besides updating the LLVM version in the library name,
this patch also changes llvm.get_library() to make it possible to run
the unit tests without installing the LLVM shared library into a
default linker search path.
e.g. after this patch, running the llvm/python unit tests with:
LD_LIBRARY_PATH=../build/Debug+Asserts/lib nosetests -v bindings/python/llvm/tests/
would work on Linux.
Patch from Scott Tsai (with some minor modifications)
Patch also acked by Gregory Szorc
llvm-svn: 168390
2012-11-20 22:27:55 +00:00
Jyotsna Verma
c6f2465b5d
Removing some unused instruction definitions from the Hexagon backend.
...
llvm-svn: 168388
2012-11-20 22:14:23 +00:00
Eric Christopher
1f0cbb826f
Remove unused function argument, add a bit to the comment.
...
llvm-svn: 168387
2012-11-20 22:14:13 +00:00
Eric Christopher
1d6bd41ee6
Formatting.
...
llvm-svn: 168384
2012-11-20 20:34:47 +00:00
Eric Christopher
7c718e41c7
Whitespace.
...
llvm-svn: 168383
2012-11-20 20:34:44 +00:00
Daniel Malea
1b8b392889
Clear auto-confirm setting on teardown for tests that use it
...
llvm-svn: 168382
2012-11-20 19:46:54 +00:00
Eli Bendersky
ba50ce4825
Some sphinx-ing and consistency fixes
...
llvm-svn: 168380
2012-11-20 19:37:58 +00:00
Daniel Malea
096925233b
Use auto-confirm setting to avoid prompts causing some tests to appear to hang
...
- this commit addresses bugzilla #14385
llvm-svn: 168375
2012-11-20 18:53:21 +00:00
Eric Christopher
3ab352292c
Remove some dead code.
...
llvm-svn: 168374
2012-11-20 18:37:40 +00:00
Joe Abbey
159fac4970
Better 80cols... *sigh*
...
llvm-svn: 168373
2012-11-20 18:14:15 +00:00
Joe Abbey
0974e04d13
Fixing a broken link.
...
llvm-svn: 168372
2012-11-20 17:51:08 +00:00
Daniel Malea
e199a571cb
Fix incorrect usage of buildDsym() in dwarf test
...
llvm-svn: 168371
2012-11-20 16:08:36 +00:00
Daniel Malea
a750049171
Skip dsym tests on Linux
...
llvm-svn: 168370
2012-11-20 16:07:33 +00:00
Kostya Serebryany
6db8ad43df
[asan] pop the two internal functions from the stack trace produced by _Unwind_Backtrace (Peter Bergner)
...
llvm-svn: 168369
2012-11-20 15:15:44 +00:00
Kostya Serebryany
139a937903
[asan] use names of globals instead of an external set to distinguish the globals generated by asan
...
llvm-svn: 168368
2012-11-20 14:16:08 +00:00
Kostya Serebryany
dc4cb2b736
[asan] don't instrument linker-initialized globals even with external linkage in -asan-initialization-order mode
...
llvm-svn: 168367
2012-11-20 13:11:32 +00:00
Kostya Serebryany
b3bd605ffa
[asan] make sure that linker-initialized globals (non-extern) are not instrumented even in -asan-initialization-order mode. This time with a test
...
llvm-svn: 168366
2012-11-20 13:00:01 +00:00
Sean Silva
23344e4981
docs: Fix highlighting.
...
.git/config was marked as "bash" instead of "ini".
llvm-svn: 168365
2012-11-20 12:36:27 +00:00
NAKAMURA Takumi
45d54ec14e
llvm/test/ExecutionEngine/MCJIT/lit.local.cfg: ppc32-elf is not ready.
...
llvm-svn: 168364
2012-11-20 10:49:01 +00:00
Chandler Carruth
97f2e8f4ea
Fix a place where the declaration didn't use LLVM_ENABLE_DUMP but the
...
definition did.
The last part of PR14324.
llvm-svn: 168363
2012-11-20 10:23:50 +00:00
Chandler Carruth
b7915f7fbf
Use LLVM_ENABLE_DUMP for the variables used in printing as well as the
...
printing functions themselves.
Part of PR14324 (which should have just been a patch to the list, but
hey...)
llvm-svn: 168362
2012-11-20 10:23:07 +00:00
Chandler Carruth
3e994a26e2
Fix PR14132 and handle OOB loads speculated throuh PHI nodes.
...
The issue is that we may end up with newly OOB loads when speculating
a load into the predecessors of a PHI node, and this confuses the new
integer splitting logic in some cases, triggering an assertion failure.
In fact, the branch in question must be dead code as it loads from
a too-narrow alloca. Add code to handle this gracefully and leave the
requisite FIXMEs for both optimizing more aggressively and doing more to
aid sanitizing invalid code which triggers these patterns.
llvm-svn: 168361
2012-11-20 10:02:19 +00:00