Finally eliminate printMCInst and send instructions through
authorChris Lattner <sabre@nondot.org>
Wed, 3 Feb 2010 01:13:25 +0000 (01:13 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 3 Feb 2010 01:13:25 +0000 (01:13 +0000)
commitc760be99db45492f06a0daf3d6942b0c55817aee
tree5ff3e3dce195f7bc4b3bdef524a2ef27f298b3c4
parentd1ff72b8a797304f146e4293db8c814231ea8cb3
Finally eliminate printMCInst and send instructions through
the streamer.  Demo:

$ cat t.ll
define i32 @test() nounwind {
  ret i32 42
}
$ llc t.ll -o -
...
_test:
movl $42, %eax
ret
$ llc t.ll -o t.o -filetype=obj
$ otool -tv t.o
t.o:
(__TEXT,__text) section
_test:
00000000 movl $0x0000002a,%eax
00000005 ret

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95179 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp
lib/Target/X86/AsmPrinter/X86AsmPrinter.h
lib/Target/X86/AsmPrinter/X86MCInstLower.cpp