Skip to content
  1. Jul 22, 2010
  2. Jul 08, 2010
  3. Jun 09, 2010
    • Bill Wendling's avatar
      It's an error to translate this: · 5ac1d23d
      Bill Wendling authored
         %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>.
      
      llvm-svn: 105741
      5ac1d23d
  4. Mar 26, 2010
  5. Feb 09, 2010
  6. Jan 19, 2010
  7. Jan 13, 2010
Loading