diff options
| author | 2018-04-06 14:26:03 +0000 | |
|---|---|---|
| committer | 2018-04-06 14:26:03 +0000 | |
| commit | bdabc2f19ffb9e20600dad6e8a300842a7bda50e (patch) | |
| tree | c50e7b2e5449b074651bb82a58517a8ebc4a8cf7 /gnu/llvm/unittests/MI/LiveIntervalTest.cpp | |
| parent | Print a 'p' flag for file descriptors that were opened after pledge(2). (diff) | |
| download | wireguard-openbsd-bdabc2f19ffb9e20600dad6e8a300842a7bda50e.tar.xz wireguard-openbsd-bdabc2f19ffb9e20600dad6e8a300842a7bda50e.zip | |
Import LLVM 6.0.1 release including clang, lld and lldb.
"where is the kaboom?" deraadt@
Diffstat (limited to 'gnu/llvm/unittests/MI/LiveIntervalTest.cpp')
| -rw-r--r-- | gnu/llvm/unittests/MI/LiveIntervalTest.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/gnu/llvm/unittests/MI/LiveIntervalTest.cpp b/gnu/llvm/unittests/MI/LiveIntervalTest.cpp index 01dce37d9c6..93d41d5daf1 100644 --- a/gnu/llvm/unittests/MI/LiveIntervalTest.cpp +++ b/gnu/llvm/unittests/MI/LiveIntervalTest.cpp @@ -1,10 +1,9 @@ #include "llvm/ADT/STLExtras.h" -#include "llvm/CodeGen/LiveIntervalAnalysis.h" +#include "llvm/CodeGen/LiveIntervals.h" #include "llvm/CodeGen/MIRParser/MIRParser.h" #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/MachineModuleInfo.h" -#include "llvm/CodeGen/MachineRegisterInfo.h" -#include "llvm/CodeGen/Passes.h" +#include "llvm/CodeGen/TargetRegisterInfo.h" #include "llvm/IR/LegacyPassManager.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/SourceMgr.h" @@ -12,7 +11,6 @@ #include "llvm/Support/TargetSelect.h" #include "llvm/Target/TargetMachine.h" #include "llvm/Target/TargetOptions.h" -#include "llvm/Target/TargetRegisterInfo.h" #include "gtest/gtest.h" using namespace llvm; @@ -45,9 +43,8 @@ std::unique_ptr<TargetMachine> createTargetMachine() { return nullptr; TargetOptions Options; - return std::unique_ptr<TargetMachine>( - T->createTargetMachine("AMDGPU", "", "", Options, None, - CodeModel::Default, CodeGenOpt::Aggressive)); + return std::unique_ptr<TargetMachine>(T->createTargetMachine( + "AMDGPU", "", "", Options, None, None, CodeGenOpt::Aggressive)); } std::unique_ptr<Module> parseMIR(LLVMContext &Context, |
