[PATCH] D136559: [DAG] Fold (abs (sign_extend_inreg x)) -> (zero_extend (abs (truncate x))) (PR43370)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 24 02:27:16 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGfd5f3abb07aa: [DAG] Fold (abs (sign_extend_inreg x)) -> (zero_extend (abs (truncate x)))… (authored by RKSimon).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136559

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
  llvm/test/CodeGen/X86/abs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136559.470093.patch
Type: text/x-patch
Size: 4162 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221024/55ea9cbe/attachment.bin>


More information about the llvm-commits mailing list