From abae4d34872b339c896f35db8c778e0a957dfa84 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Tue, 5 Feb 2019 18:01:45 +0000 Subject: [PATCH] Enable integrated assembler on MSP430 by default. Patch by Kristina Bessonova! Differential Revision: https://reviews.llvm.org/D56787 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353192 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp | 1 + test/CodeGen/MSP430/mult-alt-generic-msp430.ll | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp b/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp index 796eb12bf95..db5a49dd22a 100644 --- a/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp +++ b/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp @@ -23,4 +23,5 @@ MSP430MCAsmInfo::MSP430MCAsmInfo(const Triple &TT) { AlignmentIsInBytes = false; UsesELFSectionDirectiveForBSS = true; + UseIntegratedAssembler = true; } diff --git a/test/CodeGen/MSP430/mult-alt-generic-msp430.ll b/test/CodeGen/MSP430/mult-alt-generic-msp430.ll index 8cf83879b09..f8ae49e197b 100644 --- a/test/CodeGen/MSP430/mult-alt-generic-msp430.ll +++ b/test/CodeGen/MSP430/mult-alt-generic-msp430.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=msp430 +; RUN: llc < %s -march=msp430 -no-integrated-as ; ModuleID = 'mult-alt-generic.c' target datalayout = "e-p:16:16:16-i8:8:8-i16:16:16-i32:16:32-n8:16" target triple = "msp430" -- 2.40.0