diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-06-11 13:32:25 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-06-11 13:32:25 +0000 |
commit | 6c59c7a6fdc5b58de4f3c349b59a567c239818e4 (patch) | |
tree | 425c9c0c1cbf32a8dca731c2ee8dc69e15d592df /lib | |
parent | 9f8e6da019a99960af59c79e17659dd2dba8433e (diff) | |
download | external_llvm-6c59c7a6fdc5b58de4f3c349b59a567c239818e4.zip external_llvm-6c59c7a6fdc5b58de4f3c349b59a567c239818e4.tar.gz external_llvm-6c59c7a6fdc5b58de4f3c349b59a567c239818e4.tar.bz2 |
R600: Make helper functions static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183744 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/R600/R600ISelLowering.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/Target/R600/R600ISelLowering.cpp b/lib/Target/R600/R600ISelLowering.cpp index 06c2100..9cedadb 100644 --- a/lib/Target/R600/R600ISelLowering.cpp +++ b/lib/Target/R600/R600ISelLowering.cpp @@ -1214,8 +1214,9 @@ EVT R600TargetLowering::getSetCCResultType(LLVMContext &, EVT VT) const { 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(SelectionDAG &DAG, SDValue VectorEntry, 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] = { |