[X86][NFC] Fix a bug after D150436 and update some comments
authorWang, Xin10 <xin10.wang@intel.com>
Mon, 29 May 2023 01:09:08 +0000 (21:09 -0400)
committerWang, Xin10 <xin10.wang@intel.com>
Mon, 29 May 2023 01:09:37 +0000 (21:09 -0400)
commitaf55b0d79d25c3bc977cac687eb5e530e9891a59
tree8e851d98c2a4d16d1614a8bd10edfbceb6426cd8
parent9f6250f591057e68c0bda564716b6918b8e39a84
[X86][NFC] Fix a bug after D150436 and update some comments

D150436 changed the order for INC*r, but unintentionally remove 'isConvertibleToThreeAddress = 1' for INC*r_alt.
This patch also update wrong comment X86InstrArithmetic.td, and move class ITy to InstrInfo.td for it's a general class.

Reviewed By: skan

Differential Revision: https://reviews.llvm.org/D151527
llvm/lib/Target/X86/X86InstrArithmetic.td
llvm/lib/Target/X86/X86InstrInfo.td