[llvm] r183744 - R600: Make helper functions static.

Benjamin Kramer benny.kra at googlemail.com
Tue Jun 11 06:32:25 PDT 2013


Author: d0k
Date: Tue Jun 11 08:32:25 2013
New Revision: 183744

URL: http://llvm.org/viewvc/llvm-project?rev=183744&view=rev
Log:
R600: Make helper functions static.

Modified:
    llvm/trunk/lib/Target/R600/R600ISelLowering.cpp

Modified: llvm/trunk/lib/Target/R600/R600ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/R600ISelLowering.cpp?rev=183744&r1=183743&r2=183744&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/R600ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/R600/R600ISelLowering.cpp Tue Jun 11 08:32:25 2013
@@ -1214,8 +1214,9 @@ EVT R600TargetLowering::getSetCCResultTy
    return VT.changeVectorElementTypeToInteger();
 }
 
-SDValue CompactSwizzlableVector(SelectionDAG &DAG, SDValue VectorEntry,
-                                DenseMap<unsigned, unsigned> &RemapSwizzle) {
+static SDValue
+CompactSwizzlableVector(SelectionDAG &DAG, SDValue VectorEntry,
+                        DenseMap<unsigned, unsigned> &RemapSwizzle) {
   assert(VectorEntry.getOpcode() == ISD::BUILD_VECTOR);
   assert(RemapSwizzle.empty());
   SDValue NewBldVec[4] = {
@@ -1251,8 +1252,8 @@ SDValue CompactSwizzlableVector(Selectio
       VectorEntry.getValueType(), NewBldVec, 4);
 }
 
-SDValue ReorganizeVector(SelectionDAG &DAG, SDValue VectorEntry,
-                         DenseMap<unsigned, unsigned> &RemapSwizzle) {
+static SDValue ReorganizeVector(SelectionDAG &DAG, SDValue VectorEntry,
+                                DenseMap<unsigned, unsigned> &RemapSwizzle) {
   assert(VectorEntry.getOpcode() == ISD::BUILD_VECTOR);
   assert(RemapSwizzle.empty());
   SDValue NewBldVec[4] = {





More information about the llvm-commits mailing list