[PATCH] D48236: [IR] move shuffle mask queries from TTI to ShuffleVectorInst
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 17 16:17:18 PDT 2018
spatel updated this revision to Diff 151649.
spatel marked 2 inline comments as done.
spatel added a comment.
Patch updated:
Redefine all of the Constant* functions in terms of ArrayRef<int> parent implementations. This makes the code slightly cleaner and might open up the possibility of removing some redundant code from the backend.
I know we can do better to share code, test, and add functionality, but I'd like to get this committed so I'm not holding up functional changes and existing cleanup that is gated on this first step.
https://reviews.llvm.org/D48236
Files:
include/llvm/IR/Instructions.h
lib/Analysis/TargetTransformInfo.cpp
lib/IR/Instructions.cpp
unittests/IR/InstructionsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48236.151649.patch
Type: text/x-patch
Size: 26430 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180617/9cadb9d2/attachment.bin>
More information about the llvm-commits
mailing list