[all-commits] [llvm/llvm-project] dea16e: [LLVM][IR] Replace ConstantInt's specialisation of...
Paul Walker via All-commits
all-commits at lists.llvm.org
Mon Dec 18 03:58:56 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dea16ebd2613a4a218c53045270fc4fcc9b427ad
https://github.com/llvm/llvm-project/commit/dea16ebd2613a4a218c53045270fc4fcc9b427ad
Author: Paul Walker <paul.walker at arm.com>
Date: 2023-12-18 (Mon, 18 Dec 2023)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M llvm/include/llvm/IR/Constants.h
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
M llvm/lib/Transforms/Scalar/ConstantHoisting.cpp
M llvm/lib/Transforms/Scalar/LoopFlatten.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M mlir/lib/Target/LLVMIR/ModuleImport.cpp
Log Message:
-----------
[LLVM][IR] Replace ConstantInt's specialisation of getType() with getIntegerType(). (#75217)
The specialisation will not be valid when ConstantInt gains native
support for vector types.
This is largely a mechanical change but with extra attention paid to constant
folding, InstCombineVectorOps.cpp, LoopFlatten.cpp and Verifier.cpp to
remove the need to call `getIntegerType()`.
Co-authored-by: Nikita Popov <github at npopov.com>
More information about the All-commits
mailing list