From ab57a6c8616e9d9093d5f687128ca55314fd5cfb Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 4 Aug 2009 21:12:08 +0000 Subject: [PATCH] remove a random reference to subtarget. Even without this, we still get "intel syntax" instructions from llc with -x86-asm-syntax=intel llvm-svn: 78103 --- lib/Target/X86/X86TargetMachine.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp index 704c7d3a88c..5719a35318c 100644 --- a/lib/Target/X86/X86TargetMachine.cpp +++ b/lib/Target/X86/X86TargetMachine.cpp @@ -29,8 +29,6 @@ extern "C" void LLVMInitializeX86Target() { } const TargetAsmInfo *X86TargetMachine::createTargetAsmInfo() const { - if (Subtarget.isFlavorIntel()) - return new X86WinTargetAsmInfo(*this); switch (Subtarget.TargetType) { default: llvm_unreachable("unknown subtarget type"); case X86Subtarget::isDarwin: