mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-13 14:46:53 +00:00
7f26e26d0c
We would fail to validate the type of the tan function which would cause downstream users of isValidProtoForLibFunc to assert. This fixes PR28143. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272802 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
220 B
LLVM
13 lines
220 B
LLVM
; RUN: opt -S -instcombine < %s | FileCheck %s
|
|
|
|
define void @test1() {
|
|
entry:
|
|
call void @tan()
|
|
ret void
|
|
}
|
|
; CHECK-LABEL: define void @test1(
|
|
; CHECK: call void @tan()
|
|
; CHECK-NEXT: ret void
|
|
|
|
declare void @tan()
|