blob: 9a098401fa212819e7049012300aca15b1e2ab88 [file] [log] [blame]
; RUN: opt < %s -passes=tailcallelim -verify-dom-info -S | FileCheck %s
; Check that the "kcfi" operand bundle doesn't prevent tail calls.
define i64 @f_1(i64 %x, ptr %f_0) {
; CHECK-LABEL: @f_1(
entry:
; CHECK: tail call i64 %f_0(i64 %x) [ "kcfi"(i32 42) ]
%tmp = call i64 %f_0(i64 %x) [ "kcfi"(i32 42) ]
ret i64 0
}