Displaying 2 results from an estimated 2 matches for "visitaddrspacecast".
2019 Jun 11
3
[InstCombine] addrspacecast assumed associative with gep
The following combine(-enabling transformation) makes me
uncomfortable:
gep(addrspacecast(gep p0) to p1)
addrspacecast(gep(gep p0)) to p1
It's applied at visitAddrSpaceCast in InstCombineCasts.cpp.
Before this, I'd always assumed address spaces were very much "user
domain". Datalayout even supports marking a space as "non-integral",
to designate that manipulation as bits is impossible. In my case, I
have a different byte width in p1 over p0 (I...
2019 Dec 18
5
RFC: Opaque pointer status and future direction
...unctionType 20
cloneInstructionWithNewAddressSpace 14
llvm::Function::getParamByValType 14
llvm::InstCombiner::visitAddrSpaceCast 13
llvm::isSafeToLoadUnconditionally 13
isVectorPromotionViableForSlice 12
llvm::ARMTargetLowering::getT...