[RISCV] Add a test case for another issue in SelectRORIW. NFC
authorCraig Topper <craig.topper@sifive.com>
Mon, 2 Nov 2020 06:12:20 +0000 (22:12 -0800)
committerCraig Topper <craig.topper@sifive.com>
Mon, 2 Nov 2020 06:36:14 +0000 (22:36 -0800)
commitdb2d4417fab40d15624ccb116efd2669c776b977
treeeb33fcabf9be9ba9af4aa62677bbf5bad1e241b5
parent2762e6734fae97b3dabf617e5ec7f053f79e4e32
[RISCV] Add a test case for another issue in SelectRORIW. NFC

When validating C3 in (sext_inreg (or (shl X, C2), (shr (and Y, C3), C1)), i32)
we are truncating it to 32 bits before checking its value. We need
to check all 64 bits.
llvm/test/CodeGen/RISCV/rv64Zbbp.ll