[PATCH] D90961: [RISCV] When matching SROIW, check all 64 bits of the OR mask
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 6 12:11:51 PST 2020
craig.topper updated this revision to Diff 303520.
craig.topper edited the summary of this revision.
craig.topper added a comment.
Update SelectSLOIW in the same way. Check all bits of the mask and check the shift amount is less than 32. I haven't been able to produce any incorrect tests for sloiw though.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90961/new/
https://reviews.llvm.org/D90961
Files:
llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
llvm/test/CodeGen/RISCV/rv64Zbb.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90961.303520.patch
Type: text/x-patch
Size: 5282 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201106/3cec135c/attachment.bin>
More information about the llvm-commits
mailing list