llvm-6502/lib
Bill Wendling d64ba3ee62 It's an error to translate this:
%reg1025 = <sext> %reg1024
    ...
   %reg1026 = SUBREG_TO_REG 0, %reg1024, 4

into this:

   %reg1025 = <sext> %reg1024
    ...
   %reg1027 = EXTRACT_SUBREG %reg1025, 4
   %reg1026 = SUBREG_TO_REG 0, %reg1027, 4

The problem here is that SUBREG_TO_REG is there to assert that an implicit zext
occurs. It doesn't insert a zext instruction. If we allow the EXTRACT_SUBREG
here, it will give us the value after the <sext>, not the original value of
%reg1024 before <sext>.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105741 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-09 19:00:55 +00:00
..
Analysis Revert 105540, 105542, 105544, 105546, and 105548 to unbreak bootstrapping. 2010-06-09 18:59:43 +00:00
Archive Eliminate some unnessary Path::exists() calls. 2010-05-27 20:51:54 +00:00
AsmParser Eliminate the restriction that the array size in an alloca must be i32. 2010-05-28 01:14:11 +00:00
Bitcode Speedup bitcode writer. Do not walk all values for all functions to emit function local metadata. In one testcase, probably worst case scenario, the 70x speed up is seen. 2010-06-02 23:05:04 +00:00
CodeGen It's an error to translate this: 2010-06-09 19:00:55 +00:00
CompilerDriver Print a space after the colon. 2010-05-20 21:11:37 +00:00
ExecutionEngine improve portability to systems that don't have powf/modf (e.g. solaris 9) 2010-05-15 17:10:24 +00:00
Linker Add basic error checking to MemoryBuffer::getSTDIN. 2010-05-27 17:31:51 +00:00
MC Don't call flush() at a library level which isn't checking for errors 2010-06-01 16:31:34 +00:00
Support Use const_iterator where appropriate. 2010-06-08 17:21:57 +00:00
System Factor out the handler work from SignalHandler into a helper function, 2010-05-27 23:11:55 +00:00
Target Fix SPU to cope with vector insertelement to an undef position. 2010-06-09 09:58:17 +00:00
Transforms Pulled CodeMetrics out of InlineCost.h and made it a bit more general, so it can be reused from PartialSpecializationCost 2010-06-09 15:11:37 +00:00
VMCore Another place where the code wanted to access the argument list and not all of 2010-06-07 19:18:58 +00:00
Makefile