1 ; RUN: llc -mtriple=x86_64-linux < %s | FileCheck %s
3 ; Intrinsic call to @llvm.assume should not prevent tail call optimization.
5 ; CHECK: jmp bar # TAILCALL
7 %1 = tail call ptr @bar()
8 %2 = icmp ne ptr %1, null
9 tail call void @llvm.assume(i1 %2)
13 declare dso_local ptr @bar()
14 declare void @llvm.assume(i1)