mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-24 08:33:39 +00:00
12 lines
273 B
LLVM
12 lines
273 B
LLVM
|
; RUN: opt -S -instcombine < %s | FileCheck %s
|
||
|
|
||
|
define i1 @test1(float %x, float %y) nounwind {
|
||
|
%ext1 = fpext float %x to double
|
||
|
%ext2 = fpext float %y to double
|
||
|
%cmp = fcmp ogt double %ext1, %ext2
|
||
|
ret i1 %cmp
|
||
|
; CHECK: @test1
|
||
|
; CHECK-NEXT: fcmp ogt float %x, %y
|
||
|
}
|
||
|
|