[PATCH] D34374: [AMDGPU] Combine add and adde, sub and sube

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 19 17:14:05 PDT 2017


rampitec created this revision.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl.

If one of the arguments of adde/sube is zero we can fold another add/sub into it.


Repository:
  rL LLVM

https://reviews.llvm.org/D34374

Files:
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIISelLowering.h
  test/CodeGen/AMDGPU/combine-cond-add-sub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34374.103126.patch
Type: text/x-patch
Size: 7951 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170620/e657ba79/attachment.bin>


More information about the llvm-commits mailing list