[clang] [CIR] Update CIR unary operations (PR #201727)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 22 09:14:08 PDT 2026
================
@@ -2436,7 +2462,7 @@ def CIR_AddOp
let description = [{
The `cir.add` operation performs addition on integer operands. Both
operands and the result must have the same integer or vector-of-integer
- type. Floating-point addition is performed by `cir.fadd`.
+ type.
----------------
andykaylor wrote:
I came to the opposite conclusion. As variations of this comment were showing up in all the places that we had separate integer and floating-point operations it felt like overkill to keep pointing to the floating-point operations from the integer description. Similar parallel definitions in the LLVM language reference and the LLVM MLIR dialect have no such comments.
https://github.com/llvm/llvm-project/pull/201727
More information about the cfe-commits
mailing list