bolt/deps/llvm-18.1.8/llvm/test/Transforms/JumpThreading/2012-07-19-NoSuccessorIndirectBr.ll
2025-02-14 19:21:04 +01:00

13 lines
335 B
LLVM

; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt -S -passes=jump-threading < %s | FileCheck %s
; PR 13405
; Just check that it doesn't crash / assert
define i32 @f() nounwind {
; CHECK-LABEL: @f(
; CHECK-NEXT: entry:
; CHECK-NEXT: indirectbr ptr undef, []
;
entry:
indirectbr ptr undef, []
}