mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
a62270de2c
The reversion apparently deleted the test/Transforms directory. Will be re-reverting again. llvm-svn: 358552
18 lines
432 B
LLVM
18 lines
432 B
LLVM
; RUN: opt < %s -instcombine -S | FileCheck %s
|
|
|
|
define float @mytan(float %x) {
|
|
entry:
|
|
%call = call float @atanf(float %x)
|
|
%call1 = call float @tanf(float %call)
|
|
ret float %call1
|
|
}
|
|
|
|
; CHECK-LABEL: define float @mytan(
|
|
; CHECK: %call = call float @atanf(float %x)
|
|
; CHECK-NEXT: %call1 = call float @tanf(float %call)
|
|
; CHECK-NEXT: ret float %call1
|
|
; CHECK-NEXT: }
|
|
|
|
declare float @tanf(float)
|
|
declare float @atanf(float)
|