xref: /aosp_15_r20/external/llvm/test/Transforms/InstCombine/pr28143.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: opt -S -instcombine < %s | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Workerdefine void @test1() {
4*9880d681SAndroid Build Coastguard Workerentry:
5*9880d681SAndroid Build Coastguard Worker  call void @tan()
6*9880d681SAndroid Build Coastguard Worker  ret void
7*9880d681SAndroid Build Coastguard Worker}
8*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: define void @test1(
9*9880d681SAndroid Build Coastguard Worker; CHECK:      call void @tan()
10*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: ret void
11*9880d681SAndroid Build Coastguard Worker
12*9880d681SAndroid Build Coastguard Workerdeclare void @tan()
13