diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-06-30 14:51:21 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-06-30 14:51:21 +0000 |
commit | 7c6eab5777438c1ed75a2ce61dcfb9ec2edcd661 (patch) | |
tree | c274800ad6a3ee8375e89378b257f72ba3930076 /llvm/lib/Transforms/Scalar/LoopInterchange.cpp | |
parent | bda4cb6091413373113b9718044ffefe1fde7553 (diff) | |
download | bcm5719-llvm-7c6eab5777438c1ed75a2ce61dcfb9ec2edcd661.tar.gz bcm5719-llvm-7c6eab5777438c1ed75a2ce61dcfb9ec2edcd661.zip |
[InstCombine] shrink switch conditions better (PR24766)
https://llvm.org/bugs/show_bug.cgi?id=24766#c2
This removes a hack that was added for the benefit of x86 codegen.
It prevented shrinking the switch condition even to smaller legal (DataLayout) types.
We have a safety mechanism in CGP after:
http://reviews.llvm.org/rL251857
...so we're free to use the optimal (smallest) IR type now.
Differential Revision: http://reviews.llvm.org/D12965
llvm-svn: 274233
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopInterchange.cpp')
0 files changed, 0 insertions, 0 deletions