diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/VEAsmBackend.cpp')
-rw-r--r-- | contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/VEAsmBackend.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/VEAsmBackend.cpp b/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/VEAsmBackend.cpp index 9a6ae90b5c73..29c209934680 100644 --- a/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/VEAsmBackend.cpp +++ b/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/VEAsmBackend.cpp @@ -15,8 +15,8 @@ #include "llvm/MC/MCObjectWriter.h" #include "llvm/MC/MCSubtargetInfo.h" #include "llvm/MC/MCValue.h" +#include "llvm/MC/TargetRegistry.h" #include "llvm/Support/EndianStream.h" -#include "llvm/Support/TargetRegistry.h" using namespace llvm; @@ -164,7 +164,8 @@ public: llvm_unreachable("relaxInstruction() should not be called"); } - bool writeNopData(raw_ostream &OS, uint64_t Count) const override { + bool writeNopData(raw_ostream &OS, uint64_t Count, + const MCSubtargetInfo *STI) const override { if ((Count % 8) != 0) return false; |