diff --git a/deps.json b/deps.json index f87056870..0cc701127 100644 --- a/deps.json +++ b/deps.json @@ -6,7 +6,7 @@ "subrepo" : "llvm/llvm-project", "branch" : "main", "subdir" : "third_party/llvm", - "commit" : "1f53426895643172f223444445743c6d6f00f5ac" + "commit" : "89ada6c51fbdf59dcab8a1e479f60196d29bd4d3" }, { "name" : "SPIRV-Headers", diff --git a/lib/Compiler.cpp b/lib/Compiler.cpp index 481198e93..27c569d14 100644 --- a/lib/Compiler.cpp +++ b/lib/Compiler.cpp @@ -312,6 +312,8 @@ int SetCompilerInstanceOptions( instance.getCodeGenOpts().DisableO0ImplyOptNone = true; instance.getCodeGenOpts().OpaquePointers = clspv::Option::OpaquePointers(); instance.getDiagnosticOpts().IgnoreWarnings = IgnoreWarnings; + // TODO(#995): Re-enable this warning. + instance.getDiagnosticOpts().Warnings.push_back("no-unsafe-buffer-usage"); instance.getLangOpts().SinglePrecisionConstants = cl_single_precision_constants;