LLVM/project 6ae9981clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/Dialect/IR CIRDialect.cpp

[CIR] Split CIR_UnaryOp into individual operations

Split the monolithic cir.unary operation (which dispatched on a
UnaryOpKind enum) into four separate operations: cir.inc, cir.dec,
cir.minus, and cir.not.

This follows the same pattern used when cir.binop was split into
individual binary operations (AddOp, SubOp, etc.).

Changes:
- Add CIR_UnaryOpInterface with getInput()/getResult() methods
- Add CIR_UnaryOp and CIR_UnaryOpWithOverflowFlag base classes
- Define IncOp, DecOp, MinusOp, NotOp with per-op folds
- Add Involution trait to NotOp for not(not(x)) -> x folding
- Replace createUnaryOp() with createInc/Dec/Minus/Not builders
- Split LLVM lowering into four separate patterns
- Split LoweringPrepare complex-type handling per unary op
- Update CIRCanonicalize and CIRSimplify for new op types
- Update all codegen files to use bool params instead of UnaryOpKind

    [6 lines not shown]
DeltaFile
+91-105clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+56-88clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+111-28clang/include/clang/CIR/Dialect/IR/CIROps.td
+62-62clang/test/CIR/CodeGenOpenACC/private-clause-pointer-array-recipes-CtorDtor.cpp
+41-41clang/test/CIR/CodeGenOpenACC/private-clause-pointer-array-recipes-NoOps.cpp
+36-36clang/test/CIR/CodeGenOpenACC/loop-reduction-clause-inline-ops.cpp
+397-36078 files not shown
+1,393-1,36784 files

LLVM/project d700deallvm/lib/Transforms/Vectorize VPlanUtils.cpp

[VPlan] Remove special handling for canonical increment (NFC).

The canonical IV increment should be proven as uniform-across-VF-and-UF
by the existing logic. Remove explicit handling, in preparation for
https://github.com/llvm/llvm-project/pull/156262. Split off as
suggested.
DeltaFile
+2-3llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+2-31 files

LLVM/project 4a4f96eclang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/Dialect/IR CIRDialect.cpp

[CIR] Split CIR_UnaryOp into individual operations

Split the monolithic cir.unary operation (which dispatched on a
UnaryOpKind enum) into four separate operations: cir.inc, cir.dec,
cir.minus, and cir.not.

This follows the same pattern used when cir.binop was split into
individual binary operations (AddOp, SubOp, etc.).

Changes:
- Add CIR_UnaryOpInterface with getInput()/getResult() methods
- Add CIR_UnaryOp and CIR_UnaryOpWithOverflowFlag base classes
- Define IncOp, DecOp, MinusOp, NotOp with per-op folds
- Add Involution trait to NotOp for not(not(x)) -> x folding
- Replace createUnaryOp() with createInc/Dec/Minus/Not builders
- Split LLVM lowering into four separate patterns
- Split LoweringPrepare complex-type handling per unary op
- Update CIRCanonicalize and CIRSimplify for new op types
- Update all codegen files to use bool params instead of UnaryOpKind

    [6 lines not shown]
DeltaFile
+91-105clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+56-88clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+111-28clang/include/clang/CIR/Dialect/IR/CIROps.td
+62-62clang/test/CIR/CodeGenOpenACC/private-clause-pointer-array-recipes-CtorDtor.cpp
+41-41clang/test/CIR/CodeGenOpenACC/private-clause-pointer-array-recipes-NoOps.cpp
+36-36clang/test/CIR/CodeGenOpenACC/loop-reduction-clause-inline-ops.cpp
+397-36078 files not shown
+1,393-1,36784 files

LLVM/project 5cc4594llvm/include/llvm/Analysis CFGPrinter.h, llvm/include/llvm/IR CFG.h

[IR] Implement successors as Use iterators (#186616)

This is possible since now all successor operands are stored
consecutively.

There is just one out-of-line function call instead of one call to
getSuccessor() per operand.
DeltaFile
+15-117llvm/include/llvm/IR/CFG.h
+6-5llvm/lib/Analysis/BranchProbabilityInfo.cpp
+5-4llvm/unittests/Analysis/CFGTest.cpp
+3-5llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
+4-4llvm/lib/Transforms/Scalar/JumpThreading.cpp
+3-3llvm/include/llvm/Analysis/CFGPrinter.h
+36-1381 files not shown
+37-1397 files

LLVM/project b85e7f0llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 shift-i512.ll

[X86] isSplatValueForTargetNode - test source value for vector uniform shift ops (#186619)

For old SSE style vector shifts, we just need to check the shifted value is a splat as the shift amount is uniform

Avoids an unnecessary variable shuffle in i512 ashr expansion
DeltaFile
+34-36llvm/test/CodeGen/X86/shift-i512.ll
+8-0llvm/lib/Target/X86/X86ISelLowering.cpp
+42-362 files

LLVM/project 8b3054fclang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/Dialect/IR CIRDialect.cpp

[CIR] Split CIR_UnaryOp into individual operations

Split the monolithic cir.unary operation (which dispatched on a
UnaryOpKind enum) into four separate operations: cir.inc, cir.dec,
cir.minus, and cir.not.

This follows the same pattern used when cir.binop was split into
individual binary operations (AddOp, SubOp, etc.).

Changes:
- Add CIR_UnaryOpInterface with getInput()/getResult() methods
- Add CIR_UnaryOp and CIR_UnaryOpWithOverflowFlag base classes
- Define IncOp, DecOp, MinusOp, NotOp with per-op folds
- Add Involution trait to NotOp for not(not(x)) -> x folding
- Replace createUnaryOp() with createInc/Dec/Minus/Not builders
- Split LLVM lowering into four separate patterns
- Split LoweringPrepare complex-type handling per unary op
- Update CIRCanonicalize and CIRSimplify for new op types
- Update all codegen files to use bool params instead of UnaryOpKind

    [6 lines not shown]
DeltaFile
+91-105clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+56-88clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+111-28clang/include/clang/CIR/Dialect/IR/CIROps.td
+62-62clang/test/CIR/CodeGenOpenACC/private-clause-pointer-array-recipes-CtorDtor.cpp
+41-41clang/test/CIR/CodeGenOpenACC/private-clause-pointer-array-recipes-NoOps.cpp
+36-36clang/test/CIR/CodeGenOpenACC/loop-reduction-clause-outline-ops.cpp
+397-36078 files not shown
+1,393-1,36784 files

LLVM/project 74af9c3llvm/lib/Transforms/Vectorize VPlan.h

[VPlan] Consolidate VPRegionBlock constructors (NFC).

Unify VPRegionBlock constructors into a single one, in preparation for
https://github.com/llvm/llvm-project/pull/156262. Split off as
suggested.
DeltaFile
+8-9llvm/lib/Transforms/Vectorize/VPlan.h
+8-91 files

LLVM/project 6af0466clang/lib/Format ContinuationIndenter.cpp, clang/unittests/Format FormatTest.cpp

[clang-format] Fix a crash on fuzzer-generated invalid C++ code (#186566)

Fixes #185421
DeltaFile
+8-0clang/unittests/Format/FormatTest.cpp
+2-1clang/lib/Format/ContinuationIndenter.cpp
+10-12 files

LLVM/project 3e3d2b6llvm/lib/Transforms/Vectorize VPlan.h VPlanUtils.h

[VPlan] Add hasPredecessors and hasSuccessors to VPBlockBase (NFC).

Add/move helpers to VPBlockBase, and use in a few more places.

Split off from https://github.com/llvm/llvm-project/pull/156262 as
suggested.
DeltaFile
+9-7llvm/lib/Transforms/Vectorize/VPlan.h
+4-7llvm/lib/Transforms/Vectorize/VPlanUtils.h
+1-1llvm/lib/Transforms/Vectorize/VPlan.cpp
+14-153 files

LLVM/project de0e10eclang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/Dialect/IR CIRDialect.cpp

[CIR] Split CIR_UnaryOp into individual operations

Split the monolithic cir.unary operation (which dispatched on a
UnaryOpKind enum) into four separate operations: cir.inc, cir.dec,
cir.minus, and cir.not.

This follows the same pattern used when cir.binop was split into
individual binary operations (AddOp, SubOp, etc.).

Changes:
- Add CIR_UnaryOpInterface with getInput()/getResult() methods
- Add CIR_UnaryOp and CIR_UnaryOpWithOverflowFlag base classes
- Define IncOp, DecOp, MinusOp, NotOp with per-op folds
- Add Involution trait to NotOp for not(not(x)) -> x folding
- Replace createUnaryOp() with createInc/Dec/Minus/Not builders
- Split LLVM lowering into four separate patterns
- Split LoweringPrepare complex-type handling per unary op
- Update CIRCanonicalize and CIRSimplify for new op types
- Update all codegen files to use bool params instead of UnaryOpKind

    [6 lines not shown]
DeltaFile
+91-105clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+56-88clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+111-28clang/include/clang/CIR/Dialect/IR/CIROps.td
+62-62clang/test/CIR/CodeGenOpenACC/private-clause-pointer-array-recipes-CtorDtor.cpp
+41-41clang/test/CIR/CodeGenOpenACC/private-clause-pointer-array-recipes-NoOps.cpp
+36-36clang/test/CIR/CodeGenOpenACC/combined-reduction-clause-inline-ops.cpp
+397-36078 files not shown
+1,393-1,36784 files

LLVM/project e3baec4clang/lib/CIR/CodeGen CIRGenExprComplex.cpp CIRGenExprScalar.cpp, clang/lib/CodeGen CGExprComplex.cpp

[CIR] Remove cir.unary(plus, ...) and emit nothing for unary plus (#185278)

Traditional codegen never emits any operation for unary plus — it just
visits the subexpression as a pure identity at the codegen level. Align
CIRGen with this behavior by removing Plus from UnaryOpKind entirely
and having VisitUnaryPlus directly visit the subexpression with the
appropriate promotion/demotion handling.
DeltaFile
+68-67clang/lib/CodeGen/CGExprComplex.cpp
+0-72clang/test/CIR/Transforms/canonicalize.cir
+10-26clang/test/CIR/CodeGen/complex-unary.cpp
+16-20clang/test/CIR/IR/unary.cir
+18-16clang/lib/CIR/CodeGen/CIRGenExprComplex.cpp
+14-12clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+126-21310 files not shown
+146-28316 files

LLVM/project 6e1d0d3clang/lib/CIR/CodeGen CIRGenExprComplex.cpp CIRGenExprScalar.cpp, clang/lib/CodeGen CGExprComplex.cpp

[CIR] Remove cir.unary(plus, ...) and emit nothing for unary plus

Traditional codegen never emits any operation for unary plus — it just
visits the subexpression as a pure identity at the codegen level. Align
CIRGen with this behavior by removing Plus from UnaryOpKind entirely
and having VisitUnaryPlus directly visit the subexpression with the
appropriate promotion/demotion handling.
DeltaFile
+68-67clang/lib/CodeGen/CGExprComplex.cpp
+0-72clang/test/CIR/Transforms/canonicalize.cir
+16-20clang/test/CIR/IR/unary.cir
+10-26clang/test/CIR/CodeGen/complex-unary.cpp
+18-16clang/lib/CIR/CodeGen/CIRGenExprComplex.cpp
+14-12clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+126-21310 files not shown
+146-28316 files

LLVM/project e7a3ccfllvm/test/Transforms/PhaseOrdering/X86 avg.ll

[PhaseOrdering][X86] Add average round tests based off #128424 (#186615)
DeltaFile
+1,355-0llvm/test/Transforms/PhaseOrdering/X86/avg.ll
+1,355-01 files

LLVM/project 09faf63llvm/include/llvm/IR IRBuilder.h, llvm/lib/IR Core.cpp

[LLVM] Change IRBuilder::CreateAggregateRet to accept an ArrayRef (#186605)

Change `IRBuilder::CreateAggregateRet()` to accept an `ArrayRef` instead
of a pointer and size, and extend IRBuilder unit test to exercise it.
DeltaFile
+21-0llvm/unittests/IR/IRBuilderTest.cpp
+6-7llvm/include/llvm/IR/IRBuilder.h
+1-1llvm/lib/IR/Core.cpp
+28-83 files

LLVM/project 66395adllvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 vector-shuffle-combining.ll masked_store_trunc.ll

[X86] lowerV4F32Shuffle - prefer INSERTPS over SHUFPS when zeroing upper/lower v2f32 (#186612)

Followup to #186468 - use INSERTPS over SHUFPS if the implicit zeroing doesn't cross the the 64-bit halves
DeltaFile
+42-17llvm/test/CodeGen/X86/vector-shuffle-combining.ll
+11-7llvm/lib/Target/X86/X86ISelLowering.cpp
+6-6llvm/test/CodeGen/X86/masked_store_trunc.ll
+4-8llvm/test/CodeGen/X86/avx2-masked-gather.ll
+6-6llvm/test/CodeGen/X86/masked_store_trunc_ssat.ll
+6-6llvm/test/CodeGen/X86/masked_store_trunc_usat.ll
+75-503 files not shown
+78-569 files

LLVM/project b444344llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp SelectionDAG.cpp, llvm/test/CodeGen/X86 known-pow2.ll

Improved ISD::SRL handling in isKnownToBeAPowerOfTwo (#182562)

Fixes #181651

Added DemandedElts argument to isConstOrConstSplat and to
isKnowTobePowerOfTwo calls and OrZero || isKnownNeverZero(Val, Depth) is
checked before isKnowTobePowerOfTwo. Also added unit tests.
DeltaFile
+0-10llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+4-4llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+3-5llvm/test/CodeGen/X86/known-pow2.ll
+7-193 files

LLVM/project 750088fllvm/docs ReleaseNotes.md, llvm/include/llvm/IR Instructions.h

[IR] Make BranchInst operand order consistent (#186609)

Ensure that successors are always reported in the same order in which
they are stored in the operand list.
DeltaFile
+7-7llvm/unittests/IR/InstructionsTest.cpp
+8-0llvm/docs/ReleaseNotes.md
+3-3llvm/tools/llvm-c-test/echo.cpp
+3-3llvm/unittests/SandboxIR/SandboxIRTest.cpp
+2-2llvm/lib/IR/Instructions.cpp
+2-2llvm/include/llvm/IR/Instructions.h
+25-171 files not shown
+26-187 files

LLVM/project 8f21b65clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/Dialect/IR CIRDialect.cpp

[CIR] Split CIR_UnaryOp into individual operations

Split the monolithic cir.unary operation (which dispatched on a
UnaryOpKind enum) into four separate operations: cir.inc, cir.dec,
cir.minus, and cir.not.

This follows the same pattern used when cir.binop was split into
individual binary operations (AddOp, SubOp, etc.).

Changes:
- Add CIR_UnaryOpInterface with getInput()/getResult() methods
- Add CIR_UnaryOp and CIR_UnaryOpWithOverflowFlag base classes
- Define IncOp, DecOp, MinusOp, NotOp with per-op folds
- Add Involution trait to NotOp for not(not(x)) -> x folding
- Replace createUnaryOp() with createInc/Dec/Minus/Not builders
- Split LLVM lowering into four separate patterns
- Split LoweringPrepare complex-type handling per unary op
- Update CIRCanonicalize and CIRSimplify for new op types
- Update all codegen files to use bool params instead of UnaryOpKind

    [6 lines not shown]
DeltaFile
+91-105clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+56-88clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+111-28clang/include/clang/CIR/Dialect/IR/CIROps.td
+62-62clang/test/CIR/CodeGenOpenACC/private-clause-pointer-array-recipes-CtorDtor.cpp
+41-41clang/test/CIR/CodeGenOpenACC/private-clause-pointer-array-recipes-NoOps.cpp
+36-36clang/test/CIR/CodeGenOpenACC/combined-reduction-clause-inline-ops.cpp
+397-36078 files not shown
+1,393-1,36784 files

LLVM/project d3537f7clang/lib/CIR/CodeGen CIRGenExprComplex.cpp CIRGenExprScalar.cpp, clang/lib/CodeGen CGExprComplex.cpp

[CIR] Remove cir.unary(plus, ...) and emit nothing for unary plus

Traditional codegen never emits any operation for unary plus — it just
visits the subexpression as a pure identity at the codegen level. Align
CIRGen with this behavior by removing Plus from UnaryOpKind entirely
and having VisitUnaryPlus directly visit the subexpression with the
appropriate promotion/demotion handling.
DeltaFile
+68-67clang/lib/CodeGen/CGExprComplex.cpp
+0-72clang/test/CIR/Transforms/canonicalize.cir
+10-26clang/test/CIR/CodeGen/complex-unary.cpp
+16-20clang/test/CIR/IR/unary.cir
+18-16clang/lib/CIR/CodeGen/CIRGenExprComplex.cpp
+14-12clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+126-21310 files not shown
+146-28316 files

LLVM/project 361641dclang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/Dialect/Transforms CIRCanonicalize.cpp

[CIR] Add cir.min op and refactor cir.max lowering (#185276)

Add cir.min operation for integer minimum computation. Refactor cir.max
lowering into a shared lowerMinMaxOp template reused by both ops.
DeltaFile
+77-0clang/test/CIR/Transforms/max-min-idempotent.cir
+26-1clang/include/clang/CIR/Dialect/IR/CIROps.td
+20-5clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+24-0clang/test/CIR/Lowering/binop-int-vector.cir
+5-5clang/lib/CIR/Dialect/Transforms/CIRCanonicalize.cpp
+3-0clang/test/CIR/Lowering/binop-unsigned-int.cir
+155-111 files not shown
+157-117 files

LLVM/project ce7a582llvm/lib/Transforms/Instrumentation MemorySanitizer.cpp

[msan][NFCI] Replace unnecessary shadow cast with assertion (#186498)

Fabian Wolff pointed out that #176031 made the output of CreateIntCast()
unused in handleBitwiseAnd().

Upon closer inspection, the CreateIntCast()s are unnecessary, because the
arguments to handleBitwiseAnd() (and visitOr()) are integers or vectors of
integers, for which the shadow types are the same as the original types.
This patch removes the unnecessary if and shadow cast, and adds
assertions.
DeltaFile
+21-9llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+21-91 files

LLVM/project 9422bd3llvm/include/llvm/IR Instructions.h Instruction.h, llvm/include/llvm/SandboxIR Instruction.h

[IR] Add Instruction::successors() (#186606)

Nowadays all terminators store all successor operands consecutively, so
we can expose the range of successors through a unified interface.

Rename succ_op_iterator to succ_iterator for consistency, also with
Machine IR.

Preliminary work for replacing the succ_iterator in CFG.h with an
iterator that iterates directly over the uses.
DeltaFile
+87-84llvm/include/llvm/IR/Instructions.h
+38-0llvm/include/llvm/IR/Instruction.h
+17-4llvm/lib/IR/Instruction.cpp
+4-5llvm/include/llvm/SandboxIR/Instruction.h
+146-934 files

LLVM/project f002fc0lldb/packages/Python/lldbsuite/test decorators.py dotest_args.py, lldb/test/API lit.cfg.py

[lldb] Skip tests that are incompatible with MTE (#186043)

Skip tests that are incompatible with MTE. 

Depends on:
- https://github.com/llvm/llvm-project/pull/185780
DeltaFile
+10-1lldb/test/API/macosx/mte/TestDarwinMTE.py
+11-0lldb/packages/Python/lldbsuite/test/decorators.py
+6-0lldb/packages/Python/lldbsuite/test/dotest_args.py
+3-0lldb/test/API/lit.cfg.py
+3-0lldb/packages/Python/lldbsuite/test/configuration.py
+3-0lldb/test/Shell/lit.cfg.py
+36-118 files not shown
+58-124 files

LLVM/project 1eee115lldb/tools/lldb-server lldb-platform.cpp lldb-gdbserver.cpp

[lldb] Rename Status variables to avoid confusion (NFC) (#186486)

Rename Status variables that are named `error` to `status` to avoid
confusion with llvm::Error as the latter becomes more and more
prevalent.
DeltaFile
+57-58lldb/tools/lldb-server/lldb-platform.cpp
+18-18lldb/tools/lldb-server/lldb-gdbserver.cpp
+75-762 files

LLVM/project 9d4436ellvm/test/MC/AArch64 cyclone-movi-bug.s, llvm/test/MC/X86 intel-syntax-branch.s intel-syntax-hex.s

[llvm-mc] Default output assembly variant to AssemblerDialect (#186317)

Previously, llvm-mc always defaulted to output assembly variant 0
regardless of the target's AssemblerDialect. This was inconsistent:
llvm-mc -x86-asm-syntax=intel changed the input parser to Intel syntax
but output stayed AT&T, unlike clang's -masm=intel which affects both.

When --output-asm-variant is not explicitly specified, fall back to
MAI->getAssemblerDialect() instead of hardcoding variant 0. This
makes the output match the target's configured dialect:

- X86: -x86-asm-syntax=intel now produces Intel output
- AArch64: Apple triples default to Apple syntax output
- SystemZ: z/OS triples default to HLASM syntax output

Tests that relied on a specific output variant now use explicit
--output-asm-variant=0.
DeltaFile
+7-4llvm/tools/llvm-mc/llvm-mc.cpp
+10-0llvm/test/tools/llvm-mc/x86-asm-syntax.test
+3-3llvm/test/MC/X86/intel-syntax-branch.s
+2-2llvm/test/MC/AArch64/cyclone-movi-bug.s
+1-1llvm/test/MC/X86/intel-syntax-hex.s
+1-1llvm/test/MC/X86/intel-syntax-movabs-large.s
+24-1110 files not shown
+34-2116 files

LLVM/project d6246f6llvm/lib/Target/X86 X86AsmPrinter.cpp, llvm/test/CodeGen/X86 asm-modifier-error.ll inline-asm-p-constraint.ll

[X86] Reject 'p' constraint without 'a' modifier in inline asm (#185799)

The 'p' constraint produces an address operand that should only be
printed with the 'a' modifier (e.g., %a0). Without it, GCC and Clang
produce different and arguably incorrect output

https://github.com/llvm/llvm-project/issues/185343#issuecomment-4029670370
Reject the combination to catch misuse early.
DeltaFile
+6-0llvm/test/CodeGen/X86/asm-modifier-error.ll
+5-0llvm/lib/Target/X86/X86AsmPrinter.cpp
+2-3llvm/test/CodeGen/X86/inline-asm-p-constraint.ll
+13-33 files

LLVM/project 4a2e169llvm/lib/Target/WebAssembly WebAssemblyFastISel.cpp, llvm/test/CodeGen/WebAssembly fast-isel.ll

[WebAssembly][NFC] Rename and test FastISel selectBr (#186577)

selectBr only handles conditional branches and also wasn't tested.
Clarify the name and add test that enforces that there's no fallback.
DeltaFile
+17-2llvm/test/CodeGen/WebAssembly/fast-isel.ll
+3-3llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
+20-52 files

LLVM/project 464639bllvm/include/llvm/IR Instructions.h

[IR][NFC] Remove BranchInst successor functions (#186604)

The efficient access is now handled by UncondBrInst/CondBrInst,
Instruction functions handle the more generic cases. These functions are
now largely unused now that most uses of BranchInst are gone.

Preliminary work for making the CondBrInst operand order consistent.
DeltaFile
+0-12llvm/include/llvm/IR/Instructions.h
+0-121 files

LLVM/project efcd3b6llvm/lib/Transforms/IPO AttributorAttributes.cpp IROutliner.cpp, llvm/lib/Transforms/Instrumentation ControlHeightReduction.cpp

[IPO][InstCombine][Vectorize][NFCI] Drop uses of BranchInst (#186596)

Refactor remaining parts of Transforms apart from Scalar and Utils.
DeltaFile
+28-36llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
+31-25llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+13-41llvm/lib/Transforms/IPO/IROutliner.cpp
+20-32llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
+20-21llvm/lib/Transforms/IPO/OpenMPOpt.cpp
+14-16llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+126-17124 files not shown
+221-28430 files

LLVM/project 4aa4354clang/lib/CIR/CodeGen CIRGenExprComplex.cpp CIRGenExprScalar.cpp, clang/lib/CodeGen CGExprComplex.cpp

[CIR] Remove cir.unary(plus, ...) and emit nothing for unary plus

Traditional codegen never emits any operation for unary plus — it just
visits the subexpression as a pure identity at the codegen level. Align
CIRGen with this behavior by removing Plus from UnaryOpKind entirely
and having VisitUnaryPlus directly visit the subexpression with the
appropriate promotion/demotion handling.
DeltaFile
+68-67clang/lib/CodeGen/CGExprComplex.cpp
+0-72clang/test/CIR/Transforms/canonicalize.cir
+10-26clang/test/CIR/CodeGen/complex-unary.cpp
+16-20clang/test/CIR/IR/unary.cir
+18-16clang/lib/CIR/CodeGen/CIRGenExprComplex.cpp
+14-12clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+126-21310 files not shown
+146-28316 files