[PATCH] D30106: AMDGPU: Fold icmp/fcmp into icmp intrinsic

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 17 11:08:34 PST 2017


arsenm created this revision.
Herald added subscribers: tpr, tony-tye, yaxunl, wdng, kzhuravl.

The typical use is a library vote function which
compares to 0. Fold the user condition into the intrinsic.


https://reviews.llvm.org/D30106

Files:
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  test/Transforms/InstCombine/amdgcn-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30106.88927.patch
Type: text/x-patch
Size: 16240 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170217/cbd7bfc2/attachment.bin>


More information about the llvm-commits mailing list