- Jul 26, 2011
-
-
Jim Grosbach authored
Allow the rot_imm operand to be optional. This sets the stage for refactoring away the "rr" versions from the multiclasses and replacing them with Pat<>s. llvm-svn: 136154
-
Jim Grosbach authored
Start of cleaning this up a bit. First step is to remove the encoder hook by storing the operand as the bits it'll actually encode to so it can just be directly used. Map it to the assembly source values 8/16/24 when we print it. llvm-svn: 136152
-
Eli Friedman authored
Prevent x86-specific DAGCombine from creating nodes with illegal type (which could not be selected). Fixes a minor isel issue that was breaking the testcase from r136130. llvm-svn: 136148
-
Owen Anderson authored
Split am2offset into register addend and immediate addend forms, necessary for allowing the fixed-length disassembler to distinguish between SBFX and STR_PRE. llvm-svn: 136141
-
Nicolas Geoffray authored
llvm-svn: 136138
-
Jim Grosbach authored
llvm-svn: 136132
-
Jim Grosbach authored
llvm-svn: 136110
-
Bruno Cardoso Lopes authored
llvm-svn: 136109
-
Bruno Cardoso Lopes authored
llvm-svn: 136108
-
Jim Grosbach authored
rdar://9842203 llvm-svn: 136102
-
Jim Grosbach authored
llvm-svn: 136098
-
Jim Grosbach authored
llvm-svn: 136096
-
Jim Grosbach authored
No intendeded functional change. Just cleaning up a bit to make things more self-consistent in layout and style. llvm-svn: 136095
-
Jim Grosbach authored
llvm-svn: 136091
-
Jim Grosbach authored
llvm-svn: 136090
-
Bill Wendling authored
llvm-svn: 136065
-
Bruno Cardoso Lopes authored
llvm-svn: 136051
-
Bruno Cardoso Lopes authored
support for 256-bit versions (but no instruction selection yet, coming next). llvm-svn: 136050
-
Bruno Cardoso Lopes authored
llvm-svn: 136049
-
Bruno Cardoso Lopes authored
llvm-svn: 136048
-
Bruno Cardoso Lopes authored
27 insertions(+), 62 deletions(-) llvm-svn: 136047
-
Evan Cheng authored
llvm-svn: 136031
-
Chandler Carruth authored
llvm-svn: 136030
-
Evan Cheng authored
Rename TargetAsmParser to MCTargetAsmParser and TargetAsmLexer to MCTargetAsmLexer; rename createAsmLexer to createMCAsmLexer and createAsmParser to createMCAsmParser. llvm-svn: 136027
-
Chandler Carruth authored
The first problem to fix is to stop creating synthetic *Table_gen targets next to all of the LLVM libraries. These had no real effect as CMake specifies that add_custom_command(OUTPUT ...) directives (what the 'tablegen(...)' stuff expands to) are implicitly added as dependencies to all the rules in that CMakeLists.txt. These synthetic rules started to cause problems as we started more and more heavily using tablegen files from *subdirectories* of the one where they were generated. Within those directories, the set of tablegen outputs was still available and so these synthetic rules added them as dependencies of those subdirectories. However, they were no longer properly associated with the custom command to generate them. Most of the time this "just worked" because something would get to the parent directory first, and run tablegen there. Once run, the files existed and the build proceeded happily. However, as more and more subdirectories have started using this, the probability of this failing to happen has increased. Recently with the MC refactorings, it became quite common for me when touching a large enough number of targets. To add insult to injury, several of the backends *tried* to fix this by adding explicit dependencies back to the parent directory's tablegen rules, but those dependencies didn't work as expected -- they weren't forming a linear chain, they were adding another thread in the race. This patch removes these synthetic rules completely, and adds a much simpler function to declare explicitly that a collection of tablegen'ed files are referenced by other libraries. From that, we can add explicit dependencies from the smaller libraries (such as every architectures Desc library) on this and correctly form a linear sequence. All of the backends are updated to use it, sometimes replacing the existing attempt at adding a dependency, sometimes adding a previously missing dependency edge. Please let me know if this causes any problems, but it fixes a rather persistent and problematic source of build flakiness on our end. llvm-svn: 136023
-
Evan Cheng authored
llvm-svn: 136010
-
Jim Grosbach authored
llvm-svn: 136006
-
Bruno Cardoso Lopes authored
This also fixes PR10452 llvm-svn: 136004
-
Bruno Cardoso Lopes authored
llvm-svn: 136003
-
Bruno Cardoso Lopes authored
shuffle before inserting on a 256-bit vector. - Add AVX versions of movd/movq instructions - Introduce a few COPY patterns to match insert_subvector instructions. This turns a trivial insert_subvector instruction into a register copy, coalescing the xmm into a ymm and avoid emiting on more instruction. llvm-svn: 136002
-
Bruno Cardoso Lopes authored
native 256-bit vector instruction to do scalar_to_vector. llvm-svn: 136001
-
Benjamin Kramer authored
llvm-svn: 135996
-
Jim Grosbach authored
Fix the Rn register encoding for both SSAT and USAT. Update the parsing of the shift operand to correctly handle the allowed shift types and immediate ranges and issue meaningful diagnostics when an illegal value or shift type is specified. Add aliases to parse an ommitted shift operand (default value of 'lsl #0'). Add tests for diagnostics and proper encoding. llvm-svn: 135990
-
Evan Cheng authored
llvm-svn: 135986
-
- Jul 25, 2011
-
-
Evan Cheng authored
llvm-svn: 135982
-
Eli Friedman authored
Addresses PR10466, although the crash from that PR only triggers in cases where DAGCombine misses optimizing a shuffle. llvm-svn: 135980
-
Evan Cheng authored
llvm-svn: 135979
-
Evan Cheng authored
llvm-svn: 135978
-
Rafael Espindola authored
llvm-svn: 135975
-
Evan Cheng authored
llvm-svn: 135974
-