aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2020-11-06 10:29:22 -0800
committerCraig Topper <craig.topper@sifive.com>2020-11-06 10:58:59 -0800
commit16dccf716a721ac757805104263e89a12898642e (patch)
treee00efae45a2638a98a4de89a1429bf6cf676e55e /llvm/lib/Transforms/Utils/LoopUtils.cpp
parenta585228027a0f025011d77916234cfba12e44309 (diff)
downloadllvm-16dccf716a721ac757805104263e89a12898642e.zip
llvm-16dccf716a721ac757805104263e89a12898642e.tar.gz
llvm-16dccf716a721ac757805104263e89a12898642e.tar.bz2
[RISCV] Add test case to show incorrect matching to sroiw when the or mask does not have 1s in the upper 32 bits.
The matching code for sroiw is truncating the mask to 32 bits before checking its value. We need to check all 64 bits.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions