Skip to content

Commit

Permalink
Update LLVM (#1416)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjodinchr authored Nov 6, 2024
1 parent 25eb742 commit 48acbf9
Show file tree
Hide file tree
Showing 2 changed files with 3 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" : "020566701030425f44eb80387d0ae76c5a867aa9"
"commit" : "8431494094c8732d1426763d3e1aae322fa76830"
},
{
"name" : "SPIRV-Headers",
Expand Down
3 changes: 2 additions & 1 deletion lib/Compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,8 @@ int RunPassPipeline(llvm::Module &M, llvm::raw_svector_ostream *binaryStream) {

// Run the following passes after the default LLVM pass pipeline.
pb.registerOptimizerLastEPCallback([binaryStream](llvm::ModulePassManager &pm,
llvm::OptimizationLevel) {
llvm::OptimizationLevel,
llvm::ThinOrFullLTOPhase) {
// No point attempting to handle freeze currently so strip them from the
// IR.
pm.addPass(clspv::StripFreezePass());
Expand Down

0 comments on commit 48acbf9

Please sign in to comment.