Skip to content
  1. Aug 22, 2008
  2. Aug 21, 2008
  3. Aug 20, 2008
    • Dan Gohman's avatar
      Move the handling of ANY_EXTEND, SIGN_EXTEND_INREG, and TRUNCATE · 814f2916
      Dan Gohman authored
      out of X86ISelDAGToDAG.cpp C++ code and into tablegen code.
      Among other things, using tablegen for these things makes them
      friendlier to FastISel.
      
      Tablegen can handle the case of i8 subregs on x86-32, but currently
      the C++ code for that case uses MVT::Flag in a tricky way, and it
      happens to schedule better in some cases. So for now, leave the
      C++ code in place to handle the i8 case on x86-32.
      
      llvm-svn: 55078
      814f2916
Loading