[LLVMContextImpl] Separate out integer constant ones
authorArthur Eubanks <aeubanks@google.com>
Fri, 24 Feb 2023 05:47:03 +0000 (21:47 -0800)
committerArthur Eubanks <aeubanks@google.com>
Mon, 27 Feb 2023 18:18:39 +0000 (10:18 -0800)
commit86bdcdf00e82865ee7ae3fcbf843a47235851817
treed139cf8b006d6dcfeae91ca2fed51e8e6ac8b1ac
parentc31667539bc6bf6c7d56c88f216291b1d9a203b9
[LLVMContextImpl] Separate out integer constant ones

Very small compile time improvement:
https://llvm-compile-time-tracker.com/compare.php?from=6a7a8907e8334eaf551742148079c628f78e6ed7&to=454d1181fbdb9121f0c7a3ecf526520db32ab420&stat=instructions:u

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D144746
llvm/lib/IR/Constants.cpp
llvm/lib/IR/LLVMContextImpl.cpp
llvm/lib/IR/LLVMContextImpl.h