Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [AMDGPU] Fixed hang during DAG combine | Stanislav Mekhanoshin | 2019-02-26 | 1 | -0/+16 |
| | | | | | | | | | | | | | SITargetLowering::reassociateScalarOps() does not touch constants so that DAGCombiner::ReassociateOps() does not revert the combine. However a global address is not a ConstantSDNode. Switched to the method used by DAGCombiner::ReassociateOps() itself to detect constants. Differential Revision: https://reviews.llvm.org/D58695 llvm-svn: 354926 | ||||
* | [AMDGPU] Ressociate 'add (add x, y), z' to use SALU | Stanislav Mekhanoshin | 2019-02-14 | 1 | -0/+113 |
Reassociate adds to collect scalar operands in a single instruction when possible. That will result in a scalar add followed by vector instead of two vector adds, thus better utilizing SALU. Differential Revision: https://reviews.llvm.org/D58220 llvm-svn: 354066 |