[PATCH] D101944: [X86][Codegen] Shift amount mod: sh? i64 x, (32-y) --> sh? i64 x, -(y+32)

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 11 08:36:37 PDT 2021


lebedev.ri updated this revision to Diff 344416.
lebedev.ri added a comment.

Adding testcase from @spatel.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101944

Files:
  llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
  llvm/test/CodeGen/X86/64-bit-shift-by-32-minus-y.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101944.344416.patch
Type: text/x-patch
Size: 5188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210511/74d10a20/attachment.bin>


More information about the llvm-commits mailing list