Skip to content
  1. Oct 08, 2011
    • Jakob Stoklund Olesen's avatar
      Prevent potential NOREX bug. · 513d1213
      Jakob Stoklund Olesen authored
      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.
      
      llvm-svn: 141500
      513d1213
    • Jakob Stoklund Olesen's avatar
      Add TEST8ri_NOREX pseudo to constrain sub_8bit_hi copies. · 729abd36
      Jakob Stoklund Olesen authored
      In 64-bit mode, sub_8bit_hi sub-registers can only be used by NOREX
      instructions. The COPY created from the EXTRACT_SUBREG DAG node cannot
      target all GR8 registers, only those in GR8_NOREX.
      
      TO enforce this, we ensure that all instructions using the
      EXTRACT_SUBREG are GR8_NOREX constrained.
      
      This fixes PR11088.
      
      llvm-svn: 141499
      729abd36
  2. Oct 07, 2011
  3. Oct 06, 2011
  4. Oct 05, 2011
  5. Oct 04, 2011
  6. Oct 03, 2011
  7. Oct 02, 2011
  8. Oct 01, 2011
  9. Sep 29, 2011
  10. Sep 28, 2011
  11. Sep 26, 2011
  12. Sep 24, 2011
  13. Sep 23, 2011
  14. Sep 22, 2011
  15. Sep 21, 2011
Loading