aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/AArch64
diff options
context:
space:
mode:
authorHenrich Lauko <xlauko@mail.muni.cz>2026-03-03 22:34:18 +0100
committerGitHub <noreply@github.com>2026-03-03 22:34:18 +0100
commit89a4bcf023493cb75aded5a70c082c1fa7d46cbc (patch)
tree0ba3910a848731ef67cc24aa62a8f4ae233e1282 /llvm/test/CodeGen/AArch64
parentc4ea6cc3f736ab5b3feeaf16c448db5217b14306 (diff)
downloadllvm-main.zip
llvm-main.tar.gz
llvm-main.tar.bz2
[CIR] Split cir.binop into separate per-operation binary ops (#184227)HEADmain
Replace the single `cir.binop` operation (dispatched via a `BinOpKind` enum) with nine distinct ops — `cir.add`, `cir.sub`, `cir.mul`, `cir.div`, `cir.rem`, `cir.and`, `cir.or`, `cir.xor`, and `cir.max` — each with precise type constraints and only the attributes it needs (nsw/nuw/sat on add/sub via `BinaryOverflowOp`). A new `BinaryOpInterface` provides uniform `getLhs`/`getRhs`/`getResult` access for passes and analyses. The monolithic switch-based CIRToLLVMBinOpLowering is replaced by per-op patterns generated through the existing CIRLowering.inc TableGen infrastructure, with shared dispatch factored into two helpers: `lowerSaturatableArithOp` for add/sub and `lowerIntFPBinaryOp` for div/rem.
Diffstat (limited to 'llvm/test/CodeGen/AArch64')
0 files changed, 0 insertions, 0 deletions