[llvm] [SCCP] Add testcase with indirect gotos (PR #102347)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 7 23:55:44 PDT 2024
================
@@ -0,0 +1,83 @@
+; RUN: opt -S -passes=ipsccp < %s | FileCheck %s
+; CHECK: switch i32 %state.0, label [[DEFAULT_UNREACHABLE:%.*]] [
+; CHECK: default.unreachable:
+; CHECK-NEXT: unreachable
+
+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:
Can you reduce this test further?
https://github.com/llvm/llvm-project/pull/102347
More information about the llvm-commits
mailing list