summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-02-01 12:38:24 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-02-01 12:38:24 +0000
commitee642690ea9052e57cf09a798dda465d0c11db7f (patch)
treef659ad2a1e96228043209e9fe008bf61e3f1a48f /llvm/lib/CodeGen
parent6ab86b1bb6bbffb6fdd6241cb87ac18c33b8453e (diff)
downloadbcm5719-llvm-ee642690ea9052e57cf09a798dda465d0c11db7f.tar.gz
bcm5719-llvm-ee642690ea9052e57cf09a798dda465d0c11db7f.zip
[multiversion] Remove a false freedom to leave the TargetMachine pointer
null. For some reason some of the original TTI code supported a null target machine. This seems to have been legacy, and I made matters worse when refactoring this code by spreading that pattern further through the various targets. The TargetMachine can't actually be null, and it doesn't make sense to support that use case. I've now consistently removed it and removed all of the code trying to cope with that situation. This is probably good, as several targets *didn't* cope with it being null despite the null default argument in their constructors. =] llvm-svn: 227734
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud