[PATCH] D63198: [StructurizeCFG] Enable -structurizecfg-relaxed-uniform-regions by default

Tim Renouf via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 6 07:29:29 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL368042: [StructurizeCFG] Enable -structurizecfg-relaxed-uniform-regions by default (authored by tpr, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D63198?vs=204341&id=213609#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63198/new/

https://reviews.llvm.org/D63198

Files:
  llvm/trunk/lib/Transforms/Scalar/StructurizeCFG.cpp
  llvm/trunk/test/CodeGen/AMDGPU/control-flow-optnone.ll


Index: llvm/trunk/test/CodeGen/AMDGPU/control-flow-optnone.ll
===================================================================
--- llvm/trunk/test/CodeGen/AMDGPU/control-flow-optnone.ll
+++ llvm/trunk/test/CodeGen/AMDGPU/control-flow-optnone.ll
@@ -15,8 +15,8 @@
 ; GCN: s_mov_b64 exec
 
 ; GCN: s_or_b64 exec, exec
-; GCN: v_cmp_eq_u32
-; GCN: s_cbranch_vccnz
+; GCN: s_cmp_eq_u32
+; GCN: s_cbranch_scc1
 ; GCN-NEXT: s_branch
 define amdgpu_kernel void @copytoreg_divergent_brcond(i32 %arg, i32 %arg1, i32 %arg2) #0 {
 bb:
Index: llvm/trunk/lib/Transforms/Scalar/StructurizeCFG.cpp
===================================================================
--- llvm/trunk/lib/Transforms/Scalar/StructurizeCFG.cpp
+++ llvm/trunk/lib/Transforms/Scalar/StructurizeCFG.cpp
@@ -65,7 +65,7 @@
 static cl::opt<bool>
     RelaxedUniformRegions("structurizecfg-relaxed-uniform-regions", cl::Hidden,
                           cl::desc("Allow relaxed uniform region checks"),
-                          cl::init(false));
+                          cl::init(true));
 
 // Definition of the complex types used in this pass.
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63198.213609.patch
Type: text/x-patch
Size: 1111 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190806/a1b19145/attachment.bin>


More information about the llvm-commits mailing list