[PATCH] D154392: [llvm] Remove uses of Type::getPointerTo() (NFC)
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 4 07:49:40 PDT 2023
nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp:1213
Type *VecTy = II.getType();
- Value *VecPtr = IC.Builder.CreateBitCast(PtrOp, VecTy->getPointerTo());
+ Value *VecPtr = PtrOp;
----------------
Replace VecPtr variable with PtrOp?
================
Comment at: llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp:1233
Value *PtrOp = II.getOperand(2);
- Value *VecPtr =
- IC.Builder.CreateBitCast(PtrOp, VecOp->getType()->getPointerTo());
+ Value *VecPtr = PtrOp;
----------------
Same here
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154392/new/
https://reviews.llvm.org/D154392
More information about the llvm-commits
mailing list