diff options
author | Craig Topper <craig.topper@sifive.com> | 2022-03-28 19:31:20 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2022-03-28 20:53:54 -0700 |
commit | 45e85feba6e49a4d3257b78f1a50f94b3c79a492 (patch) | |
tree | 1c2621e1f368bece53d17f99982c22e343e30427 /llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp | |
parent | b316126887d0e41a9e22717419d43af9d81b764c (diff) | |
download | llvm-45e85feba6e49a4d3257b78f1a50f94b3c79a492.zip llvm-45e85feba6e49a4d3257b78f1a50f94b3c79a492.tar.gz llvm-45e85feba6e49a4d3257b78f1a50f94b3c79a492.tar.bz2 |
[RISCV] Pull APInt/computeKnonwbits specifics out of computeGREVOrGORC. NFC
This function now takes a uint64_t instead of an APInt. The caller
is responsible for masking the shift amount, extracting and inserting
into the KnownBits APInts, and inverting to compute zeros.
This is less code and cleaner division of responsibilities.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp')
0 files changed, 0 insertions, 0 deletions