[IR] Rename a couple calls to ConstantInt::getNullValue to Constant::getNullValue...
authorCraig Topper <craig.topper@sifive.com>
Tue, 4 Apr 2023 17:22:44 +0000 (10:22 -0700)
committerCraig Topper <craig.topper@sifive.com>
Tue, 4 Apr 2023 17:24:12 +0000 (10:24 -0700)
commit09609715d7ebb64496ffbd3059e05a908f22cc3f
tree4d9dd5fa8b9377632d5b26b565fa5f614669b407
parentd8ec6969e2e2a3fa60155b2b5cbad4f4f2295dbe
[IR] Rename a couple calls to ConstantInt::getNullValue to Constant::getNullValue. NFC

There is no getNullValue in ConstantInt. Due to inheritance, it's
really Constant::getNullValue.

Most of the calls in tree that use ConstantInt::getNullValue do
know the type is an integer. These two calls allow pointers so
shouldn't use "ConstantInt".
llvm/include/llvm/IR/IRBuilder.h