Skip to content

Commit

Permalink
[utils/llvm] Fix missing include
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyichao committed Mar 14, 2024
1 parent d256c2a commit 77cb2fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/nacs-utils/llvm/global_rename.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
#include "passes.h"
#include "utils.h"

#include <llvm/IR/Verifier.h>

#if NACS_ENABLE_NEW_PASS
# include <llvm/Transforms/IPO/GlobalDCE.h>
#else
Expand Down
1 change: 1 addition & 0 deletions lib/nacs-utils/llvm/passes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

#include "../utils.h"

#include <llvm/IR/Verifier.h>
#include <llvm/Transforms/IPO/AlwaysInliner.h>

#if NACS_ENABLE_NEW_PASS
Expand Down

0 comments on commit 77cb2fd

Please sign in to comment.