[llvm-commits] [llvm] r78103 - /llvm/trunk/lib/Target/X86/X86TargetMachine.cpp
Chris Lattner
sabre at nondot.org
Tue Aug 4 14:13:16 PDT 2009
Author: lattner
Date: Tue Aug 4 16:12:08 2009
New Revision: 78103
URL: http://llvm.org/viewvc/llvm-project?rev=78103&view=rev
Log:
remove a random reference to subtarget. Even without this, we
still get "intel syntax" instructions from llc with
-x86-asm-syntax=intel
Modified:
llvm/trunk/lib/Target/X86/X86TargetMachine.cpp
Modified: llvm/trunk/lib/Target/X86/X86TargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86TargetMachine.cpp?rev=78103&r1=78102&r2=78103&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86TargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86TargetMachine.cpp Tue Aug 4 16:12:08 2009
@@ -29,8 +29,6 @@
}
const TargetAsmInfo *X86TargetMachine::createTargetAsmInfo() const {
- if (Subtarget.isFlavorIntel())
- return new X86WinTargetAsmInfo(*this);
switch (Subtarget.TargetType) {
default: llvm_unreachable("unknown subtarget type");
case X86Subtarget::isDarwin:
More information about the llvm-commits
mailing list