llvm-6502/lib
Jakob Stoklund Olesen b7994fedcb Prevent potential NOREX bug.
A GR8_NOREX virtual register is created when extrating a sub_8bit_hi
sub-register:

  %vreg2<def> = COPY %vreg1:sub_8bit_hi; GR8_NOREX:%vreg2 %GR64_ABCD:%vreg1
  TEST8ri_NOREX %vreg2, 1, %EFLAGS<imp-def>; GR8_NOREX:%vreg2

If such a live range is ever split, its register class must not be
inflated to GR8.  The sub-register copy can only target GR8_NOREX.

I dont have a test case for this theoretical bug.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141500 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-08 20:20:03 +00:00
..
Analysis Add an extra safety check in front of the optimization in r141442. 2011-10-08 02:16:39 +00:00
Archive
AsmParser Remove last references to hotpatch. 2011-10-04 03:08:43 +00:00
Bitcode Also update the EH with bitcode. I missed this earlier. Thanks to Duncan for pointing it out. 2011-10-05 07:04:14 +00:00
CodeGen Use the code that lowers the arguments and spills any values which are alive 2011-10-08 00:56:47 +00:00
DebugInfo lib/DebugInfo/DWARFDebugLine.cpp: De-Unicode-ify. 2011-10-08 11:22:47 +00:00
ExecutionEngine MCJIT initialization TargetData 2011-09-30 16:40:10 +00:00
Linker lib/Linker: add support of deps which does not end with ".so". 2011-09-20 22:52:35 +00:00
MC Don't emit the symbol table entry for the .symtab_shndx section either. 2011-10-07 23:29:53 +00:00
Object lib/Object: Suppress warnings on gcc-4.3.4 cygwin 2011-10-08 11:22:53 +00:00
Support Fix APInt::operator*= so that it computes the correct result for large integers where there is unsigned overflow. Fix APFloat::toString so that it doesn't depend on the incorrect behavior in common cases (and computes the correct result in some rare cases). Fixes PR11086. 2011-10-07 23:40:49 +00:00
TableGen Revert r141079: tblgen: add preprocessor as a separate mode 2011-10-08 12:39:26 +00:00
Target Prevent potential NOREX bug. 2011-10-08 20:20:03 +00:00
Transforms LSR should only reuse phis that match its formula. 2011-10-07 23:46:21 +00:00
VMCore Move default to top of switch 2011-10-07 16:27:01 +00:00
CMakeLists.txt Move TableGen's parser and entry point into a library 2011-10-01 16:41:13 +00:00
Makefile Remove more of llvmc and dependencies. 2011-09-20 00:34:27 +00:00