[PATCH] D106675: [WIP][X86] Freeze shl(x,1) -> add(x,x) vector fold (PR50468)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 26 06:20:49 PDT 2022


RKSimon updated this revision to Diff 432262.
RKSimon added a comment.
Herald added a subscriber: StephenFan.
Herald added a project: All.

Rebase to see how close we are now - we're still missing a DAG equivalent of pushFreezeToPreventPoisonFromPropagating to stop freeze nodes obscuring some folds.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106675

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/combine-add.ll
  llvm/test/CodeGen/X86/oddsubvector.ll
  llvm/test/CodeGen/X86/rotate_vec.ll
  llvm/test/CodeGen/X86/sdiv_fix_sat.ll
  llvm/test/CodeGen/X86/vector-gep.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106675.432262.patch
Type: text/x-patch
Size: 28686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220526/7ed594c3/attachment.bin>


More information about the llvm-commits mailing list