mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-12 17:25:49 +00:00
R600: Make helper functions static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183744 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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] = {
|
||||
|
Reference in New Issue
Block a user