projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simplify creation of a bunch of ArrayRefs by using None, makeArrayRef or just letting...
[oota-llvm.git]
/
lib
/
Transforms
/
InstCombine
/
InstCombineCalls.cpp
diff --git
a/lib/Transforms/InstCombine/InstCombineCalls.cpp
b/lib/Transforms/InstCombine/InstCombineCalls.cpp
index 8523c7345498a125cbe29860796d3764a90bd8d3..331df3a9648421083d7c4e641475029a6cd68e58 100644
(file)
--- a/
lib/Transforms/InstCombine/InstCombineCalls.cpp
+++ b/
lib/Transforms/InstCombine/InstCombineCalls.cpp
@@
-680,7
+680,7
@@
Instruction *InstCombiner::visitCallInst(CallInst &CI) {
CI,
Builder->CreateShuffleVector(
Vec, Undef, ConstantDataVector::get(
- II->getContext(),
ArrayRef<uint32_t>
(Mask))));
+ II->getContext(),
makeArrayRef
(Mask))));
} else if (auto Source =
dyn_cast<IntrinsicInst>(II->getArgOperand(0))) {