commit | 559cd481444795822c9792dc98faf17d5a5e7068 | [log] [tgz] |
---|---|---|
author | Dmitry Preobrazhensky <dmitry.preobrazhensky@amd.com> | Wed Apr 26 17:55:50 2017 |
committer | Dmitry Preobrazhensky <dmitry.preobrazhensky@amd.com> | Wed Apr 26 17:55:50 2017 |
tree | daf805c4594b43190723d9c719f58eae6c835521 | |
parent | 052412f4f5d512f4f7db833f6afbf83fe453c087 [diff] |
[AMDGPU][MC] Added arg checks for vmcnt, expcnt, lgkmcnt helpers Summary of changes: - corrected vmcnt, expcnt, lgkmcnt helpers to checks their argument for truncation; - added saturated versions of these helpers. See bug 32711 for details: https://bugs.llvm.org//show_bug.cgi?id=32711 Reviewers: artem.tamazov, vpykhtin Differential Revision: https://reviews.llvm.org/D32546 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301439 91177308-0d34-0410-b5e6-96231b3b80d8