]> granicus.if.org Git - llvm/commit
Add tests to document current InstCombine behavior for clamp pattern.
authorNikolai Bozhenov <nikolai.bozhenov@intel.com>
Wed, 28 Jun 2017 09:22:58 +0000 (09:22 +0000)
committerNikolai Bozhenov <nikolai.bozhenov@intel.com>
Wed, 28 Jun 2017 09:22:58 +0000 (09:22 +0000)
commitcd701a9011045f477f73024cdeb299e6fb2b2f3c
tree95578c92a1703b6a565ff7e735fa77481b777f96
parent39b79bcf8997df7563064e69f88e875743b558db
Add tests to document current InstCombine behavior for clamp pattern.

Summary:
This commit adds the tests for clamp pattern as a prerequisite of
D33186 to make the impact of that fix more clear and also to document
current behavior.

Reviewers: spatel, jmolloy

Reviewed By: spatel

Subscribers: n.bozhenov, llvm-commits

Patch by Andrei Elovikov <andrei.elovikov@intel.com>

Differential Revision: https://reviews.llvm.org/D34350

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306524 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/InstCombine/clamp-to-minmax.ll [new file with mode: 0644]