[PATCH] D131189: [DAGCombine] Hoist shifts out of a logic operations tree.

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 8 06:10:06 PDT 2022


spatel added inline comments.


================
Comment at: llvm/test/CodeGen/X86/shift-combine.ll:510
+
+define i32 @or_tree_with_shifts_i32(i32 %a, i32 %b, i32 %c, i32 %d) {
+; X32-LABEL: or_tree_with_shifts_i32:
----------------
fzhinkin wrote:
> I'll precommit new tests if there will be no objections to add the new transformation.
Yes - please go ahead with adding the tests.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131189



More information about the llvm-commits mailing list