14 lines
335 B
LLVM
14 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, []
|
||
|
}
|