[PATCH] D58805: [X86] Remove IntrArgMemOnly from target specific gather/scatter intrinsics
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 1 12:15:09 PST 2019
craig.topper added a comment.
Verified gcc behavior here. https://godbolt.org/z/lXdXjL
@RKSimon I haven't really investigated using the generic intrinsics very much. So I'd say not close. Off the top of my head, we'd need to rebuild a gep by bitcasting the pointer and make sure the scale and load size matched. If they don't match then we have to do arithmetic using ptrtoint, splatting, vector multiplies, vector additions in IR. Then try to pattern match that all back out in the backend. But we may not be able to use a gep at all if the pointer can be null like this.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58805/new/
https://reviews.llvm.org/D58805
More information about the llvm-commits
mailing list