summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-09-22 19:49:37 +0000
committerSanjay Patel <spatel@rotateright.com>2017-09-22 19:49:37 +0000
commit0c723bb0179cae061b6332dfbf25e2b723787038 (patch)
tree77b059fef790f1d743fecd2b32a32e8fe8c95eb8
parent3339954fa36522f31910bc8304afd5200b5919cc (diff)
downloadbcm5719-llvm-0c723bb0179cae061b6332dfbf25e2b723787038.tar.gz
bcm5719-llvm-0c723bb0179cae061b6332dfbf25e2b723787038.zip
[x86] shiftRightAlgebraic -> shiftRightArithmetic; NFC
x86 re-education camp is in session. The LLVM LangRef agrees with x86 too. The DAG nodes are undocumented and ambiguous as always. :) llvm-svn: 314024
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 33719f324cc..f3df5f557ca 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -31709,7 +31709,7 @@ static SDValue combineShiftLeft(SDNode *N, SelectionDAG &DAG) {
return SDValue();
}
-static SDValue combineShiftRightAlgebraic(SDNode *N, SelectionDAG &DAG) {
+static SDValue combineShiftRightArithmetic(SDNode *N, SelectionDAG &DAG) {
SDValue N0 = N->getOperand(0);
SDValue N1 = N->getOperand(1);
EVT VT = N0.getValueType();
@@ -31835,7 +31835,7 @@ static SDValue combineShift(SDNode* N, SelectionDAG &DAG,
return V;
if (N->getOpcode() == ISD::SRA)
- if (SDValue V = combineShiftRightAlgebraic(N, DAG))
+ if (SDValue V = combineShiftRightArithmetic(N, DAG))
return V;
if (N->getOpcode() == ISD::SRL)
OpenPOWER on IntegriCloud