[PATCH] D59867: [X86] Teach the isel optimization for (x << C1) op C2 to (x op (C2>>C1)) << C1 to consider cases where C2>>C1 can fit an unsigned 32-bit immediate

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 28 11:05:37 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL357196: [X86] Teach the isel optimization for (x << C1) op C2 to (x op (C2>>C1)) << C1… (authored by ctopper, committed by ).

Repository:
  rL LLVM

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

https://reviews.llvm.org/D59867

Files:
  llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
  llvm/trunk/test/CodeGen/X86/narrow-shl-cst.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59867.192684.patch
Type: text/x-patch
Size: 4570 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190328/5315a9f4/attachment.bin>


More information about the llvm-commits mailing list