- Apr 03, 2012
-
-
Bill Wendling authored
As Eric pointed out, even a Debug build should be equal. Leave the flag that can turn off comparisons though. llvm-svn: 153927
-
Andrew Trick authored
llvm-svn: 153922
-
Andrew Trick authored
I just noticed Jakob's examples of the proper application of std::set... routines. llvm-svn: 153918
-
Bill Wendling authored
llvm-svn: 153909
-
- Apr 02, 2012
-
-
Silviu Baranga authored
llvm-svn: 153875
-
Benjamin Kramer authored
This way we can get AVX v-prefixed instructions tail merged with the normal insns. llvm-svn: 153869
-
Craig Topper authored
Reorder fields in MatchEntry and OperandMatchEntry to reduce padding. A bit tricky due to the target specific sizes for some of the fields so the ordering is only optimal for the targets in the tree. llvm-svn: 153865
-
Craig Topper authored
Remove getInstructionName from MCInstPrinter implementations in favor of using the instruction name table from MCInstrInfo. Reduces static data in the InstPrinter implementations. llvm-svn: 153863
-
Craig Topper authored
llvm-svn: 153857
-
- Apr 01, 2012
-
-
Craig Topper authored
Use SequenceToOffsetTable to create instruction name table. Saves space particularly on X86 where AVX instructions just add a 'v' to the front of other instructions. llvm-svn: 153841
-
Benjamin Kramer authored
This also avoids emitting the information twice, which led to code bloat. On i386-linux-Release+Asserts with all targets built this change shaves a whopping 1.3 MB off clang. The number is probably exaggerated by recent inliner changes but the methods were already enormous with the old inline cost computation. The DWARF reg -> LLVM reg mapping doesn't seem to have holes in it, so it could be a simple lookup table. I didn't implement that optimization yet to avoid potentially changing functionality. There is still some duplication both in tablegen and the generated code that should be cleaned up eventually. llvm-svn: 153837
-
- Mar 31, 2012
-
-
Andrew Trick authored
llvm-svn: 153796
-
Andrew Trick authored
First small step toward modeling multi-register multi-pressure. In the future, register units can also be used to model liveness and aliasing. llvm-svn: 153794
-
Benjamin Kramer authored
It's slow, bloated and completely redundant with MCRegisterClass::contains. llvm-svn: 153782
-
- Mar 30, 2012
-
-
Jakob Stoklund Olesen authored
This allows suffix sharing in register names. (AX is a suffix of EAX). llvm-svn: 153777
-
Jakob Stoklund Olesen authored
Use an explicit comparator instead of the default. The sets are sorted, but not using the default comparator. Hopefully, this will unbreak the Linux builders. llvm-svn: 153772
-
Rafael Espindola authored
--enable-expensive-checks build. llvm-svn: 153771
-
Jakob Stoklund Olesen authored
Many register classes have the same value types. Share the table space. llvm-svn: 153764
-
Jakob Stoklund Olesen authored
TableGen emits lists of sub-registers, super-registers, and overlaps. Put them all in a single table and use a SequenceToOffsetTable to share suffixes. llvm-svn: 153761
-
Jakob Stoklund Olesen authored
This is similar to the StringToOffsetTable we use to produce string tables, but it can be used for other sequences than strings, and it eliminates entries for suffixes. llvm-svn: 153760
-
- Mar 29, 2012
-
-
Jakob Stoklund Olesen authored
llvm-svn: 153667
-
- Mar 28, 2012
-
-
Jakob Stoklund Olesen authored
The arm_neon intrinsics can create virtual registers from the DPair register class which allows both even-odd and odd-even D-register pairs. This fixes PR12389. llvm-svn: 153603
-
- Mar 26, 2012
-
-
Chris Lattner authored
llvm-svn: 153457
-
Benjamin Kramer authored
llvm-svn: 153432
-
- Mar 25, 2012
-
-
Eli Bendersky authored
a very (*very*) old version of Python (2.4?) llvm-svn: 153409
-
Eli Bendersky authored
* Removed test/lib/llvm.exp - it is no longer needed * Deleted the dg.exp reading code from test/lit.cfg. There are no dg.exp files left in the test suite so this code is no longer required. test/lit.cfg is now much shorter and clearer * Removed a lot of duplicate code in lit.local.cfg files that need access to the root configuration, by adding a "root" attribute to the TestingConfig object. This attribute is dynamically computed to provide the same information as was previously provided by the custom getRoot functions. * Documented the config.root attribute in docs/CommandGuide/lit.pod llvm-svn: 153408
-
- Mar 23, 2012
-
-
Benjamin Kramer authored
llvm-svn: 153328
-
Eric Christopher authored
llvm-svn: 153307
-
- Mar 21, 2012
-
-
Nico Weber authored
This is in braces so that it doesn't conflict with the existing %p. It uses braces instead of parens because parens would have to be regex-escaped. llvm-svn: 153213
-
NAKAMURA Takumi authored
lit/TestRunner.py: [Win32] Rework WinWaitReleased() again! "win32file" from Python Win32 Extensions. We can simply confirm the handle released to open it with EXCLUSIVE. Attempting renaming was bad. Disable win32file at ImportError. Thanks to Francois to let me know. FIXME: Could we report warning or notification if win32file were not found? llvm-svn: 153172
-
- Mar 20, 2012
-
-
Evan Cheng authored
llvm-svn: 153125
-
- Mar 16, 2012
-
-
Francois Pichet authored
llvm-svn: 152958
-
NAKAMURA Takumi authored
lit/TestRunner.py: [Win32] Check all opened_files[] released, rather than (obsoleted) written_files[]. In previous case, RUN: foo -o %t RUN: FileCheck < %t RUN: bar -o %t 2nd read handle might prevent manipulation of 3rd %t in bar, to remove and rename. llvm-svn: 152916
-
NAKAMURA Takumi authored
We can simply confirm the handle released to open it with EXCLUSIVE. Attempting renaming was bad. llvm-svn: 152915
-
Craig Topper authored
llvm-svn: 152906
-
Craig Topper authored
Const-correct the FixedLenDecoderEmitter. Pass a few things by const reference instead of value to avoid some copying. llvm-svn: 152899
-
Craig Topper authored
Spacing fixes. Mostly aligning arguments that spilled onto next line with the opening parenthese instead of 2 spaces in. llvm-svn: 152889
-
Craig Topper authored
Remove unused field NumVariable from Filter class. Even it was needed the same result could be found with VariableInstructions.size(). Also fix some typos in comments. llvm-svn: 152885
-
- Mar 15, 2012
-
-
Jakob Stoklund Olesen authored
llvm-svn: 152840
-
Jakob Stoklund Olesen authored
We currently assume that all targets have less than 64k opcodes. We shouldn't limit it further. llvm-svn: 152833
-