[PATCH] D11678: [CodeGen] Fixes *absdiff* intrinsic: LangRef doc/test case improvement and corresponding code change
Shahid
Asghar-ahmad.Shahid at amd.com
Fri Jul 31 05:19:11 PDT 2015
ashahid created this revision.
ashahid added reviewers: mzolotukhin, jmolloy, hfinkel.
ashahid added a subscriber: llvm-commits.
ashahid set the repository for this revision to rL LLVM.
This patch fixes the condition code for 'compare' llvm IR in the expansion of *absdiff* intrinsic.
LangRef doc is updated to reflect this change.
Test case is divided into two, based on the data width(128/256 bit). Also updated the tests to make it non-fragile.
Repository:
rL LLVM
http://reviews.llvm.org/D11678
Files:
docs/LangRef.rst
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
test/CodeGen/X86/absdiff_128.ll
test/CodeGen/X86/absdiff_256.ll
test/CodeGen/X86/absdiff_expand.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11678.31118.patch
Type: text/x-patch
Size: 21462 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150731/4fd3ebb4/attachment.bin>
More information about the llvm-commits
mailing list