[CodeGen] Clarify the semantics of ADDCARRY/SUBCARRY
authorKazu Hirata <kazu@google.com>
Mon, 9 May 2022 17:17:00 +0000 (10:17 -0700)
committerKazu Hirata <kazu@google.com>
Mon, 9 May 2022 17:17:00 +0000 (10:17 -0700)
commit3f64f0328941c6ef13ce9d425f2a52061d774b92
treef9fd421ea2b5cdb01a11e80c969571e041c42531
parentb2206d1de3d33c8ae58433cb6c1d50b5db3417ce
[CodeGen] Clarify the semantics of ADDCARRY/SUBCARRY

This patch clarifies the semantics of ADDCARRY/SUBCARRY, specifically
stating that both the incoming and outgoing carries are active high.

Differential Revision: https://reviews.llvm.org/D125130
llvm/include/llvm/CodeGen/ISDOpcodes.h