Fixing @llvm.memcpy not honoring volatile.
[llvm-core.git] / lib / MC / MCAsmInfoWasm.cpp
blobce6ec7ef211e5199c7939f0cedce4e311f97e9b4
1 //===-- MCAsmInfoWasm.cpp - Wasm asm properties -----------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file defines target asm properties related what form asm statements
10 // should take in general on Wasm-based targets
12 //===----------------------------------------------------------------------===//
14 #include "llvm/MC/MCAsmInfoWasm.h"
15 using namespace llvm;
17 void MCAsmInfoWasm::anchor() {}
19 MCAsmInfoWasm::MCAsmInfoWasm() {
20 HasIdentDirective = true;
21 HasNoDeadStrip = true;
22 WeakRefDirective = "\t.weak\t";
23 PrivateGlobalPrefix = ".L";
24 PrivateLabelPrefix = ".L";