commit | 99a6672bba806a2cb8dde1635d529b484345a49e | [log] [tgz] |
---|---|---|
author | Roman Tereshin <rtereshin@apple.com> | Fri Feb 22 14:33:46 2019 +0000 |
committer | Roman Tereshin <rtereshin@apple.com> | Fri Feb 22 14:33:46 2019 +0000 |
tree | f14a5079b90c4db909715f77b0511abf841ac99f | |
parent | 70e97163e0809d74955bfa157d1c1eaefbd92ea2 [diff] |
[LowerSwitch][AMDGPU] Do not handle impossible values This patch adds LazyValueInfo to LowerSwitch to compute the range of the value being switched over and reduce the size of the tree LowerSwitch builds to lower a switch. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D58096 llvm-svn: 354670