HomePhabricator

[LowerSwitch][AMDGPU] Do not handle impossible values

Authored by rtereshin on Feb 22 2019, 6:33 AM.

Description

[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

Details

Committed
rtereshinFeb 22 2019, 6:33 AM
Reviewer
arsenm
Differential Revision
D58096: [LowerSwitch][AMDGPU] Do not handle impossible values
Parents
rG70e97163e080: [DTU] Refine the interface and logic of applyUpdates
Branches
Unknown
Tags
Unknown