From: Anton Korobeynikov Date: Tue, 5 Feb 2019 18:01:45 +0000 (+0000) Subject: Enable integrated assembler on MSP430 by default. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b26134bf9213d50a506b33803a3410b812f9470a;p=platform%2Fupstream%2Fllvm.git Enable integrated assembler on MSP430 by default. Patch by Kristina Bessonova! Differential Revision: https://reviews.llvm.org/D56787 llvm-svn: 353192 --- diff --git a/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp b/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp index 796eb12..db5a49d 100644 --- a/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp +++ b/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp @@ -23,4 +23,5 @@ MSP430MCAsmInfo::MSP430MCAsmInfo(const Triple &TT) { AlignmentIsInBytes = false; UsesELFSectionDirectiveForBSS = true; + UseIntegratedAssembler = true; } diff --git a/llvm/test/CodeGen/MSP430/mult-alt-generic-msp430.ll b/llvm/test/CodeGen/MSP430/mult-alt-generic-msp430.ll index 8cf8387..f8ae49e 100644 --- a/llvm/test/CodeGen/MSP430/mult-alt-generic-msp430.ll +++ b/llvm/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"