Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [StructurizeCFG] Enable -structurizecfg-relaxed-uniform-regions by default | Tim Renouf | 2019-08-06 | 1 | -2/+2 |
| | | | | | | | | | | | D62198 introduced an option to relax the checks for hasOnlyUniformBranches. This commit turns the option on by default, for better code generation in some cases in AMDGPU. Differential Revision: https://reviews.llvm.org/D63198 Change-Id: I9cbff002a1e74d3b7eb96b4192dc8129936d537d llvm-svn: 368042 | ||||
* | Revert "StructurizeCFG: Test for branch divergence correctly" | Adam Nemet | 2018-02-24 | 1 | -2/+2 |
| | | | | | | | | This reverts commit r325881. Breaks many bots llvm-svn: 326037 | ||||
* | StructurizeCFG: Test for branch divergence correctly | Nicolai Haehnle | 2018-02-23 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | Summary: This fixes cases like the new test @nonuniform. In that test, %cc itself is a uniform value; however, when reading it after the end of the loop in basic block %if, its value is effectively non-uniform. This problem was encountered in https://bugs.freedesktop.org/show_bug.cgi?id=103743; however, this change in itself is not sufficient to fix that bug, as there is another issue in the AMDGPU backend. Change-Id: I32bbffece4a32f686fab54964dae1a5dd72949d4 Reviewers: arsenm, rampitec, jlebar Subscribers: wdng, tpr, llvm-commits Differential Revision: https://reviews.llvm.org/D40546 llvm-svn: 325881 | ||||
* | AMDGPU: Fix missing skipFunction calls | Matt Arsenault | 2017-10-10 | 1 | -1/+1 |
| | | | | llvm-svn: 315361 | ||||
* | AMDGPU: Fix failure to select branch with optnone | Matt Arsenault | 2017-10-10 | 1 | -0/+54 |
opt-bisect/optnone disable the AMDGPUUniformAnnotateValues pass. The heuristic in the custom selector for brcond deferred the branch uniformity check to the pattern, which would fail. llvm-svn: 315360 |