mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
InstCombine: APFloat can't perform arithmetic on PPC double doubles, don't even try.
Thanks Eli! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128676 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -49,3 +49,12 @@ define i1 @test6(float %x, float %y) nounwind {
|
||||
; CHECK: @test6
|
||||
; CHECK-NEXT: fcmp ogt float %x, %y
|
||||
}
|
||||
|
||||
define i1 @test7(float %x) nounwind readnone ssp noredzone {
|
||||
%ext = fpext float %x to ppc_fp128
|
||||
%cmp = fcmp ogt ppc_fp128 %ext, 0xM00000000000000000000000000000000
|
||||
ret i1 %cmp
|
||||
; Can't convert ppc_fp128
|
||||
; CHECK: @test7
|
||||
; CHECK-NEXT: fpext float %x to ppc_fp128
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user