Archibald Elliott 62c7f035b4 [NFC][TargetParser] Remove llvm/ADT/Triple.h
I also ran `git clang-format` to get the headers in the right order for
the new location, which has changed the order of other headers in two
files.
2023-02-07 12:39:46 +00:00

35 lines
1.0 KiB
C++

//===-- SPIRVMCAsmInfo.h - SPIR-V asm properties --------------*- C++ -*--====//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This file contains the declarations of the SPIRVMCAsmInfo properties.
//
//===----------------------------------------------------------------------===//
#include "SPIRVMCAsmInfo.h"
#include "llvm/TargetParser/Triple.h"
using namespace llvm;
SPIRVMCAsmInfo::SPIRVMCAsmInfo(const Triple &TT,
const MCTargetOptions &Options) {
IsLittleEndian = true;
HasSingleParameterDotFile = false;
HasDotTypeDotSizeDirective = false;
MinInstAlignment = 4;
CodePointerSize = 4;
CommentString = ";";
HasFunctionAlignment = false;
}
bool SPIRVMCAsmInfo::shouldOmitSectionDirective(StringRef SectionName) const {
return true;
}