[PATCH] D130839: [DAG] FoldConstantArithmetic - add initial support for undef elements in bitcasted binop constant folding

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 1 04:21:20 PDT 2022


RKSimon updated this revision to Diff 448988.
RKSimon added a comment.

Pull out FoldValueWithUndef lambda to match FoldValue helper


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130839

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/test/CodeGen/ARM/srem-seteq-illegal-types.ll
  llvm/test/CodeGen/RISCV/srem-seteq-illegal-types.ll
  llvm/test/CodeGen/Thumb2/srem-seteq-illegal-types.ll
  llvm/test/CodeGen/X86/fshl-splat-undef.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130839.448988.patch
Type: text/x-patch
Size: 6235 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220801/b98e0bd0/attachment.bin>


More information about the llvm-commits mailing list