[all-commits] [llvm/llvm-project] 64fc79: [IR][Core][NFC] Drop some BranchInst uses (#186352)
Alexis Engelke via All-commits
all-commits at lists.llvm.org
Fri Mar 13 03:37:23 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 64fc793dd1008040270478eda15326854b292e11
https://github.com/llvm/llvm-project/commit/64fc793dd1008040270478eda15326854b292e11
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M llvm/docs/BranchWeightMetadata.rst
M llvm/include/llvm-c/Core.h
M llvm/include/llvm/ADT/GenericUniformityInfo.h
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/PatternMatch.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
M llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
M llvm/lib/FuzzMutate/IRMutator.cpp
M llvm/lib/FuzzMutate/Operations.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/IR/Core.cpp
M llvm/lib/IR/ProfDataUtils.cpp
M llvm/lib/IR/SafepointIRVerifier.cpp
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Passes/StandardInstrumentations.cpp
M llvm/lib/Transforms/IPO/HotColdSplitting.cpp
M llvm/unittests/FuzzMutate/OperationsTest.cpp
M llvm/unittests/IR/BasicBlockTest.cpp
M llvm/unittests/IR/DominatorTreeTest.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
M llvm/unittests/IR/InstructionsTest.cpp
M llvm/unittests/IR/LegacyPassManagerTest.cpp
M llvm/unittests/IR/VerifierTest.cpp
Log Message:
-----------
[IR][Core][NFC] Drop some BranchInst uses (#186352)
Now that CondBrInst and UncondBrInst are explicit subclasses, use them
instead.
HotColdSplitting was trying to inspect prof metadata also on
unconditional branches, fix this.
Also introduce C API cast functions and deprecate LLVMIsConditional in
favor of LLVMIsACondBrInst.
This patch covers all LLVM uses outside of Transforms, Analysis,
CodeGen/Target, SandboxIR, Frontend/OpenMP, tools, examples.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list