Jim Grosbach
3b72823981
trailing whitespace.
...
llvm-svn: 126733
2011-03-01 01:39:05 +00:00
Jim Grosbach
fbdcd70f4b
Generalize the register matching code in DAGISel a bit.
...
llvm-svn: 126731
2011-03-01 01:37:19 +00:00
Bill Wendling
304dda7810
Narrow right shifts need to encode their immediates differently from a normal
...
shift.
16-bit: imm6<5:3> = '001', 8 - <imm> is encded in imm6<2:0>
32-bit: imm6<5:4> = '01',16 - <imm> is encded in imm6<3:0>
64-bit: imm6<5> = '1', 32 - <imm> is encded in imm6<4:0>
llvm-svn: 126723
2011-03-01 01:00:59 +00:00
Eli Friedman
c00dc3f262
Add an obvious missing safety check to DAE::RemoveDeadArgumentsFromCallers.
...
llvm-svn: 126720
2011-03-01 00:33:47 +00:00
Chris Lattner
871d62dc5b
add a note
...
llvm-svn: 126719
2011-03-01 00:24:51 +00:00
Ted Kremenek
8c2e50117d
Unbreak CMake build.
...
llvm-svn: 126717
2011-03-01 00:02:51 +00:00
Ted Kremenek
7b6189c848
Unbreak CMake build.
...
llvm-svn: 126715
2011-02-28 23:56:33 +00:00
Talin
753b7ce425
Add an END_WITH_NULL accessor for ConstantStruct.
...
llvm-svn: 126714
2011-02-28 23:53:27 +00:00
Chris Lattner
77d6f9b20e
update cmake
...
llvm-svn: 126694
2011-02-28 22:45:25 +00:00
Renato Golin
986151bc09
Fix .fpu printing in ARM assembly, regarding bug http://llvm.org/bugs/show_bug.cgi?id=8931
...
llvm-svn: 126689
2011-02-28 22:04:27 +00:00
Kevin Enderby
da76779962
Add missing whitespace in the formatting.
...
llvm-svn: 126687
2011-02-28 21:45:12 +00:00
Jan Sjödin
6bc6d6ab39
Make all static functions become static class methods. Move shared (duplicated) functions to new MCELF class.
...
llvm-svn: 126686
2011-02-28 21:45:04 +00:00
Owen Anderson
22d34c260e
Use the correct shift amount type.
...
llvm-svn: 126684
2011-02-28 21:10:10 +00:00
Owen Anderson
1614a324d9
Clean whitespace.
...
llvm-svn: 126683
2011-02-28 20:57:56 +00:00
Chris Lattner
355d573721
fix a signed comparison warning.
...
llvm-svn: 126682
2011-02-28 20:50:35 +00:00
Dan Gohman
8586cb2f51
Delete obsolete test.
...
llvm-svn: 126680
2011-02-28 19:58:14 +00:00
Owen Anderson
9d0944d6bd
Fix warning when building with clang++.
...
llvm-svn: 126679
2011-02-28 19:58:06 +00:00
Dan Gohman
91de965338
Delete the GEPSplitter experiment.
...
llvm-svn: 126671
2011-02-28 19:47:47 +00:00
Dan Gohman
db646bfdad
Delete the SimplifyHalfPowrLibCalls pass, which was unused, and
...
only existed as the result of a misunderstanding.
llvm-svn: 126669
2011-02-28 19:41:14 +00:00
Dan Gohman
1ee6941aca
Delete the LiveValues pass. I won't get get back to the project it
...
was started for in the foreseeable future.
llvm-svn: 126668
2011-02-28 19:37:59 +00:00
Jakob Stoklund Olesen
2bec7738eb
Fix typo introduced by r126661: "Fix a typo which ..."
...
llvm-svn: 126666
2011-02-28 19:18:59 +00:00
David Greene
3bc73b0ae9
[AVX] Add decode support for VUNPCKLPS/D instructions, both 128-bit
...
and 256-bit forms. Because the number of elements in a vector
does not determine the vector type (4 elements could be v4f32 or
v4f64), pass the full type of the vector to decode routines.
llvm-svn: 126664
2011-02-28 19:06:56 +00:00
Kevin Enderby
a1c2ea4ba0
Fix the arm's disassembler for blx that was building an MCInst without the
...
needed two predicate operands before the imm operand.
llvm-svn: 126662
2011-02-28 18:46:31 +00:00
Evan Cheng
4e6d375744
Fix a typo which cause dag combine crash. rdar://9059537.
...
llvm-svn: 126661
2011-02-28 18:45:27 +00:00
Stuart Hastings
539d4e1460
Support for byval parameters on ARM. Will be enabled by a forthcoming
...
patch to the front-end. Radar 7662569.
llvm-svn: 126655
2011-02-28 17:17:53 +00:00
Duncan Sands
0f78cf8a37
Windows codegen also dies on this, so restrict to the platform it was
...
actually tested on.
llvm-svn: 126652
2011-02-28 14:22:08 +00:00
Kalle Raiskila
cc5b703c81
Add branch hinting for SPU.
...
The implemented algorithm is overly simplistic (just speculate all branches are
taken)- this is work in progress.
llvm-svn: 126651
2011-02-28 14:08:24 +00:00
Duncan Sands
195d2036d0
Make this test x86 specific because the ARM backend can't handle it.
...
llvm-svn: 126650
2011-02-28 12:30:47 +00:00
Frits van Bommel
4a2b658705
Teach SimplifyCFG that (switch (select cond, X, Y)) is better expressed as a branch.
...
Based on a patch by Alistair Lynn.
llvm-svn: 126647
2011-02-28 09:44:07 +00:00
Nick Lewycky
fe02856d37
Fix comment.
...
llvm-svn: 126645
2011-02-28 09:18:11 +00:00
Nick Lewycky
dcc97b5f44
srem doesn't actually have the same resulting sign as its numerator, you could
...
also have a zero when numerator = denominator. Reverts parts of r126635 and
r126637.
llvm-svn: 126644
2011-02-28 09:17:39 +00:00
Nick Lewycky
28f01da48e
Teach InstCombine to fold "(shr exact X, Y) == 0" --> X == 0, fixing #1 from
...
PR9343.
llvm-svn: 126643
2011-02-28 08:31:40 +00:00
Nick Lewycky
dd5df7ef0a
Teach value tracking to make use of flags in more situations.
...
llvm-svn: 126642
2011-02-28 08:02:21 +00:00
Nick Lewycky
aa03b76c53
Teach ValueTracking to look at the dividend when determining the sign bit of an
...
srem instruction.
llvm-svn: 126637
2011-02-28 06:52:12 +00:00
Che-Liang Chiou
4026d01040
Add preliminary support for .f32 in the PTX backend.
...
- Add appropriate TableGen patterns for fadd, fsub, fmul.
- Add .f32 as the PTX type for the LLVM float type.
- Allow parameters, return values, and global variable declarations
to accept the float type.
- Add appropriate test cases.
Patch by Justin Holewinski
llvm-svn: 126636
2011-02-28 06:34:09 +00:00
Nick Lewycky
e0f44d0aba
The sign of an srem instruction is the sign of its dividend (the first
...
argument), regardless of the divisor. Teach instcombine about this and fix
test7 in PR9343!
llvm-svn: 126635
2011-02-28 06:20:05 +00:00
NAKAMURA Takumi
9c6821e474
Don't install libUnitTestMain.a. It might be useless without gtest headers.
...
llvm-svn: 126632
2011-02-28 05:18:07 +00:00
Bill Wendling
bb975d9dcb
Update the documentation on "How to Release LLVM". It lays out a new way of
...
tagging and branching for the release. I will update this more throughout the
2.9 release process.
llvm-svn: 126604
2011-02-28 01:10:44 +00:00
Chris Lattner
7513f07004
add the ability to walk the scope tree and insert at not-the-current
...
scope.
llvm-svn: 126591
2011-02-27 22:51:57 +00:00
Chris Lattner
3fac41ace4
add a data() method.
...
llvm-svn: 126590
2011-02-27 22:51:37 +00:00
Rafael Espindola
53fdf0bfc1
Gold now rescans archives as needed, so the pass-through options are not
...
necessary anymore.
llvm-svn: 126580
2011-02-27 20:30:22 +00:00
Rafael Espindola
744cde8b39
bfd was fixed, remove the work around.
...
llvm-svn: 126579
2011-02-27 20:15:37 +00:00
Benjamin Kramer
0bdf517525
Silence enum conversion warnings.
...
llvm-svn: 126578
2011-02-27 18:13:53 +00:00
Duncan Sands
b6f7dcb996
Legalize support for fpextend of vector. PR9309.
...
llvm-svn: 126574
2011-02-27 14:41:27 +00:00
Duncan Sands
ab32f19034
Fix typo pointed out in pr9339.
...
llvm-svn: 126573
2011-02-27 13:54:01 +00:00
Oscar Fuentes
8b7659cfbd
Install include/llvm/Support/LICENSE.TXT. PR9321.
...
llvm-svn: 126571
2011-02-27 13:32:50 +00:00
NAKAMURA Takumi
b35d45a714
Target/X86: Always emit "push/pop GPRs" in prologue/epilogue and emit "spill/reload frames" for XMMs.
...
It improves Win64's prologue/epilogue but it would not affect ia32 and amd64 (lack of nonvolatile XMMs).
llvm-svn: 126568
2011-02-27 08:47:19 +00:00
Cameron Zwarich
764320383d
Fix PR9324 / <rdar://problem/9052489> by handling the case where a PHI has no uses.
...
llvm-svn: 126567
2011-02-27 08:06:01 +00:00
Cameron Zwarich
1409977fe2
Give a test file a more sensible name so that it can hold more test cases.
...
llvm-svn: 126566
2011-02-27 08:05:57 +00:00
Nadav Rotem
961627db07
Fix typos in the comments.
...
llvm-svn: 126565
2011-02-27 07:40:43 +00:00