summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
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/InstCombineInternal.h
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/InstCombineInternal.h')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineInternal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
index 951fc22a913..46c598d4bfb 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
+++ b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
@@ -805,7 +805,7 @@ private:
APInt &UndefElts, unsigned Depth = 0);
/// Canonicalize the position of binops relative to shufflevector.
- Instruction *foldShuffledBinop(BinaryOperator &Inst);
+ Instruction *foldVectorBinop(BinaryOperator &Inst);
/// Given a binary operator, cast instruction, or select which has a PHI node
/// as operand #0, see if we can fold the instruction into the PHI (which is
OpenPOWER on IntegriCloud