[llvm] [StructurizeCFG] Order IF Else block using Heuristics (PR #139605)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon May 12 12:03:52 PDT 2025


================
@@ -0,0 +1,129 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -S -structurizecfg %s -o - | FileCheck %s
+; RUN: opt -S -passes=structurizecfg %s -o - | FileCheck %s
+
+define amdgpu_kernel void @test_extractelement_1(<4 x i32> %vec, i1 %cond, ptr %ptr) {
----------------
arsenm wrote:

Don't need the CC? Also should have a codegen test that shows the net result 

https://github.com/llvm/llvm-project/pull/139605


More information about the llvm-commits mailing list