mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
Apply Duncan's test fix from r139986 to the avx version of that test too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139992 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6bcd2196e5
commit
5778fef314
@ -94,11 +94,11 @@ define <2 x double> @A(<2 x double> %x, <2 x double> %y) {
|
||||
|
||||
; CHECK: B
|
||||
define <2 x double> @B(<2 x double> %x, <2 x double> %y) {
|
||||
; CHECK: vcmpltpd
|
||||
; CHECK: vcmpnlepd
|
||||
; CHECK: vblendvpd
|
||||
%max_is_x = fcmp ogt <2 x double> %x, %y
|
||||
%max = select <2 x i1> %max_is_x, <2 x double> %x, <2 x double> %y
|
||||
ret <2 x double> %max
|
||||
%min_is_x = fcmp ult <2 x double> %x, %y
|
||||
%min = select <2 x i1> %min_is_x, <2 x double> %x, <2 x double> %y
|
||||
ret <2 x double> %min
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user