[PATCH] D134684: [LegalizeTypes][AMDGPU][Mips][RISCV][X86] Mask shift amounts in ExpandShiftWithUnknownAmountBit.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 26 17:13:03 PDT 2022


craig.topper updated this revision to Diff 463055.
craig.topper added a comment.

Fix shift amount. This reduces the number of tests changed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134684/new/

https://reviews.llvm.org/D134684

Files:
  llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
  llvm/test/CodeGen/Mips/llvm-ir/ashr.ll
  llvm/test/CodeGen/Mips/llvm-ir/lshr.ll
  llvm/test/CodeGen/Mips/llvm-ir/shl.ll
  llvm/test/CodeGen/RISCV/shifts.ll
  llvm/test/CodeGen/SystemZ/shift-12.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134684.463055.patch
Type: text/x-patch
Size: 112225 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220927/2b79cc4b/attachment.bin>


More information about the llvm-commits mailing list