Andrew Kaylor
93fe3dcb13
Adding tests for the Intel JIT event listener's MCJIT support.
...
llvm-svn: 168459
2012-11-21 20:38:26 +00:00
Akira Hatanaka
56d5f1bca5
[mips] Simplify lowering functions in MipsISelLowering.cpp by using the helper
...
functions added in r168456.
llvm-svn: 168458
2012-11-21 20:30:40 +00:00
Akira Hatanaka
fd04ad4261
[mips] Add helper functions that create nodes for computing address.
...
llvm-svn: 168456
2012-11-21 20:26:38 +00:00
Akira Hatanaka
59f299f28e
[mips] Add command line option "-mxgot".
...
llvm-svn: 168455
2012-11-21 20:21:11 +00:00
Daniel Malea
4bd152d8e6
Disable darwin-specific test on non-darwin platforms
...
llvm-svn: 168454
2012-11-21 20:17:07 +00:00
Akira Hatanaka
dbe41ad18c
[mips] When a node which loads from a GOT is created, pass a MachinePointerInfo
...
referring to a GOT entry.
llvm-svn: 168453
2012-11-21 20:16:34 +00:00
Daniel Malea
b90c36868e
Linux test case fixes
...
- missing includes in cpp test programs
- mismatched dwarf/dsym test cases
- make "com.apple.main-thread" expected string conditional on darwin platform
llvm-svn: 168452
2012-11-21 20:12:12 +00:00
Jyotsna Verma
0df99bd2e4
Add new predicates for the immediate operands.
...
llvm-svn: 168451
2012-11-21 20:05:09 +00:00
Akira Hatanaka
03fb5b96fc
[mips] Add target operand flag enums for big GOT relocations.
...
llvm-svn: 168450
2012-11-21 19:59:51 +00:00
Jyotsna Verma
3ec3a49432
Use one common 'let' expression to set PrintMethod for all immediate operands.
...
llvm-svn: 168449
2012-11-21 19:53:42 +00:00
Akira Hatanaka
64b52d8434
Add relocations used for mips big GOT.
...
llvm-svn: 168448
2012-11-21 19:50:22 +00:00
Preston Briggs
494f77c19c
test commit: added a few comments
...
llvm-svn: 168445
2012-11-21 18:53:19 +00:00
Andrew Kaylor
a35bb5c62a
Implementing basic function-level profiling support in IntelJITEventListener.
...
Tests to follow in another patch.
llvm-svn: 168444
2012-11-21 18:50:33 +00:00
Benjamin Kramer
3d3ddcec70
SemaCXX: an enumeral type can be of character or boolean type in a C++11 enum class. Make sure we create a literal of the right type.
...
Fixes PR14386.
llvm-svn: 168441
2012-11-21 17:42:47 +00:00
Anton Korobeynikov
568afebcb2
Add support for varargs functions for msp430.
...
Patch by Job Noorman!
llvm-svn: 168440
2012-11-21 17:28:27 +00:00
Anton Korobeynikov
3414872fc8
Add support for byval args. Patch by Job Noorman!
...
llvm-svn: 168439
2012-11-21 17:23:03 +00:00
Rafael Espindola
b90c5f12f0
Finish the renaming.
...
llvm-svn: 168437
2012-11-21 16:56:33 +00:00
Joey Gouly
f3c186861f
Test commit: Remove blank line.
...
llvm-svn: 168436
2012-11-21 16:54:35 +00:00
Jyotsna Verma
6c0a3550c8
Renamed HexagonImmediates.td -> HexagonOperands.td.
...
llvm-svn: 168434
2012-11-21 16:28:18 +00:00
Alexey Samsonov
062441b8d4
Try to fix test from r168428 on mingw bot
...
llvm-svn: 168431
2012-11-21 15:52:36 +00:00
NAKAMURA Takumi
0a41c0bb18
llvm/test/Transforms/InstCombine/sdiv-1.ll: FileCheck-ize.
...
"not grep '-715827882'" performed as below...bad...
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
llvm-svn: 168430
2012-11-21 14:46:18 +00:00
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