Remove a call to TargetMachine::getSubtarget from the inline
authorEric Christopher <echristo@gmail.com>
Thu, 19 Feb 2015 21:24:23 +0000 (21:24 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 19 Feb 2015 21:24:23 +0000 (21:24 +0000)
commit457864178fa4fc6b8a1f7bb1099cfd98751823bd
treeb23c0a494a5152441bffb34f9643cd695b3de20b
parent4343922ddef51199854243d3beded0443fcd3a3e
Remove a call to TargetMachine::getSubtarget from the inline
asm support in the asm printer. If we can get a subtarget from
the machine function then we should do so, otherwise we can
go ahead and create a default one since we're at the module
level.

llvm-svn: 229916
llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp