diff options
author | Alexey Bader <alexey.bader@intel.com> | 2016-03-30 13:38:47 +0300 |
---|---|---|
committer | Alexey Bader <alexey.bader@intel.com> | 2016-03-30 13:38:47 +0300 |
commit | 24b2f2c62c94e94968d795417ef450557ddd8579 (patch) | |
tree | 51f88d1ec9758a2d6863fc775da2d8e4aafac59a /tools | |
parent | fe13ea57f496a51b66022124eb3fb4fdded85560 (diff) |
[SPIR-V] Null-pointer checks.
Add asserts for potential nullprt-s.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvm-spirv/llvm-spirv.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/llvm-spirv/llvm-spirv.cpp b/tools/llvm-spirv/llvm-spirv.cpp index 5c32692..bbc7f97 100644 --- a/tools/llvm-spirv/llvm-spirv.cpp +++ b/tools/llvm-spirv/llvm-spirv.cpp @@ -320,4 +320,6 @@ main(int ac, char** av) { if (IsRegularization)
return regularizeLLVM();
+
+ return 0;
}
|