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
Loading