[PATCH] D43323: [NFC] Consolidate six getPointerOperand() utility functions into one place
Hideki Saito via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 14 15:27:08 PST 2018
hsaito created this revision.
hsaito added reviewers: hfinkel, mkuper.
Herald added a subscriber: llvm-commits.
See http://lists.llvm.org/pipermail/llvm-dev/2018-February/120999.html for llvm-dev discussions
There are six separate instances of getPointerOperand() utility. LoopVectorize.cpp has one of them,
and I don't want to create a 7th one while I'm trying to move LoopVectorizationLegality into a separate file
(eventual objective is to move it to Analysis tree).
I won't insist in having the utility in Instructions.h. Creating include/llvm/IR/InstructionUtils.h is a viable alternative to consider.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 17885 bytes
Desc: not available
More information about the llvm-commits