Enable integrated assembler on MSP430 by default.
authorAnton Korobeynikov <anton@korobeynikov.info>
Tue, 5 Feb 2019 18:01:45 +0000 (18:01 +0000)
committerAnton Korobeynikov <anton@korobeynikov.info>
Tue, 5 Feb 2019 18:01:45 +0000 (18:01 +0000)
Patch by Kristina Bessonova!

Differential Revision: https://reviews.llvm.org/D56787

llvm-svn: 353192

llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp
llvm/test/CodeGen/MSP430/mult-alt-generic-msp430.ll

index 796eb12..db5a49d 100644 (file)
@@ -23,4 +23,5 @@ MSP430MCAsmInfo::MSP430MCAsmInfo(const Triple &TT) {
 
   AlignmentIsInBytes = false;
   UsesELFSectionDirectiveForBSS = true;
+  UseIntegratedAssembler = true;
 }
index 8cf8387..f8ae49e 100644 (file)
@@ -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"