Skip to content
  1. Feb 16, 2008
    • Bill Wendling's avatar
      Fix typos. · f861fbaa
      Bill Wendling authored
      llvm-svn: 47200
      f861fbaa
    • Dan Gohman's avatar
      Rename CountMemOperands to ComputeMemOperandsEnd to reflect what · 27ae5739
      Dan Gohman authored
      it actually does. Simplify CountOperands a little by reusing
      ComputeMemOperandsEnd. And reword some comments for both.
      
      llvm-svn: 47198
      27ae5739
    • Dan Gohman's avatar
      Revert 47177, which was incorrect. · 856c0120
      Dan Gohman authored
      llvm-svn: 47196
      856c0120
    • Scott Michel's avatar
      Make tblgen a little smarter about constants smaller than i32. Currently, · a3cefeaf
      Scott Michel authored
      tblgen will complain if a sign-extended constant does not fit into a
      data type smaller than i32, e.g., i16. This causes a problem when certain
      hex constants are used, such as 0xff for byte masks or immediate xor
      values.
      
      tblgen will try the sign-extended value first and, if the sign extended
      value would overflow, it tries to see if the unsigned value will fit.
      Consequently, a software developer can now safely incant:
      
      	(XORHIr16 R16C:$rA, 0xffff)
      
      which is somewhat clearer and more informative than incanting:
      
      	(XORHIr16 R16C:$rA, (i16 -1))
      
      even if the two are bitwise equivalent.
      
      Tblgen also outputs the 64-bit unsigned constant in the generated ISel code
      when getTargetConstant() is invoked.
      
      llvm-svn: 47188
      a3cefeaf
  2. Feb 15, 2008
  3. Feb 14, 2008
  4. Feb 13, 2008
  5. Feb 12, 2008
    • Duncan Sands's avatar
      Generalize getCopyFromParts and getCopyToParts to · f213e82b
      Duncan Sands authored
      handle arbitrary precision integers and any number
      of parts.  For example, on a 32 bit machine an i50
      corresponds to two i32 parts.  getCopyToParts will
      extend the i50 to an i64 then write half of the i64
      to each part; getCopyFromParts will combine the two
      i32 parts into an i64 then truncate the result to
      i50.
      
      llvm-svn: 47024
      f213e82b
  6. Feb 11, 2008
Loading