summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2015-01-13 19:43:45 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2015-01-13 19:43:45 +0000
commit6b577e26f0c41331fea19ea3e7e5f34524f1b663 (patch)
tree970317dce70d7212d61d030083ac81bf81a89898 /llvm/lib
parentc642e954023b38265d2c3df4ec3d9ba169b69048 (diff)
downloadbcm5719-llvm-6b577e26f0c41331fea19ea3e7e5f34524f1b663.tar.gz
bcm5719-llvm-6b577e26f0c41331fea19ea3e7e5f34524f1b663.zip
Use the integrated assembler as default on PowerPC
This was already done in clang, this commit now uses the integrated assembler as default when using LLVM tools directly. A number of test cases using inline asm had to be adapted, either by updating the expected output, or by using -no-integrated-as (for such tests that deliberately use an invalid instruction in inline asm). llvm-svn: 225819
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp b/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
index 1be7b482b6a..2b4f2d81db8 100644
--- a/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
+++ b/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
@@ -74,7 +74,6 @@ PPCELFMCAsmInfo::PPCELFMCAsmInfo(bool is64Bit, const Triple& T) {
AssemblerDialect = 1; // New-Style mnemonics.
LCOMMDirectiveAlignmentType = LCOMM::ByteAlignment;
- if (T.isOSFreeBSD() || ((T.isOSNetBSD() || T.isOSOpenBSD()) && !is64Bit))
- UseIntegratedAssembler = true;
+ UseIntegratedAssembler = true;
}
OpenPOWER on IntegriCloud