[llvm] [IR] Replace uses of IRBuilder::getInt8PtrTy with getPtrTy. NFC (PR #73154)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 22 10:51:13 PST 2023
================
@@ -160,7 +160,7 @@ static void convertToRelLookupTable(GlobalVariable &LookupTable) {
"reltable.intrinsic");
// Create a bitcast instruction if necessary.
- if (Load->getType() != Builder.getInt8PtrTy())
+ if (Load->getType() != Builder.getPtrTy())
----------------
nikic wrote:
Can remove this if and bitcast.
https://github.com/llvm/llvm-project/pull/73154
More information about the llvm-commits
mailing list