llvm-6502/lib
Jakob Stoklund Olesen d36f5af224 Set correct <def,undef> flags when lowering REG_SEQUENCE.
A REG_SEQUENCE instruction is lowered into a sequence of partial defs:

  %vreg7:ssub_0<def,undef> = COPY %vreg20:ssub_0
  %vreg7:ssub_1<def> = COPY %vreg2
  %vreg7:ssub_2<def> = COPY %vreg2
  %vreg7:ssub_3<def> = COPY %vreg2

The first def needs an <undef> flag to indicate it is the beginning of
the live range, while the other defs are read-modify-write.  Previously,
we depended on LiveIntervalAnalysis to notice and fix the missing
<def,undef>, but that solution was never robust, it was causing problems
with ProcessImplicitDefs and the lowering of chained REG_SEQUENCE
instructions.

This fixes PR11841.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148879 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-24 23:28:42 +00:00
..
Analysis teach valuetracking about ConstantDataSequential 2012-01-24 07:54:10 +00:00
Archive Avoid using an invalidated iterator. 2012-01-23 05:07:16 +00:00
AsmParser More dead code removal (using -Wunreachable-code) 2012-01-20 21:51:11 +00:00
Bitcode Extend Attributes to 64 bits 2012-01-20 17:56:17 +00:00
CodeGen Set correct <def,undef> flags when lowering REG_SEQUENCE. 2012-01-24 23:28:42 +00:00
DebugInfo More dead code removal (using -Wunreachable-code) 2012-01-20 21:51:11 +00:00
ExecutionEngine add more support for ConstantDataSequential 2012-01-24 13:41:11 +00:00
Linker add more support for ConstantDataSequential 2012-01-24 13:41:11 +00:00
MC ARM Darwin symbol ref differences w/o subsection-via-symbols. 2012-01-24 21:45:25 +00:00
Object Sink assert-only variables into the asserts 2012-01-24 19:43:30 +00:00
Support Remove dead default. 2012-01-23 22:37:11 +00:00
TableGen More dead code removal (using -Wunreachable-code) 2012-01-20 21:51:11 +00:00
Target Sign-extend 32-bit integer arguments when they are passed in 64-bit registers, 2012-01-24 23:18:43 +00:00
Transforms [asan] enable asan only for the functions that have Attribute::AddressSafety 2012-01-24 19:34:43 +00:00
VMCore C++, CBE, and TLOF support for ConstantDataSequential 2012-01-24 14:17:05 +00:00
CMakeLists.txt Move TableGen's parser and entry point into a library 2011-10-01 16:41:13 +00:00
LLVMBuild.txt
Makefile Remove more of llvmc and dependencies. 2011-09-20 00:34:27 +00:00