[PATCH] D47927: [WIP][TargetLowering] Simplify expansion of S{ADD,SUB}O

Roger Ferrer Ibanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 5 07:26:59 PDT 2019


rogfer01 updated this revision to Diff 213359.
rogfer01 added a comment.
Herald added subscribers: nhaehnle, jvesely.

ChangeLog:

- Update AMDGPU test.
- Add RISC-V tests to show that we fold the xor in the branch.


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

https://reviews.llvm.org/D47927

Files:
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/test/CodeGen/AArch64/sadd_sat.ll
  llvm/test/CodeGen/AArch64/sadd_sat_vec.ll
  llvm/test/CodeGen/AArch64/ssub_sat.ll
  llvm/test/CodeGen/AArch64/ssub_sat_vec.ll
  llvm/test/CodeGen/AMDGPU/saddo.ll
  llvm/test/CodeGen/ARM/addsubo-legalization.ll
  llvm/test/CodeGen/RISCV/arith-with-overflow.ll
  llvm/test/CodeGen/X86/combine-mulo.ll
  llvm/test/CodeGen/X86/mulo-pow2.ll
  llvm/test/CodeGen/X86/sadd_sat.ll
  llvm/test/CodeGen/X86/sadd_sat_vec.ll
  llvm/test/CodeGen/X86/ssub_sat.ll
  llvm/test/CodeGen/X86/ssub_sat_vec.ll
  llvm/test/CodeGen/X86/vec_saddo.ll
  llvm/test/CodeGen/X86/vec_ssubo.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47927.213359.patch
Type: text/x-patch
Size: 496297 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190805/ca2caa6e/attachment-0001.bin>


More information about the llvm-commits mailing list