]> granicus.if.org Git - llvm/commitdiff
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353192 91177308-0d34-0410-b5e6-96231b3b80d8

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

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