diff options
author | Mircea Trofin <mtrofin@google.com> | 2020-10-09 16:38:42 -0700 |
---|---|---|
committer | Mircea Trofin <mtrofin@google.com> | 2020-10-12 08:32:30 -0700 |
commit | 596a9f6b89d0d3e3f2897132ef1283941bd3607b (patch) | |
tree | d80beb8c25c4975bbb6299d3d12c46c95d908d00 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp | |
parent | c2216d796aab7659771c05303f9d78bad4aeca07 (diff) | |
download | llvm-596a9f6b89d0d3e3f2897132ef1283941bd3607b.zip llvm-596a9f6b89d0d3e3f2897132ef1283941bd3607b.tar.gz llvm-596a9f6b89d0d3e3f2897132ef1283941bd3607b.tar.bz2 |
[NFC][Regalloc] Pass VirtRegMap by reference.
It's never null - the reason it's modeled as a pointer is because the
pass can't init it in its ctor. Passing by ref simplifies the code, too,
as the null checks were unnecessary complexity.
Differential Revision: https://reviews.llvm.org/D89171
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions