Skip to content

Commit b8c19fa

Browse files
authored
Update LLVM (google#1443)
1 parent 85146eb commit b8c19fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deps.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"subrepo" : "llvm/llvm-project",
77
"branch" : "main",
88
"subdir" : "third_party/llvm",
9-
"commit" : "2e637dbbb8bc9a41f8eabd1df347ca2559b1abd7"
9+
"commit" : "4a2ebd6661cf1c929c280e863e4299164800413e"
1010
},
1111
{
1212
"name" : "SPIRV-Headers",

lib/Compiler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ int SetCompilerInstanceOptions(
416416
instance.getTargetOpts().Triple = triple.str();
417417

418418
instance.getCodeGenOpts().MainFileName = overiddenInputFilename.str();
419-
instance.getCodeGenOpts().PreserveVec3Type = true;
419+
instance.getLangOpts().PreserveVec3Type = true;
420420
// Disable generation of lifetime intrinsic.
421421
instance.getCodeGenOpts().DisableLifetimeMarkers = true;
422422
if (InputLanguage == clang::Language::OpenCL) {

0 commit comments

Comments
 (0)