[llvm] Bail out jump threading on indirect branches (PR #103688)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 14 00:20:21 PDT 2024
================
@@ -0,0 +1,82 @@
+; RUN: opt < %s -passes=simplifycfg -S | FileCheck %s
+
+; CHECK: switch i32 %state.0, label %sw.epilog
+; CHECK-NEXT: i32 0, label %sw.bb
+; CHECK-NEXT: i32 1, label %VM__OP_1
+; CHECK-NEXT: i32 2, label %sw.bb4
+
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
----------------
dtcxzyw wrote:
Please remove unnecessary attributes/metadata.
https://github.com/llvm/llvm-project/pull/103688
More information about the llvm-commits
mailing list