diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-01-16 21:18:52 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-01-16 21:20:53 -0800 |
commit | 061f681c0dfa4d279dc656802bf81f3b9bfa3d34 (patch) | |
tree | 93675e4b5366fc0fdca305737138ed23d68524cc /llvm/lib/Object/COFFObjectFile.cpp | |
parent | 1327c730bb9a0bff963af3745869cf244ae37241 (diff) | |
download | llvm-061f681c0dfa4d279dc656802bf81f3b9bfa3d34.zip llvm-061f681c0dfa4d279dc656802bf81f3b9bfa3d34.tar.gz llvm-061f681c0dfa4d279dc656802bf81f3b9bfa3d34.tar.bz2 |
[RISCV] Remove an extra map lookup from RISCVCompressInstEmitter. NFC
When we looked up the map to see if the entry already existed,
this created the new entry for us. So save a reference to it so
we can use it to update the entry instead of looking it up again.
Also remove unnecessary StringRef constructors around string
literals on calls to this function.
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions