diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2015-08-12 18:01:44 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2015-08-12 18:01:44 +0000 |
commit | dbe40fb45e65a9120899755a5cc5387c065d909c (patch) | |
tree | e46b4d4244a8d8e99996944d5d9d237f1e7127b0 /llvm/lib/CodeGen/MachineFunctionPass.cpp | |
parent | 71d29acecd245fb62d7f1f5900505c94df09618a (diff) | |
download | llvm-dbe40fb45e65a9120899755a5cc5387c065d909c.zip llvm-dbe40fb45e65a9120899755a5cc5387c065d909c.tar.gz llvm-dbe40fb45e65a9120899755a5cc5387c065d909c.tar.bz2 |
[PM/AA] Stop getting the TargetLibraryInfo out of the AliasAnalysis and
just depend on it directly.
This was particularly frustrating because there was a really wide
mixture of using a member variable and re-extracting it from the AA that
happened to be around. I think the result is much more clear.
I've also deleted all of the pointless null checks and used references
across the APIs where I could to make it explicit that this cannot be
null in a useful fashion.
llvm-svn: 244780
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPass.cpp')
0 files changed, 0 insertions, 0 deletions