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)
commitf6456a560c2d483608372890ac125d79ba7572e2
tree0466baf374cb58111aca9b3239824544a8b25cc8
parent55d7decf270e1c2c0d3357096450a9505cb050e5
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229916 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp