llvm-6502/lib
Jakob Stoklund Olesen 84315f03cb Preserve 2-addr constraints in ConnectedVNInfoEqClasses.
When a live range splits into multiple connected components, we would
arbitrarily assign <undef> uses to component 0. This is wrong when the
use is tied to a def that gets assigned to a different component:

  %vreg69<def> = ADD8ri %vreg68<undef>, 1

The use and def must get the same virtual register.

Fix this by assigning <undef> uses to the same component as the value
defined by the instruction, if any:

  %vreg69<def> = ADD8ri %vreg69<undef>, 1

This fixes PR13402. The PR has a test case which I am not including
because it is unlikely to keep exposing this behavior in the future.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160739 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-25 17:15:15 +00:00
..
Analysis When folding a load from a global constant, if the load started in the middle 2012-07-25 09:14:54 +00:00
Archive Include cstdio in a few place that depended on getting it transitively through StringExtras.h 2012-03-23 11:35:30 +00:00
AsmParser Extend the IL for selecting TLS models (PR9788) 2012-06-23 11:37:03 +00:00
Bitcode Remove tabs. 2012-07-19 00:15:11 +00:00
CodeGen Preserve 2-addr constraints in ConnectedVNInfoEqClasses. 2012-07-25 17:15:15 +00:00
DebugInfo DebugInfo library: add support for fetching absolute paths to source files 2012-07-19 07:03:58 +00:00
ExecutionEngine Fix a typo (the the => the) 2012-07-23 08:51:15 +00:00
Linker Extend the IL for selecting TLS models (PR9788) 2012-06-23 11:37:03 +00:00
MC Fix a typo (the the => the) 2012-07-23 08:51:15 +00:00
Object Reverting r 160419. 2012-07-19 21:43:55 +00:00
Support make ConstantRange::zeroExtend() optimal 2012-07-23 20:33:29 +00:00
TableGen TableGen: Location information for diagnostic. 2012-07-12 00:53:31 +00:00
Target ARM: Don't assume an SDNode is a constant. 2012-07-25 17:02:47 +00:00
Transforms make all Emit*() functions consult the TargetLibraryInfo information before creating a call to a library function. 2012-07-25 16:46:31 +00:00
VMCore Fix a dangling StringRef bug in the auto upgrader. In one case, we reset 2012-07-20 21:09:18 +00:00
CMakeLists.txt
LLVMBuild.txt LLVMBuild: Introduce a common section which currently has a list of the 2011-12-12 22:45:54 +00:00
Makefile