Eric Christopher
e8a7b1b741
80-col fixup.
...
llvm-svn: 163569
2012-09-10 23:34:03 +00:00
Eric Christopher
abb4d9ed34
80-col fixup.
...
llvm-svn: 163568
2012-09-10 23:34:00 +00:00
Eric Christopher
a47d096125
No reason to construct this twice.
...
llvm-svn: 163567
2012-09-10 23:33:57 +00:00
Chad Rosier
e27921feb8
Add newline.
...
llvm-svn: 163565
2012-09-10 23:09:27 +00:00
Chad Rosier
38e05a9eb2
Update function names to conform to guidelines. No functional change intended.
...
llvm-svn: 163561
2012-09-10 22:50:57 +00:00
Chad Rosier
41ff85d754
Revert r163556. Missed updates to tablegen files.
...
llvm-svn: 163557
2012-09-10 22:30:35 +00:00
Chad Rosier
2089c49db7
Update function names to conform to guidelines. No functional change intended.
...
llvm-svn: 163556
2012-09-10 22:23:45 +00:00
NAKAMURA Takumi
8c72306cdb
test/CodeGen/X86/ms-inline-asm.ll: Relax for non-darwin x86 targets. '##InlineAsm' could not be seen in other hosts.
...
llvm-svn: 163554
2012-09-10 22:04:54 +00:00
Chad Rosier
7641f58784
[ms-inline asm] Properly emit the asm directives when the AsmPrinterVariant
...
and InlineAsmVariant don't match.
llvm-svn: 163550
2012-09-10 21:36:05 +00:00
Chad Rosier
1c1319b9e7
Update test case for Release builds.
...
llvm-svn: 163549
2012-09-10 21:31:43 +00:00
Dmitri Gribenko
ca1e27be0d
Remove redundant semicolons which are null statements.
...
llvm-svn: 163547
2012-09-10 21:26:47 +00:00
Nadav Rotem
5a72a23a70
Disable stack coloring because it makes dragonegg fail bootstrapping.
...
llvm-svn: 163545
2012-09-10 21:17:58 +00:00
Chad Rosier
db20a41d99
[ms-inline asm] Pass the correct AsmVariant to the PrintAsmOperand() function
...
and update the printOperand() function accordingly.
llvm-svn: 163544
2012-09-10 21:10:49 +00:00
Chad Rosier
6f8d8b2406
[ms-inline asm] Add support for .att_syntax directive.
...
llvm-svn: 163542
2012-09-10 20:54:39 +00:00
Nadav Rotem
107faf853b
Enable stack coloring.
...
llvm-svn: 163539
2012-09-10 20:15:49 +00:00
Jakob Stoklund Olesen
8b9dce5c18
Don't attempt to use flags from predicated instructions.
...
The ARM backend can eliminate cmp instructions by reusing flags from a
nearby sub instruction with similar arguments.
Don't do that if the sub is predicated - the flags are not written
unconditionally.
<rdar://problem/12263428>
llvm-svn: 163535
2012-09-10 19:17:25 +00:00
Michael J. Spencer
7307fea911
[Object] Extract Elf_Ehdr. Patch by Hemant Kulkarni!
...
llvm-svn: 163532
2012-09-10 19:04:02 +00:00
Nadav Rotem
3c86b78ae4
Stack Coloring: Handle the case where END markers come before BEGIN markers properly.
...
llvm-svn: 163530
2012-09-10 18:51:09 +00:00
Michael Liao
400f7ef871
Enhance PR11334 fix to support extload from v2f32/v4f32
...
- Fix an remaining issue of PR11674 as well
llvm-svn: 163528
2012-09-10 18:33:51 +00:00
Sergei Larin
ef4cc11cf9
Add "blocked" heuristic to the Hexagon MI scheduler.
...
Improve AQ instruction selection in the Hexagon MI scheduler.
llvm-svn: 163523
2012-09-10 17:31:34 +00:00
Michael Ilseman
0666f0580c
Fold multiply by 0 or 1 when in UnsafeFPMath mode in SelectionDAG::getNode().
...
This folding happens as early as possible for performance reasons, and to make sure it isn't foiled by other transforms (e.g. forming FMAs).
llvm-svn: 163519
2012-09-10 17:00:37 +00:00
Michael Ilseman
d5f91515f3
whitespace
...
llvm-svn: 163518
2012-09-10 16:56:31 +00:00
Michael Liao
c3d5b21c39
Add boolean simplification support from CMOV
...
- If a boolean value is generated from CMOV and tested as boolean value,
simplify the use of test result by referencing the original condition.
RDRAND intrinisc is one of such cases.
llvm-svn: 163516
2012-09-10 16:36:16 +00:00
James Molloy
1e5c611815
Fix an assertion failure when optimising a shufflevector incorrectly into concat_vectors, and a followup bug with SelectionDAG::getNode() creating nodes with invalid types.
...
llvm-svn: 163511
2012-09-10 14:01:21 +00:00
Nadav Rotem
ba9a03f279
Minor cleanup. No functional change.
...
llvm-svn: 163510
2012-09-10 13:20:00 +00:00
Nadav Rotem
d62287dc91
Stack Coloring: Debug prints to print the slot number and not the array index.
...
llvm-svn: 163509
2012-09-10 13:17:58 +00:00
Nadav Rotem
ed242a0f1c
Stack Coloring: When searching for disjoint regions, do not compare intervals twice or to theirself.
...
llvm-svn: 163508
2012-09-10 12:47:38 +00:00
Nadav Rotem
6731363185
Stack Coloring: Add support for multiple regions of the same slot, within a single basic block.
...
llvm-svn: 163507
2012-09-10 12:39:35 +00:00
Elena Demikhovsky
264fb0217e
The VPSHUFB 256-bit instruction may be generated when one of input vector is undefined or zeroinitializer.
...
I've added the "zeroinitializer" case in this patch.
llvm-svn: 163506
2012-09-10 12:13:11 +00:00
Benjamin Kramer
47b5c5713b
Make helper function static.
...
llvm-svn: 163504
2012-09-10 11:52:14 +00:00
Benjamin Kramer
1f66f885e8
Move bypassSlowDivision into the llvm namespace.
...
llvm-svn: 163503
2012-09-10 11:52:08 +00:00
Benjamin Kramer
8dd0edc7b1
c bindings: revert LLVMConstInlineAsm to always use the default asm dialect.
...
- The C API should be stable
- InlineAsm::AsmDialect is not exposed to C
- The function didn't match the prototype so this was unreachable code
llvm-svn: 163502
2012-09-10 11:52:00 +00:00
Evgeniy Stepanov
c9cdb96188
GTest on Android needs a custom tmpdir path.
...
llvm-svn: 163501
2012-09-10 10:32:29 +00:00
Nadav Rotem
2f41ff93e6
Fix a typo in the comment.
...
llvm-svn: 163496
2012-09-10 08:51:46 +00:00
Nadav Rotem
28e6f8c1fc
Add an assertion that the frame index is indeed inside the declared lifetime region.
...
llvm-svn: 163495
2012-09-10 08:44:15 +00:00
Nadav Rotem
d753a952ca
Teach the DAGBuilder about lifetime markers which are generated from PHINodes.
...
llvm-svn: 163494
2012-09-10 08:43:23 +00:00
Hans Wennborg
7fd5c844af
Fix style issues from r163302 pointed out by Evan.
...
llvm-svn: 163491
2012-09-10 07:44:22 +00:00
Nick Lewycky
12d825d9ca
Move spaces to the right places. No functionality change.
...
llvm-svn: 163485
2012-09-09 23:41:11 +00:00
Nick Lewycky
74bf42c9a1
Add missing space before {. No functionality change.
...
llvm-svn: 163484
2012-09-09 23:40:55 +00:00
Craig Topper
03f39773e0
Teach DAG combiner to constant fold fneg of a BUILD_VECTOR of constants.
...
llvm-svn: 163483
2012-09-09 22:58:45 +00:00
Aaron Ballman
cbb37111d7
Fixing a type width warning with MSVC.
...
llvm-svn: 163481
2012-09-09 20:34:25 +00:00
Benjamin Kramer
2b11eb0729
DSE: Poking holes into a SetVector is expensive, avoid it if possible.
...
llvm-svn: 163480
2012-09-09 16:44:05 +00:00
Benjamin Kramer
851c941b8b
LiveVariables: Compute a set of defs and kills to speed up updating LV during critical edge splitting.
...
Previously we checked if the register is def'd in a block via the def/use list a
nd walked the list of kills to check if the register is killed in a block. Both
of these checks can be made much cheaper by walking the block first and
recording all defs and kills.
This reduces the compile time of the test case from PR13651 from 40s to 15s at
-O2. The compile time is still dominated by LV updating but now the main culprit
is SparseBitVector's slowness.
llvm-svn: 163478
2012-09-09 11:56:14 +00:00
Craig Topper
4ed79bd7d7
Add instruction selection for ffloor of vectors when SSE4.1 or AVX is enabled.
...
llvm-svn: 163473
2012-09-08 17:42:27 +00:00
NAKAMURA Takumi
78ddd58743
lit: Util.which(): Use os.path.isfile() instead of os.path.exists(), or it hits to the directory.
...
For example, which('loop-convert') returns 'loop-convert' when the directory 'loop-convert' exists.
llvm-svn: 163469
2012-09-08 12:07:24 +00:00
Craig Topper
0955a9f4e1
Use 256-bit alignment for constant pool value for 256-bit vector FNEG lowering.
...
llvm-svn: 163463
2012-09-08 07:46:05 +00:00
Craig Topper
98f2e861a0
Add support for lowering FABS of vector types.
...
llvm-svn: 163461
2012-09-08 07:31:51 +00:00
Craig Topper
3e41a5bb31
Set operation action for FFLOOR to Expand for all vector types for X86. Set FFLOOR of v4f32 to Expand for ARM. v2f64 was already correct.
...
llvm-svn: 163458
2012-09-08 04:58:43 +00:00
Ted Kremenek
d94669675b
Revert "Add -exact-match option to FileCheck to allow clients to do exact matches without using regular expressions."
...
Turns out I did not need it after all. If we find a use for it in the future, we
can resurrect it.
llvm-svn: 163457
2012-09-08 04:32:13 +00:00
Ted Kremenek
0b3e805e4b
Add operator< for FoldingSetNodeID.
...
llvm-svn: 163454
2012-09-08 04:25:29 +00:00