summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-02-18 01:01:57 +0000
committerEric Christopher <echristo@gmail.com>2015-02-18 01:01:57 +0000
commit8af49b32143f63ed6e9ed34927876bd5418fe7ee (patch)
treeb5f68e972c4b0aae921b677359feca7e4b96325d /clang/lib/CodeGen/CodeGenFunction.cpp
parentbbe6ff50f365da1dfb2164384fecde5e00282a7b (diff)
downloadbcm5719-llvm-8af49b32143f63ed6e9ed34927876bd5418fe7ee.tar.gz
bcm5719-llvm-8af49b32143f63ed6e9ed34927876bd5418fe7ee.zip
Make the Mips AsmPrinter independent of global subtarget
initialization. Initialize the subtarget once per function and migrate EmitStartOfAsmFile to either use calls on the TargetMachine or get information from the subtarget we'd use for assembling. The top-level-ness of the MIPS attribute output for assembly is, by nature, contrary to how we'd want to do this for an LTO situation where we have multiple cpu architectures so this solution is good enough for now. llvm-svn: 229596
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud