diff options
author | samliu <yaxun.liu@amd.com> | 2015-09-08 22:47:50 -0400 |
---|---|---|
committer | samliu <yaxun.liu@amd.com> | 2015-09-08 22:47:50 -0400 |
commit | 4a73b33562bde4b75a1585cc3bce2d911c710019 (patch) | |
tree | 51853f9c5934364d6af0af295051944d04c10258 /tools | |
parent | c712a1e855b5248c296e60bd2e383a5cc9b37893 (diff) |
[SPIRV]Fix bug causing verify module error msg not output.
Fix bug about OpMemoryBarrier word count.
Fix build failure on Ubuntu due to class member named as Op.
Refactoring translation of atomic builtin functions.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvm-spirv/llvm-spirv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-spirv/llvm-spirv.cpp b/tools/llvm-spirv/llvm-spirv.cpp index b73bf6e..25c34c9 100644 --- a/tools/llvm-spirv/llvm-spirv.cpp +++ b/tools/llvm-spirv/llvm-spirv.cpp @@ -165,7 +165,7 @@ convertSPRVToLLVM() { raw_string_ostream ErrorOS(Err);
if (verifyModule(*M, &ErrorOS)){
- errs() << "Fails to verify module: " << Err;
+ errs() << "Fails to verify module: " << ErrorOS.str();
return -1;
}
|