Skip to content
Unverified Commit dea16ebd authored by Paul Walker's avatar Paul Walker Committed by GitHub
Browse files

[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: default avatarNikita Popov <github@npopov.com>
parent 2f817880
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment