[PATCH] D33298: [SROA] Fix APInt size when load/store have different address space
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 8 17:48:47 PDT 2017
arsenm added inline comments.
================
Comment at: lib/Transforms/Scalar/SROA.cpp:3626-3627
uint64_t PartOffset = Idx == 0 ? 0 : Offsets.Splits[Idx - 1];
auto *PartPtrTy =
PLoad->getType()->getPointerTo(SI->getPointerAddressSpace());
----------------
Assigning to an address space variable could save the ugly line wraps
https://reviews.llvm.org/D33298
More information about the llvm-commits
mailing list