summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/R600/R600MachineScheduler.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-07-11 06:41:14 +0000
committerHal Finkel <hfinkel@anl.gov>2013-07-11 06:41:14 +0000
commit6161b9405fba3aa7b39e599d2873fd62e908b1ec (patch)
tree908b24bbff520ad097b8b64b750efd65924355aa /llvm/lib/Target/R600/R600MachineScheduler.cpp
parent743b1940846b242e1cdb50d3fc0c6e8fa8dfbf0a (diff)
downloadbcm5719-llvm-6161b9405fba3aa7b39e599d2873fd62e908b1ec.tar.gz
bcm5719-llvm-6161b9405fba3aa7b39e599d2873fd62e908b1ec.zip
Initialize AsmPrinter::MF in the constructor
MF is normally initialized in AsmPrinter::SetupMachineFunction, but if the file contains only globals (no functions), then we need this to be initialized because, when encountering an error, lowerConstant() references it. This should fix the non-deterministic failures of test/CodeGen/X86/nonconst-static-iv.ll, etc. llvm-svn: 186068
Diffstat (limited to 'llvm/lib/Target/R600/R600MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud