commit | 69edad7913056272bf0157f50dc51eb5596c8fcd | [log] [tgz] |
---|---|---|
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | Mon May 22 16:58:10 2017 +0000 |
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | Mon May 22 16:58:10 2017 +0000 |
tree | 40a252d8195badaba5150465683413a0e3bf1478 | |
parent | b9e0915b58bb80bf0f15ceea672aa71395dc6e64 [diff] |
[AMDGPU] Narrow lshl from 64 to 32 bit if possible Turn expensive 64 bit shift into 32 bit if shift does not overflow int: shl (ext x) => zext (shl x) Differential Revision: https://reviews.llvm.org/D33367 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303569 91177308-0d34-0410-b5e6-96231b3b80d8