Skip to content

Commit

Permalink
Update LLVM (#1443)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjodinchr authored Jan 22, 2025
1 parent 85146eb commit b8c19fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"subrepo" : "llvm/llvm-project",
"branch" : "main",
"subdir" : "third_party/llvm",
"commit" : "2e637dbbb8bc9a41f8eabd1df347ca2559b1abd7"
"commit" : "4a2ebd6661cf1c929c280e863e4299164800413e"
},
{
"name" : "SPIRV-Headers",
Expand Down
2 changes: 1 addition & 1 deletion lib/Compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ int SetCompilerInstanceOptions(
instance.getTargetOpts().Triple = triple.str();

instance.getCodeGenOpts().MainFileName = overiddenInputFilename.str();
instance.getCodeGenOpts().PreserveVec3Type = true;
instance.getLangOpts().PreserveVec3Type = true;
// Disable generation of lifetime intrinsic.
instance.getCodeGenOpts().DisableLifetimeMarkers = true;
if (InputLanguage == clang::Language::OpenCL) {
Expand Down

0 comments on commit b8c19fa

Please sign in to comment.