[PATCH] D47927: [TargetLowering] Simplify expansion of S{ADD,SUB}O
Roger Ferrer Ibanez via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 8 23:40:10 PDT 2019
rogfer01 updated this revision to Diff 214310.
rogfer01 retitled this revision from "[WIP][TargetLowering] Simplify expansion of S{ADD,SUB}O" to "[TargetLowering] Simplify expansion of S{ADD,SUB}O".
rogfer01 added a comment.
ChangeLog:
- Combine if-else logic.
- Adjust subtraction comment to `is (non-zero) positive` to avoid ambiguity.
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.214310.patch
Type: text/x-patch
Size: 496354 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190809/49e4dc4f/attachment-0001.bin>
More information about the llvm-commits
mailing list