- Jun 28, 2011
-
-
Andrew Trick authored
llvm-svn: 134008
-
Roman Divacky authored
llvm-svn: 134005
-
Andrew Trick authored
llvm-svn: 133998
-
Jakob Stoklund Olesen authored
Also and add a test for popping dead return values and avoid testing the spill precision. llvm-svn: 133997
-
Chandler Carruth authored
opening single quote with no closing single quote, and with {} quotes "inside" of it. This broke some of our tools that scrape test cases. Also, while here, make the test actually assert what the comment says it asserts. This was essentially authored by Nick Lewycky, and merely typed in by myself. Let me know if this is still missing the mark, but the previous test only succeeded due to the improper quoting preventing *anything* from matching the grep -- it had a '4(%...)' sequence in the output! llvm-svn: 133980
-
Jim Grosbach authored
When the destination operand is the same as the first source register operand for arithmetic instructions, the destination operand may be omitted. For example, the following two instructions are equivalent: and r1, #ff and r1, r1, #ff rdar://9672867 llvm-svn: 133973
-
Jim Grosbach authored
Correctly parse the forms of the Thumb mov-immediate instruction: 1. 8-bit immediate 0-255. 2. 12-bit shifted-immediate. The 16-bit immediate "movw" form is also legal with just a "mov" mnemonic, but is not yet supported. More parser logic necessary there due to fixups. llvm-svn: 133966
-
Evan Cheng authored
llvm-svn: 133962
-
Devang Patel authored
During bottom up fast-isel, instructions emitted to materalize registers are at top of basic block and do not have debug location. This may misguide debugger while entering the basic block and sometimes debugger provides semi useful view of current location to developer by picking up previous known location as current location. Assign a sensible location to the first instruction in a basic block, if it does not have one location derived from source file, so that debugger can provide meaningful user experience to developers in edge cases. llvm-svn: 133953
-
Eric Christopher authored
llvm-svn: 133952
-
- Jun 27, 2011
-
-
Jim Grosbach authored
llvm-svn: 133936
-
Eric Christopher authored
llvm-svn: 133935
-
Jim Grosbach authored
Add aliases for the vpush/vpop mnemonics to the VFP load/store multiple writeback instructions w/ SP as the base pointer. rdar://9683231 llvm-svn: 133932
-
Jim Grosbach authored
When the destination operand is the same as the first source register operand for arithmetic instructions, the destination operand may be omitted. For example, the following two instructions are equivalent: sub r2, r2, #6 sub r2, #6 rdar://9682597 llvm-svn: 133925
-
Jakob Stoklund Olesen authored
Also fix some of the tests that were actually testing wrong behavior - An input operand in {st} is only popped by the inline asm when {st} is also in the clobber list. The original bug reports all had ~{st} clobbers as they should. llvm-svn: 133916
-
Nick Lewycky authored
alloca that only holds a copy of a global and we're going to replace the users of the alloca with that global, just nuke the lifetime intrinsics. Part of PR10121. llvm-svn: 133905
-
- Jun 25, 2011
-
-
Dan Bailey authored
llvm-svn: 133875
-
Dan Bailey authored
The .b8 operations in PTX are far more limiting than I first thought. The mov operation isn't even supported, so there's no way of converting a .pred value into a .b8 without going via .b16, which is not sensible. An improved implementation needs to use the fact that loads and stores automatically extend and truncate to implement support for EXTLOAD and TRUNCSTORE in order to correctly support boolean values. llvm-svn: 133873
-
Chad Rosier authored
llvm-svn: 133863
-
Jim Grosbach authored
Hopefully make the x86-target-only Windows bots happy. llvm-svn: 133856
-
- Jun 24, 2011
-
-
Jim Grosbach authored
llvm-svn: 133823
-
Devang Patel authored
llvm-svn: 133821
-
Dan Bailey authored
The i8 type is required for boolean values, but can only use ld, st and mov instructions. The i1 type continues to be used for predicates. llvm-svn: 133814
-
Chad Rosier authored
instructions can be used to match combinations of multiply/divide and VCVT (between floating-point and integer, Advanced SIMD). Basically the VCVT immediate operand that specifies the number of fraction bits corresponds to a floating-point multiply or divide by the corresponding power of 2. For example, VCVT (floating-point to fixed-point, Advanced SIMD) can replace a combination of VMUL and VCVT (floating-point to integer) as follows: Example (assume d17 = <float 8.000000e+00, float 8.000000e+00>): vmul.f32 d16, d17, d16 vcvt.s32.f32 d16, d16 becomes: vcvt.s32.f32 d16, d16, #3 Similarly, VCVT (fixed-point to floating-point, Advanced SIMD) can replace a combinations of VCVT (integer to floating-point) and VDIV as follows: Example (assume d17 = <float 8.000000e+00, float 8.000000e+00>): vcvt.f32.s32 d16, d16 vdiv.f32 d16, d17, d16 becomes: vcvt.f32.s32 d16, d16, #3 llvm-svn: 133813
-
Akira Hatanaka authored
enables SelectionDAG::getLoad at MipsISelLowering.cpp:1914 to return a pre-existing node instead of redundantly create a new node every time it is called. llvm-svn: 133811
-
Akira Hatanaka authored
static variables or functions. llvm-svn: 133803
-
- Jun 23, 2011
-
-
Eli Friedman authored
llvm-svn: 133759
-
Eli Friedman authored
llvm-svn: 133756
-
Justin Holewinski authored
parameters if SM >= 2.0 - Update test cases to be more robust against register allocation changes - Bump up the number of registers to 128 per type - Include Python script to re-generate register file with any number of registers llvm-svn: 133736
-
Justin Holewinski authored
llvm-svn: 133735
-
Andrew Trick authored
llvm-svn: 133729
-
Andrew Trick authored
llvm-svn: 133725
-
Andrew Trick authored
Take #2. Don't piggyback on the existing config.build_mode. Instead, define a new lit feature for each build feature we need (currently just "asserts"). Teach both autoconf'd and cmake'd Makefiles to define this feature within test/lit.site.cfg. This doesn't require any lit harness changes and should be more robust across build systems. llvm-svn: 133664
-
Rafael Espindola authored
don't remove blocks that have their address taken. llvm-svn: 133659
-
- Jun 22, 2011
-
-
Daniel Dunbar authored
the site config. llvm-svn: 133641
-
Nick Lewycky authored
llvm-svn: 133634
-
Nick Lewycky authored
is larger than the sum of the elements (including per-element padding). llvm-svn: 133631
-
Andrew Trick authored
test/lit.site.cfg, not Unit/test/lit.site.cfg. llvm-svn: 133608
-
Justin Holewinski authored
llvm-svn: 133599
-
Justin Holewinski authored
Patch by Wei-Ren Chen llvm-svn: 133589
-