summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-10-03 15:20:58 +0000
committerSanjay Patel <spatel@rotateright.com>2018-10-03 15:20:58 +0000
commit79dceb2903f8b6ad049b763922843dca26c6aa05 (patch)
treee31aec97effa736845d820b797c42429f1a2da75 /llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
parent207e0217f9a4bc1593c8851a62bd42852e78abe9 (diff)
downloadbcm5719-llvm-79dceb2903f8b6ad049b763922843dca26c6aa05.tar.gz
bcm5719-llvm-79dceb2903f8b6ad049b763922843dca26c6aa05.zip
[InstCombine] name change: foldShuffledBinop -> foldVectorBinop; NFC
This function will deal with more than shuffles with D50992, and I have another potential per-element fold that could live here. llvm-svn: 343692
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstructionCombining.cpp')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstructionCombining.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
index 4785dee2553..158d94388c7 100644
--- a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
@@ -1351,7 +1351,7 @@ Value *InstCombiner::Descale(Value *Val, APInt Scale, bool &NoSignedWrap) {
} while (true);
}
-Instruction *InstCombiner::foldShuffledBinop(BinaryOperator &Inst) {
+Instruction *InstCombiner::foldVectorBinop(BinaryOperator &Inst) {
if (!Inst.getType()->isVectorTy()) return nullptr;
unsigned VWidth = cast<VectorType>(Inst.getType())->getNumElements();
OpenPOWER on IntegriCloud