[llvm] [IR] Replace of PointerType::get(Type) with opaque version (NFC) (PR #123617)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 20 06:29:00 PST 2025
================
@@ -84,7 +84,7 @@ static Value *simplifyNeonVld1(const IntrinsicInst &II, unsigned MemAlign,
return nullptr;
auto *BCastInst = Builder.CreateBitCast(II.getArgOperand(0),
- PointerType::get(II.getType(), 0));
+ PointerType::get(II.getContext(), 0));
----------------
nikic wrote:
Bitcast can be removed.
https://github.com/llvm/llvm-project/pull/123617
More information about the llvm-commits
mailing list