aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/CodeGen/MachineInstrTest.cpp
diff options
context:
space:
mode:
authorNikita Popov <llvm@npopov.com>2024-06-29 15:05:04 +0200
committerGitHub <noreply@github.com>2024-06-29 15:05:04 +0200
commit74deadf19650f6f3b6392ba09caa20dd38ae41e0 (patch)
tree1ed9b668dc890fa0818728c4042d78830864c932 /llvm/unittests/CodeGen/MachineInstrTest.cpp
parent02b60893c3858d5d76cdca1bd9b684bdd7093fb7 (diff)
downloadllvm-74deadf19650f6f3b6392ba09caa20dd38ae41e0.zip
llvm-74deadf19650f6f3b6392ba09caa20dd38ae41e0.tar.gz
llvm-74deadf19650f6f3b6392ba09caa20dd38ae41e0.tar.bz2
[IRBuilder] Don't include Module.h (NFC) (#97159)
This used to be necessary to fetch the DataLayout, but isn't anymore.
Diffstat (limited to 'llvm/unittests/CodeGen/MachineInstrTest.cpp')
-rw-r--r--llvm/unittests/CodeGen/MachineInstrTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/unittests/CodeGen/MachineInstrTest.cpp b/llvm/unittests/CodeGen/MachineInstrTest.cpp
index 8ea12a6..af25acb 100644
--- a/llvm/unittests/CodeGen/MachineInstrTest.cpp
+++ b/llvm/unittests/CodeGen/MachineInstrTest.cpp
@@ -19,6 +19,7 @@
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/MemoryModelRelaxationAnnotations.h"
+#include "llvm/IR/Module.h"
#include "llvm/IR/ModuleSlotTracker.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCSymbol.h"