Skip to content

Commit

Permalink
Tagging 8.0.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeySotkin committed Jun 26, 2019
1 parent 30dacfc commit c141308
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ script:
after_success:
# Create tarball for deployment
- if [[ "${BUILD_EXTERNAL}" == "1" && "${SHARED_LIBS}" == "ON" && "${repo_token}" != "" ]]; then
export TAG=v8.0.0-1;
export TAG=v8.0.1-1;
export TARBALL=SPIRV-LLVM-Translator-${TAG}-${TRAVIS_OS_NAME}-${BUILD_TYPE}.zip;
cd ../install && find . -print | zip -@ ${TARBALL};
fi
Expand All @@ -132,7 +132,7 @@ deploy:
branch: llvm_release_80
condition: ${BUILD_EXTERNAL} == 1 && ${SHARED_LIBS} == ON && ${repo_token}
file: ${TARBALL}
name: Binaries linked against LLVM 8.0.0
name: Binaries linked against LLVM 8.0.1
skip_cleanup: true
overwrite: true
prerelease: false
15 changes: 8 additions & 7 deletions lib/SPIRV/OCL20ToSPIRV.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1688,13 +1688,14 @@ void OCL20ToSPIRV::visitSubgroupImageMediaBlockINTEL(
spv::Op OpCode = DemangledName.rfind("read") != std::string::npos
? spv::OpSubgroupImageMediaBlockReadINTEL
: spv::OpSubgroupImageMediaBlockWriteINTEL;
mutateCallInstSPIRV(M, CI,
[=](CallInst *, std::vector<Value *> &Args) {
// Moving the last argument to the begining.
std::rotate(Args.begin(), Args.end() - 1, Args.end());
return getSPIRVFuncName(OpCode, CI->getType());
},
&Attrs);
mutateCallInstSPIRV(
M, CI,
[=](CallInst *, std::vector<Value *> &Args) {
// Moving the last argument to the begining.
std::rotate(Args.begin(), Args.end() - 1, Args.end());
return getSPIRVFuncName(OpCode, CI->getType());
},
&Attrs);
}

static const char *getSubgroupAVCIntelOpKind(const std::string &Name) {
Expand Down

0 comments on commit c141308

Please sign in to comment.