// CompareConstantExpr (fcmp)
llvm_unreachable("Address space conversion should have no effect "
"on float point CompareConstantExpr (fcmp)!");
- return C;
case Instruction::ExtractElement:
// ExtractElementConstantExpr
return Builder.CreateExtractElement(NewOperands[0], NewOperands[1]);
NewOperands[0], C->getType());
}
llvm_unreachable("GenericToNVVM encountered an unsupported ConstantExpr");
- return C;
}
}
default:
llvm_unreachable("Unexpected special handling type");
- break;
// For splats based on an index into a vector, add N/2 modulo N
// to the index, where N is the number of vector elements.