llvm-6502/test
Evan Cheng 8f90b6eb2f The coalescer does not coalesce a virtual register to a physical register if any of the physical register's sub-register live intervals overlaps with the virtual register. This is overly conservative. It prevents a extract_subreg from being coalesced away:
v1024 = EDI  // not killed
      =
      = EDI

One possible solution is for the coalescer to examine the sub-register live intervals in the same manner as the physical register. Another possibility is to examine defs and uses (when needed) of sub-registers. Both solutions are too expensive. For now, look for "short virtual intervals" and scan instructions to look for conflict instead.

This is a small win on x86-64. e.g. It shaves 403.gcc by ~80 instructions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61847 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-07 02:08:57 +00:00
..
Analysis Don't try to analyze this "backward" case. This is overly conservative 2009-01-02 18:54:17 +00:00
Archive
Assembler Don't spew bitcode to standard out if this test 2009-01-05 10:52:29 +00:00
Bindings/Ocaml
Bitcode
BugPoint
CodeGen The coalescer does not coalesce a virtual register to a physical register if any of the physical register's sub-register live intervals overlaps with the virtual register. This is overly conservative. It prevents a extract_subreg from being coalesced away: 2009-01-07 02:08:57 +00:00
DebugInfo This test passes again, unXFAIL. 2009-01-05 09:30:47 +00:00
ExecutionEngine
Feature Reimplement the old and horrible bison parser for .ll files with a nice 2009-01-02 07:01:27 +00:00
FrontendAda
FrontendC Strength test. 2009-01-05 21:27:59 +00:00
FrontendC++ This test works again for Darwin because a patch was reverted. 2008-12-19 19:08:13 +00:00
FrontendFortran
FrontendObjC
FrontendObjC++
Integer alignment of 0 is not valid. 2009-01-05 08:14:35 +00:00
lib
Linker Reimplement the old and horrible bison parser for .ll files with a nice 2009-01-02 07:01:27 +00:00
LLVMC Use ignore & grep instead of XFAIL. 2008-12-21 07:47:49 +00:00
Other
Scripts
TableGen
Transforms make m_ConstantInt(int64_t) safely match ConstantInt's that are larger than i64. 2009-01-05 23:45:50 +00:00
Verifier Reimplement the old and horrible bison parser for .ll files with a nice 2009-01-02 07:01:27 +00:00
Makefile * Quoted the executable 'runtest' to emphasize the binary needed; 2009-01-01 20:26:05 +00:00
Makefile.tests
TestRunner.sh