OSDN Git Service

Codegen: Fix llvm.*absdiff semantic.
authorMohammad Shahid <Asghar-ahmad.Shahid@amd.com>
Thu, 24 Sep 2015 10:35:03 +0000 (10:35 +0000)
committerMohammad Shahid <Asghar-ahmad.Shahid@amd.com>
Thu, 24 Sep 2015 10:35:03 +0000 (10:35 +0000)
commitf586decae108e6ea1c5de3d68785226baca31d47
tree06413f857715bd0aef094ae5a22fb09f1e9acb22
parent424da5488131bab44c887a2d8a5680e1ad689de4
Codegen: Fix llvm.*absdiff semantic.

Fixes the overflow case of llvm.*absdiff intrinsic also updats the tests and LangRef.rst accordingly.

Differential Revision: http://reviews.llvm.org/D11678

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248483 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LangRef.rst
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
test/CodeGen/X86/absdiff_128.ll [new file with mode: 0644]
test/CodeGen/X86/absdiff_256.ll [new file with mode: 0644]