[RISCV] Remove unnecessary APInt copy. NFC
authorCraig Topper <craig.topper@sifive.com>
Wed, 20 Jan 2021 18:32:03 +0000 (10:32 -0800)
committerCraig Topper <craig.topper@sifive.com>
Wed, 20 Jan 2021 18:33:09 +0000 (10:33 -0800)
commit9d792fef577843b213aa11954820512942dc31c7
tree30abac372e8425f136fe535d2b2c6360ea450e59
parentb8b5e87e6b8102d77e4e6beccf4e0f0237acc897
[RISCV] Remove unnecessary APInt copy. NFC

getAPIntValue returns a const APInt& so keep it as a reference.
llvm/lib/Target/RISCV/RISCVISelLowering.cpp