diff options
author | Craig Topper <craig.topper@sifive.com> | 2020-11-07 14:20:28 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2020-11-07 14:25:16 -0800 |
commit | b94763d52403dd6f9f603d9f09a012174e0ff7c1 (patch) | |
tree | f826e5c4ce1afff21757c42f1e6ffd05fd1ee229 /llvm/lib/Object/ELFObjectFile.cpp | |
parent | 25ba6b2bcd1e31d16de06eca7d42c331f9d1cf1e (diff) | |
download | llvm-b94763d52403dd6f9f603d9f09a012174e0ff7c1.zip llvm-b94763d52403dd6f9f603d9f09a012174e0ff7c1.tar.gz llvm-b94763d52403dd6f9f603d9f09a012174e0ff7c1.tar.bz2 |
[RISCV] Add test cases showing missed opportunities to use sbset/sbclr/sbinv/sbext when the shift amount isn't masked to log2(xlen) bits. NFC
Out of bounds shifts are undefined and these instructions mask
their shift amount before use. So we don't need to see a mask
in order to select the instructions.
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions